ORIGINAL RESEARCH article
Front. Bioeng. Biotechnol.
Sec. Biosensors and Biomolecular Electronics
Volume 13 - 2025 | doi: 10.3389/fbioe.2025.1576513
This article is part of the Research TopicExplainable Models in Biosensors, Biosensing Technology, and Biomedical EngineeringView all 3 articles
An Explainable Unsupervised Learning Approach for Anomaly Detection on Corneal In Vivo Confocal Microscopy Images
Provisionally accepted- 1People's Hospital of Guangxi Zhuang Autonomous Region, Nanning, China
- 2Guangxi Beibu Gulf Bank, Nanning, China
- 3Guilin University of Electronic Technology, Guilin, Guangxi Zhuang Region, China
Select one of your emails
You have multiple emails registered with Frontiers:
Notify me on publication
Please enter your email address:
If you already have an account, please login
You don't have a Frontiers account ? You can register here
Background: In vivo confocal microscopy (IVCM) is a crucial imaging modality for assessing corneal diseases, yet distinguishing pathological features from normal variations remains challenging due to the complex multi-layered corneal structure.Existing anomaly detection methods often struggle to generalize across diverse disease manifestations. To address these limitations, we propose a Transformer-based unsupervised anomaly detection method for IVCM images, capable of identifying corneal abnormalities without prior knowledge of specific disease features.Methods: Our method consists of three submodules: an EfficientNet network, a Multi-Scale Feature Fusion Network, and a Transformer Network. A total of 7,063 IVCM images (95 eyes) were included for analysis. The model was trained exclusively on normal IVCM images to capture and differentiate structural variations across four distinct corneal layers: epithelium, sub-basal nerve plexus, stroma, and endothelium. During inference, anomaly scores were computed to distinguish pathological from normal images. The model's performance was evaluated on both internal and external datasets, and comparative analyses were conducted against existing anomaly detection methods, including generative adversarial networks (AnoGAN), generate to detect anomaly model (G2D), and discriminatively trained reconstruction anomaly embedding model (DRAEM). Additionally, explainable anomaly maps were generated to enhance the interpretability of model decisions.The proposed method achieved an the areas under the receiver operating characteristic curve of 0.933 on internal validation and 0.917 on an external test dataset, outperforming AnoGAN, G2D, and DRAEM in both accuracy and generalizability. The model effectively distinguished normal and pathological images, demonstrating statistically significant differences in anomaly scores (p < 0.001). Furthermore, visualization results indicated that the detected anomalous regions corresponded to morphological deviations, highlighting potential imaging biomarkers for corneal diseases.This study presents an efficient and interpretable unsupervised anomaly detection model for IVCM images, effectively identifying corneal abnormalities without requiring labeled pathological samples. The proposed method enhances screening efficiency, reduces annotation costs, and holds great potential for scalable intelligent diagnosis of corneal diseases.
Keywords: corneal disease screening, in vivo confocal microscopy (IVCM), Unsupervised anomaly detection, deep learning (DL), Explainable artificial intelligence
Received: 14 Feb 2025; Accepted: 29 May 2025.
Copyright: © 2025 Tang, Chen, Meng, Lei, Jiang, Qin, Huang, Tang, Huang, Lan, Chen, Huang, Lan, Pan, Wang, Xu and He. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
* Correspondence:
Fan Xu, People's Hospital of Guangxi Zhuang Autonomous Region, Nanning, China
Wenjing He, People's Hospital of Guangxi Zhuang Autonomous Region, Nanning, China
Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.