Learning Robust Representation for Joint Grading of Ophthalmic Diseases via Adaptive Curriculum and Feature Disentanglement

Haoxuan Che, Haibo Jin, Hao Chen · DOI

Introduction

Diabetic Retinopathy (DR) and Diabetic Macular Edema (DME) represent the primary causes of vision loss among the working-age population worldwide. While these two conditions are pathologically distinct, they are clinically highly correlated, often appearing together as complications of diabetes. This correlation presents a unique opportunity for multi-task learning in artificial intelligence; however, existing models often struggle to effectively grade both diseases simultaneously.

This paper introduces a novel deep learning framework designed to overcome the limitations of current multi-task models. By integrating a dynamic curriculum learning strategy with a specialized feature disentanglement architecture, the proposed method achieves state-of-the-art performance and demonstrates superior generalization across diverse medical datasets.

The Challenges of Joint Grading

The authors identify two fundamental hurdles that prevent standard deep learning models from achieving robust joint grading:

  1. Premature Focus on Ambiguous Samples: Standard training using Cross-Entropy loss often forces a model to optimize for "hard" or ambiguous samples too early in the training process. This can lead to unstable gradients and poor feature representation, as the model has not yet established a baseline for clear-cut cases.
  2. Feature Entanglement and Dataset Bias: In many clinical datasets, severe DR is frequently co-located with DME. If a model is allowed to "entangle" these features, it may learn a biased shortcut—for instance, assuming that severe DR automatically implies the presence of DME. Such shortcuts fail in real-world clinical settings where DME can occur independently or at various stages of DR progression.

Proposed Methodology

To address these challenges, the framework introduces two primary technical innovations: DAW and DETACH.

Dynamic Difficulty-aware Weighted Loss (DAW)

Inspired by the principles of curriculum learning, DAW is a loss function that adaptively weights samples based on the model's current proficiency. Unlike traditional curriculum learning, which requires a pre-defined "teacher" model to rank sample difficulty, DAW uses the model’s own prediction confidence as a real-time proxy for difficulty.

The function utilizes a tunable parameter, $\gamma$, which starts at a high value to focus the model's attention on "easy," high-confidence samples. As training progresses, $\gamma$ is gradually decreased, allowing the model to incorporate increasingly difficult and ambiguous samples. This "easy-to-hard" progression ensures the model builds a stable foundation of representative features before tackling the noise inherent in complex cases.

Dual-stream Disentangled Learning Architecture (DETACH)

To prevent the learning of biased shortcuts, the authors developed the DETACH architecture. This dual-stream approach utilizes two separate encoders—one dedicated to DR and the other to DME. While the final classification layers utilize features from both streams to exploit legitimate clinical correlations, the architecture implements a "gradient stop" mechanism.

This mechanism prevents the gradients from the DR classifier from flowing back into the DME encoder, and vice versa. Consequently, the DR encoder is forced to focus exclusively on DR-specific symptoms (such as hemorrhages and microaneurysms), while the DME encoder focuses on DME-specific markers (such as the distance of exudates from the macula). This ensures that the model retains the benefits of joint information at the decision level while maintaining "pure" feature extraction at the representation level.

Experimental Results and Discussion

The framework was rigorously evaluated on three major fundus image benchmarks: Messidor, IDRiD, and DeepDRiD.

Performance and Generalization

The proposed model consistently outperformed state-of-the-art methods, including CANet and MTMR-Net. On the Messidor dataset, the model achieved an AUC of 92.6% for DME and 86.6% for DR.

The most significant finding, however, was in cross-dataset generalization. When trained on the Messidor dataset and tested on the unseen IDRiD dataset, the model maintained a high performance level (DME AUC: 87.7%). In contrast, competing models experienced significant performance drops, confirming that their reliance on entangled features made them sensitive to the specific biases of the training data.

Ablation Studies

Ablation studies confirmed the necessity of both components. Removing DAW led to a decrease in overall accuracy, as the model struggled with ambiguous samples. Removing the DETACH architecture resulted in a significant loss of generalization capability, proving that disentanglement is essential for creating a model that can perform reliably across different clinical environments.

Conclusion

This research demonstrates that robust joint grading of ophthalmic diseases requires more than just multi-task architectures; it requires a strategic approach to how features are learned and separated. By combining the DAW curriculum strategy with the DETACH disentanglement architecture, the authors have created a framework that is not only more accurate but also significantly more resilient to dataset bias. Future work will explore non-linear decay schedules for the difficulty parameter and the application of this framework to other co-occurring diseases and imaging modalities like Optical Coherence Tomography (OCT).

Summary updated

BibTeX
@inproceedings{che2022learning,
  author = {Haoxuan Che and Haibo Jin and Hao Chen},
  title = {{Learning Robust Representation for Joint Grading of Ophthalmic Diseases via Adaptive Curriculum and Feature Disentanglement}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2022},
  url = {https://openreview.net/forum?id=riei6_k4_U},
}
Figure