NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

CANet: Cross-Disease Attention Network for Joint Diabetic Retinopathy and Diabetic Macular Edema Grading

Xiaomeng Li, Xiaowei Hu, Lequan Yu, Lei Zhu, Chi-Wing Fu, Pheng-Ann Heng

TL;DR

Diabetic Retinopathy (DR) and its complication, Diabetic Macular Edema (DME), are highly correlated causes of blindness, yet most AI grading systems treat them independently. This paper introduces CANet, a Cross-disease Attention Network that jointly grades both conditions by explicitly modeling their internal relationship using only image-level labels. By sharing and cross-pollinating features between the diseases, CANet achieves state-of-the-art joint grading accuracy on major benchmark datasets.

What Problem Does This Paper Address?

DR and DME are leading causes of vision loss in the working-age population. In clinical practice, DME is a direct complication of DR—for instance, a higher number of hard exudates (a sign of DR) near the macula increases the severity of DME. Despite this strong clinical correlation, previous deep learning models either grade them completely separately or treat them as a standard multi-label classification task without explicitly modeling how one disease influences the other.

Furthermore, many existing high-performing models rely on expensive, pixel-level annotations (like bounding boxes around microaneurysms or hemorrhages) to teach the network what to look for. The authors tackle the challenge of jointly grading DR and DME using only cheap, image-level supervision while explicitly capturing their symbiotic clinical relationship.

Methods

The authors propose the Cross-disease Attention Network (CANet). It starts with a standard ResNet50 backbone to extract shared, high-level semantic features from retinal fundus images. From there, the architecture splits into two novel attention modules:

  1. Disease-specific attention module: This module applies both channel-wise and spatial-wise attention to the shared ResNet features. This allows the network to isolate and highlight the unique visual characteristics of DR and DME independently.
  2. Disease-dependent attention module: This is the core novelty. It takes the disease-specific features of one condition (e.g., DR) and learns a set of attention weights to apply to the other condition (e.g., DME). This cross-pollination allows the network to learn that features indicating severe DR should heighten the network's suspicion for severe DME, and vice versa.

The entire network is trained end-to-end using a combined loss function that optimizes both the disease-specific feature learning and the final joint grading predictions.

Datasets

  • Messidor Dataset: 1,200 color fundus images. For this study, DR was treated as a binary classification task (referable vs. non-referable), and DME was graded into 3 severity classes. Evaluated using 10-fold cross-validation.
  • ISBI 2018 IDRiD Challenge Dataset: 516 images (413 train, 103 test). DR is graded into 5 classes and DME into 3 classes. Evaluated using the challenge's official "Joint Accuracy" metric (where a prediction is only considered correct if both the DR and DME grades match the ground truth).

Key Insights and Ideas

  • Diseases shouldn't be siloed: Explicitly passing feature information from a primary disease to its complication (and vice versa) acts as a powerful prior, significantly boosting the performance of both tasks compared to training them in isolation.
  • Image-level labels are enough for SOTA: By using sophisticated spatial and channel-wise attention mechanisms, the network can effectively zero in on pathological features without needing expensive, hand-drawn lesion masks.
  • Bidirectional dependency matters: Ablation studies showed that passing DR features to the DME branch and DME features to the DR branch yielded the highest accuracy, proving the relationship is mutually informative for the neural network.

Key Results

  • On the Messidor dataset, CANet achieved a Joint Accuracy of 85.1%. It reached an AUC of 96.3% for DR and 92.4% for DME, outperforming both clinical experts and previous state-of-the-art models (like Zoom-in-net).
  • On the IDRiD challenge dataset, CANet achieved a Joint Accuracy of 65.1%, securing the #1 rank on the leaderboard and beating the previous top result by a relative 2.0%.
  • Ablation studies showed that adding the cross-disease attention modules improved Joint Accuracy by over 3% compared to a standard joint-training baseline.

Limitations and Future Work

  • Limitations: Because the model relies solely on image-level supervision, it can still struggle to precisely localize very tiny abnormal signs (like microaneurysms) compared to models trained with explicit bounding boxes or segmentation masks.
  • Future Work: The authors suggest incorporating lesion segmentation masks from external datasets to further guide the attention modules, potentially using Generative Adversarial Networks (GANs) to bridge domain shifts between datasets. They also propose extending this architecture to handle more than two correlated diseases using Graph Convolutional Networks (GCNs) to map complex multi-disease relationships.

Summary updated

BibTeX
@article{li2020canet,
  author = {Xiaomeng Li and Xiaowei Hu and Lequan Yu and Lei Zhu and Chi-Wing Fu and Pheng-Ann Heng},
  title = {{CANet: Cross-Disease Attention Network for Joint Diabetic Retinopathy and Diabetic Macular Edema Grading}},
  journal = {IEEE Trans. Medical Imaging},
  year = {2020},
  doi = {10.1109/tmi.2019.2951844},
}
Figure