Abstract
Inflammatory bowel disease is a chronic disease of unknown cause that can affect the entire gastrointestinal tract, from the mouth to the anus. It is important for patients with this pathology that a good diagnosis is made as early as possible, so that the inflammation present in the mucosa intestinal is controlled and the most severe symptoms are reduced, thus offering the quality of life to people. Therefore, through this comparative study, we seek to find a way of automating the diagnosis of these patients during the endoscopic examination, reducing the subjectivity that is subject to the observation of a gastroenterologist, using six CNNs: AlexNet, ResNet50, VGG16, ResNet50-MobileNetV2 and Hybrid model. Also, five ViTs were used in this study: ViT-B/32, ViT-S/32, ViT-B/16, ViT-S/16 and R26+S/32. This comparison also consists in applying knowledge distillation to build simpler models, with fewer parameters, based on the learning of the pre-trained architectures on large volumes of data. It is concluded that in the ViTs framework, it is possible to reduce 25x the number of parameters by maintaining good performance and reducing the inference time by 5.32 s. For CNNs the results show that it is possible to reduce 107x the number of parameters, reducing consequently the inference time in 3.84 s.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Amorim, J.P., Domingues, I., Abreu, P.H., Santos, J.A.: Interpreting deep learning models for ordinal problems. In: European Symposium on Artificial Neural Networks (ESANN), pp. 373–378 (2018)
Borgli, H., Riegler, M., Thambawita, V., Jha, D., Hicks, S., Halvorsen, P.: The HyperKvasir Dataset. OSF (2019)
Borgli, H., et al.: HyperKvasir, a comprehensive multi-class image and video dataset for gastrointestinal endoscopy. Sci. Data 7, 283 (2020)
Cardoso, J.S., Sousa, R., Domingues, I.: Ordinal data classification using kernel discriminant analysis: A comparison of three approaches. In: 11th International Conference on Machine Learning and Applications, vol. 1, pp. 473–477 (2012)
Chicco, D., Jurman, G.: The advantages of the Matthews correlation coefficient (MCC) over F1 score and accuracy in binary classification evaluation. BMC Genom. 21, 6 (2020)
Chierici, M., et al.: Automatically detecting Crohn’s disease and Ulcerative Colitis from endoscopic imaging. BMC Med. Inform. Decis. Mak. 22, 300 (2022)
CrohnIPI. https://crohnipi.ls2n.fr/en/crohn-ipi-project/ (Accessed 21 Feb 2023)
Doença inflamatória do intestino | CUF. https://www.cuf.pt/saude-a-z/doenca-inflamatoria-do-intestino (Accessed 2 Nov 2022)
Das, D., Massa, H., Kulkarni, A., Rekatsinas, T.: An Empirical Analysis of the Impact of Data Augmentation on Knowledge Distillation (2020), arXiv Version: 2
Dosovitskiy, A., et al.: An image is worth 16x16 Words: transformers for image recognition at scale. In: International Conference on Learning Representations (2020)
Flynn, S., Eisenstein, S.: Inflammatory bowel disease presentation and diagnosis. Surg. Clin. North Am. 99(6), 1051–1062 (2019)
Galdran, A., Carneiro, G., Ballester, M.A.G.: Convolutional Nets Versus Vision Transformers for Diabetic Foot Ulcer Classification. Diabetic Foot Ulcers Grand Challenge (2022)
Gamage, C., Wijesinghe, I., Chitraranjan, C., Perera, I.: GI-Net: anomalies classification in gastrointestinal tract through endoscopic imagery with deep learning. In: Moratuwa Engineering Research Conference (MERCon), pp. 66–71. IEEE, Moratuwa, Sri Lanka (Jul 2019)
Gou, J., Yu, B., Maybank, S.J., Tao, D.: Knowledge distillation: a survey. Int. J. Comput. Vision 129(6), 1789–1819 (2021)
H. Kassani, S., Hosseinzadeh Kassani, P., Wesolowski, M., Schneider, K., Deters, R.: Classification of histopathological biopsy images using ensemble of deep learning networks. arXiv preprint (2019)
Khan, M.N., Hasan, M.A., Anwar, S.: Improving the robustness of object detection through a multi-camera-based fusion algorithm using fuzzy logic. Front. Artifi. Intell. 4, 638951 (2021)
Li, W., Shao, S., Liu, W., Qiu, Z., Zhu, Z., Huan, W.: What role does data augmentation play in knowledge distillation? In: Computer Vision - ACCV 2022, LNCS. vol. 13842, pp. 507–525. Springer Nature Switzerland (2023). https://doi.org/10.1007/978-3-031-26284-5_31
Maissin, A., et al.: Multi-expert annotation of Crohn’s disease images of the small bowel for automatic detection using a convolutional recurrent attention neural network. Endoscopy Int Open 09, E1136–E1144 (2021)
Marques, F., Duarte, H., Santos, J.A., Domingues, I., Amorim, J.P., Abreu, P.H.: An iterative oversampling approach for ordinal classification. In: 34th ACM/SIGAPP Symposium on Applied Computing, pp. 771–774 (2019)
Maurício, J., Domingues, I.: Deep Neural Networks to distinguish between Crohn’s disease and Ulcerative colitis. In: 11th Iberian Conference on Pattern Recognition and Image Analysis (IbPRIA) (2023)
Maurício, J., Domingues, I.: Interpretability of deep neural networks to diagnose inflammatory bowel disease. In: 29th Edition of the Portuguese Conference on Pattern Recognition (2023) (to appear)
Maurício, J., Domingues, I., Bernardino, J.: Comparing vision transformers and convolutional neural networks for image classification: a literature review. Appli. Sci. 13(9) (2023)
Polat, G., Kani, H.T., Ergenc, I., Alahdab, Y.O., Temizel, A., Atug, O.: Labeled Images for Ulcerative Colitis (LIMUC) Dataset (2022)
Sairenji, T., Collins, K.L., Evans, D.V.: An update on inflammatory bowel disease. Primary Care: Clin. Office Pract. 44, 673–692 (2017)
Seyedian, S.S., Nokhostin, F., Malamir, M.D.: A review of the diagnosis, prevention, and treatment methods of inflammatory bowel disease. J. Med. Life 12, 113–122 (2019)
Shahzadi, I., Tang, T.B., Meriadeau, F., Quyyum, A.: CNN-LSTM: cascaded framework for brain tumour classification. In: IEEE-EMBS Conference on Biomedical Engineering and Sciences (IECBES), pp. 633–637 (2018)
Steiner, A., Kolesnikov, A., Zhai, X., Wightman, R., Uszkoreit, J., Beyer, L.: How to train your ViT? Data, Augmentation, and Regularization in Vision Transformers. arXiv Version: 2 (2021)
Touvron, H., Cord, M., Douze, M., Massa, F., Sablayrolles, A., Jégou, H.: Training data-efficient image transformers & distillation through attentio (2020), arXiv Version: 2
Turan, M., Durmus, F.: UC-NfNet: deep learning-enabled assessment of ulcerative colitis from colonoscopy images. Med. Image Anal. 82, 102587 (2022)
Udristoiu, A.L., et al.: Deep learning algorithm for the confirmation of mucosal healing in crohn’s disease, based on confocal laser endomicroscopy images. J. Gastrointestinal Liver Dis. 30, 59–65 (2021)
Vallée, R., Coutrot, A., Normand, N., Mouchère, H.: Accurate small bowel lesions detection in wireless capsule endoscopy images using deep recurrent attention neural network. In: IEEE 21st Int WS on Multimedia Signal Proc (MMSP) (2019)
Vallée, R., Coutrot, A., Normand, N., Mouchère, H.: Influence of expertise on human and machine visual attention in a medical image classification task. In: European Conference on Visual Perception (2021)
Vallée, R., Maissin, A., Coutrot, A., Mouchère, H., Bourreille, A., Normand, N.: CrohnIPI: an endoscopic image database for the evaluation of automatic Crohn’s disease lesions recognition algorithms. In: Medical Imaging: Biomedical Applications in Molecular, Structural, and Functional Imaging, p. 61. SPIE (2020)
Vankdothu, R., Hameed, M.A., Fatima, H.: A brain tumor identification and classification using deep learning based on CNN-LSTM method. Comput. Electr. Eng. 101, 107960 (2022)
Wang, L., et al.: Development of a convolutional neural network-based colonoscopy image assessment model for differentiating crohn’s disease and ulcerative colitis. Front. Med. 9, 789862 (2022)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2024 Springer Nature Switzerland AG
About this paper
Cite this paper
Maurício, J., Domingues, I. (2024). Knowledge Distillation of Vision Transformers and Convolutional Networks to Predict Inflammatory Bowel Disease. In: Vasconcelos, V., Domingues, I., Paredes, S. (eds) Progress in Pattern Recognition, Image Analysis, Computer Vision, and Applications. CIARP 2023. Lecture Notes in Computer Science, vol 14469. Springer, Cham. https://doi.org/10.1007/978-3-031-49018-7_27
Download citation
DOI: https://doi.org/10.1007/978-3-031-49018-7_27
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-49017-0
Online ISBN: 978-3-031-49018-7
eBook Packages: Computer ScienceComputer Science (R0)