A hierarchical deep learning approach with transparency and interpretability based on small samples for glaucoma diagnosis

Yongli Xu, Man Hu, Hanruo Liu, Hao Yang, Huaizhou Wang, Shuai Lu, Tianwei Liang, Xiaoxing Li, Mai Xu, Liu Li, Huiqi Li, Xin Ji, Zhijun Wang, Robert N. Weinreb, Ningli Wang

Introduction

Deep learning (DL) has revolutionized medical imaging, yet its clinical adoption remains hindered by two significant challenges: the "black box" nature of neural networks and their "data hunger." Most high-performing models provide a diagnosis without explaining the underlying reasoning, making it difficult for clinicians to verify results. Furthermore, these models typically require tens of thousands of expertly labeled images—a resource that is both expensive and labor-intensive to produce in specialized fields like ophthalmology.

To address these hurdles, researchers have developed a Hierarchical Deep Learning System (HDLS) for glaucoma diagnosis. By integrating human prior knowledge directly into the network architecture, the HDLS mimics the step-by-step reasoning of ophthalmologists, providing transparent evidence for its decisions while requiring significantly less training data.

System Architecture

The HDLS is structured into three distinct modules that simulate a clinical diagnostic workflow.

The pre-diagnosis module identifies key clinical features from fundus images to guide subsequent segmentation and diagnostic steps.

1. Pre-diagnosis Module

The first stage uses an Inception-v3 network to perform a global sweep of the fundus image. It identifies preliminary signs of Glaucomatous Optic Neuropathy (GON), such as optic disc (OD) characteristics, peripapillary atrophy, and hemorrhages. This initial assessment acts as a guide for the more granular analysis that follows.

2. Image Segmentation Module

Using U-Net architectures, the system segments the optic disc, optic cup (OC), and retinal nerve fiber layer defects (RNFLD). A key innovation is the use of the pre-diagnosis result to switch between a "general" segmentation network and a "glaucoma-specific" one. This targeted approach significantly improves the accuracy of critical measurements like the cup-to-disk ratio.

The Hierarchical Deep Learning System (HDLS) workflow, illustrating the progression from fundus images through pre-diagnosis and segmentation to final interpretable diagnosis.

3. Final Diagnosis Module

This module provides the system's interpretability. It extracts clinical features from the segmentation maps, specifically the Mean Cup-to-Disk Ratio (MCDR) and the ISNT score (which evaluates neuroretinal rim thickness across quadrants). These features are processed through a decision tree and SVM to produce a final diagnosis. By constraining the decision-making process to these established clinical metrics, the model's output becomes inherently transparent and verifiable.

Data and Validation

The HDLS was trained on a relatively small dataset of 1,791 fundus photographs from Beijing Tongren Hospital. Its robustness was then tested across multiple validation sets:

  • Internal Validation: 6,301 images from the same institution.
  • Multi-ethnic Validation: 1,964 images from hospitals in Tibet and Ningxia, including Han, Tibetan, and Hui populations.
  • Human-AI Synergy Test: 400 images used to evaluate the system's impact on the diagnostic accuracy of junior and senior ophthalmologists.

Key Insights

  • Knowledge as a Regularizer: Incorporating human-defined features like the ISNT rule allowed the model to achieve an AUC of 0.98 with only ~1,800 images. In contrast, traditional "black box" models often require 30,000 to 200,000 images to reach comparable performance.
  • Transparency as Evidence: Instead of a simple binary label, the HDLS generates a "Diagnosis Evidence" sheet. This includes segmented maps, MCDR/ISNT plots, and comparisons to reference cases, allowing clinicians to see the "why" behind every diagnosis.
  • Bridging the Expertise Gap: The study demonstrated that the HDLS significantly boosted the performance of junior doctors and technicians. For instance, technician sensitivity improved from 0.36 to 0.76 when assisted by the AI.

Results and Clinical Impact

The HDLS achieved an AUC of 0.981 on the primary validation set and 0.983 on the multi-ethnic set. In high-confidence cases, the system's sensitivity and specificity reached 97.7% and 97.8%, respectively. Furthermore, the segmentation precision for the optic disc and cup exceeded 97%, ensuring the reliability of the clinical features used for the final diagnosis.

Limitations and Future Directions

While the HDLS represents a major step forward, some limitations remain. The final decision module currently focuses on the optic cup, disc, and RNFLD, and does not yet explicitly incorporate other signs like disc hemorrhages into its logic tree. Additionally, image resizing to 512x512 pixels can occasionally obscure subtle retinal nerve fiber layer textures. Future work will focus on expanding the feature set and testing the model in general population screening environments where disease prevalence is lower than in clinical settings.

Summary updated

BibTeX
@article{xu2021hierarchical,
  author = {Yongli Xu and Man Hu and Hanruo Liu and Hao Yang and Huaizhou Wang and Shuai Lu and Tianwei Liang and Xiaoxing Li and Mai Xu and Liu Li and Huiqi Li and Xin Ji and Zhijun Wang and Li Li and Robert N. Weinreb and Ningli Wang},
  title = {{A hierarchical deep learning approach with transparency and interpretability based on small samples for glaucoma diagnosis}},
  journal = {Npj Digit. Medicine},
  year = {2021},
  doi = {10.1038/s41746-021-00417-4},
}
Figure