Self-Supervised Learning for Multi-Category Endoscopy Classification and Data Quality Evaluation Using Masked Autoencoders
In upper and lower endoscopy (EN), gastroenterologists must identify multiple anatomical landmarks, lesions, and indicators of patient preparation, requiring the recognition of patterns that may elude the human eye, leading to 6-28% of lesions being missed. Computer-assisted second reader strategies may aid specialist by accurately differentiating multiple patterns. However, labeled collections are scarce for training, though some provide unlabeled frames. This paper leverages a large-scale, unlabeled dataset to train a self-supervised learning (SSL) approach, a masked autoencoder, to identify multiple EN categories. The pretrained masked-encoder is then supervised fine-tuning on a smaller, labeled subset, in a multiclass classification task. The performance of this method was evaluated on two EN datasets: HyperKvasir, which contains 99,417 unlabeled and 10,662 labeled frames, and GastroVision, which includes 8,000 labeled frames, achieving F-scores of 89.23% in 16 EN categories and 77.40% in 22, respectively. The proposed approach demonstrates the effectiveness of a SSL approach in EN, and improves classification performance with data quality control by leveraging learned embeddings to identify and remove duplicate images within the dataset. We also provide code and materials related to this work, which can be found at https://github.com/DiegoBravoH/SSL-Endoscopy-MAE.git.
Authors
- Diego Bravo (ORCID: https://orcid.org/0000-0003-1957-1615)
- Martín Gómez
- Fabio A. González (ORCID: https://orcid.org/0000-0001-9009-7288)
- Josué Ruano (ORCID: https://orcid.org/0000-0003-4801-8229)
- Eduardo Romero (ORCID: https://orcid.org/0000-0003-2088-2509)
Institutions
- Universidad Nacional de Colombia (CO)
- Hospital Universitario Nacional de Colombia (CO)
Publication Details
- Published
- 2025-04-14
- DOI
- https://doi.org/10.1109/isbi60581.2025.10980752
- Citations
- 1
- Primary Topic
- Colorectal Cancer Screening and Detection
- Type
- article
- Field-Weighted Citation Impact
- 1.05