Introduction
Pathologic myopia (PM) is a leading cause of irreversible blindness worldwide. While deep learning has significantly advanced myopia screening, most existing models utilize standard Color Fundus Photography (CFP), which provides a limited 30–60 degree view of the retina. This narrow field of view often fails to capture critical lesions in the periphery. Furthermore, clinical adoption of AI is hindered by the "black box" nature of many models and the challenge of data imbalance, where rare pathological features are difficult for standard algorithms to learn.
To address these challenges, researchers introduced RealMNet, a lightweight deep learning framework designed for PM diagnosis using ultra-widefield (UWF) retinal images.
Methods
RealMNet is an end-to-end framework built on a TinyViT backbone, optimized for both performance and clinical deployment. The framework incorporates several key innovations:
- Knowledge Distillation: A "teacher-student" approach is employed where a small student model (21M parameters) is trained to mimic a high-performance teacher model, ensuring a lightweight architecture suitable for real-time clinical use.
- Asymmetric Focusing: To handle data imbalance, cost-sensitive calibration adjusts the loss function, forcing the model to prioritize rare, difficult-to-detect positive samples.
- Classifier Adaptation: A multi-head residual attention mechanism combines class-agnostic structural features with class-specific lesion patterns.
- Interpretability: Enhanced Grad-CAM++ generates heatmaps that align with anatomical regions clinicians typically inspect, such as the macula for atrophy and the peripheral "dark gray ring" for staphyloma.
Dataset: PSMM
The study utilized the PSMM (Posterior Staphyloma and Myopic Maculopathy) dataset, comprising 43,371 UWF images from 4,560 patients across five hospitals. Images were expert-annotated for posterior staphyloma (PS) and five grades of myopic maculopathy based on META-PM criteria. To demonstrate the necessity of UWF, the researchers also tested the model on "fake CFP" images created by cropping the UWF data.
Results and Discussion
RealMNet achieved an F1 Score of 0.7970, a mean Average Precision (mAP) of 0.8497, and an AUROC of 0.9745. Notably, the model trained on UWF images significantly outperformed those trained on cropped CFP images, confirming that peripheral information is essential for accurate PM diagnosis.
Despite having only 21 million parameters, RealMNet outperformed massive foundation models like DINOv2 and VisionFM (~86M parameters), suggesting that task-specific optimization can be more effective than general-purpose scaling in medical contexts. The model also demonstrated "cyclic-source generalizability," maintaining performance across different clinical sites.
Conclusion
RealMNet provides a robust, interpretable, and efficient solution for diagnosing pathologic myopia using UWF imaging. While future work is needed to identify rare "plus" lesions and integrate 3D multimodal data (like OCT), this framework represents a significant step toward deploying high-performance AI in real-world ophthalmic workflows.
Summary updated