Scientific Reports· 2026Q1
CSwinFK: a bidirectional cross-attention CNN-Swin Transformer fusion model for fungal keratitis classification in in vivo confocal microscopy images
- 0citations
- Q1SCImago
- 2026year
Short summary
A new AI model, CSwinFK, accurately classifies fungal keratitis from confocal microscopy images with 97.23% accuracy, leveraging a fusion of CNN and Swin Transformer architectures.
AI-generated from the title and abstract; the full text is not read.
Key points
- CSwinFK model fuses CNN and Swin Transformer via bidirectional cross-attention for fungal keratitis classification.
- The model achieved 97.23% test accuracy, 97.05% sensitivity, and 97.42% specificity on 3,612 IVCM images.
- CSwinFK demonstrated superior performance compared to other deep learning models.
- Grad-CAM analysis confirmed the model's focus on fungal hyphae-like patterns.
AI-generated from the title and abstract; the full text is not read.
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.
The authors' abstract, as published at the source. Scientific Reports, 2026 · DOI ↗
Continue with a free account
Ask the paper: 3 free questions a day about this paper; save it, get its citation, new summaries every day for your field. Takeaways are Premium.
Continue free on the webSign in with Google or Apple; no card needed. You come back to this paper.
On your phone:
Field: Ophthalmology
OphthalmologyMedicine