CSwinFK: a bidirectional cross-attention CNN-Swin Transformer fusion model for fungal keratitis classification in in vivo confocal microscopy images
Miaoting Hu, Liang Liang, Lifei Chen, Wenjing He, Qianqian Lan, Li Jiang, Hui Huang, Xianxian Wei,
Macao Polytechnic University · The People's Hospital of Guangxi Zhuang Autonomous Region
Key points
From the paper's conclusion- Experiments were conducted on a curated set of 3,612 clinical IVCM images from the fungal keratitis and negative groups using a subject-level data split.
Abstract
Fungal keratitis is a corneal infection caused by filamentous fungi or yeasts. It can progress rapidly and, if not diagnosed and treated promptly, may lead to irreversible visual impairment or blindness. In this study, we developed CSwinFK, a classification model for distinguishing fungal keratitis from negative cases using in vivo confocal microscopy images. This model is based on a novel bidirectional cross-attention fusion of the CNN architecture and Swin Transformer. Through deep interactions between the two branches, the model aims to achieve high sensitivity to local structural details while effectively capturing long-range global dependencies in the image. Experiments were conducted on a curated set of 3,612 clinical IVCM images from the fungal keratitis and negative groups using a subject-level data split. The model achieved a test accuracy of 97.23%, with a sensitivity of 97.05% and a specificity of 97.42%. Comparative experiments with representative architectures and existing deep learning models showed that CSwinFK achieved favorable classification performance. Grad-CAM analysis further showed that the model focused on regions exhibiting patterns consistent with fungal hyphae in IVCM images.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- DeepFusion-HSK: a multimodal deep learning for subtype classification of herpes simplex keratitis with multicenter validation.Frontiers in cell and developmental biology · 2026
- Comparative Evaluation of Multiple Deep Learning Models for Six-Class Keratitis Classification.Translational vision science & technology · 2026
- Live 4D monitoring of fungal infection in an ex vivo model of fungal keratitis reveals enhanced efficacy of combined PACK-CXL and natamycin treatmentbioRxiv · 2026
- Deep Learning Model for Image-Based Classification of Four Keratitis Categories.Cornea · 2026
- The evolving landscape of fungal keratitis: from emerging pathogens to precision diagnostics and novel therapeutics.Future microbiology · 2026
- Fungal Keratitis: A Narrative Review with a Focus on Antifungal Resistance and Emerging Therapies.Infectious disorders drug targets · 2026