Multi-Task Learning for Diabetic Retinopathy Grading and Lesion Segmentation

Alex Foo, Wynne Hsu, Mong-Li Lee, Gilbert Lim, Tien Yin Wong

Introduction

Diabetic Retinopathy (DR) is a leading cause of vision loss globally. While AI has become highly proficient at binary screening—identifying "referable" vs. "non-referable" cases—providing fine-grained grading on the 5-level International Clinical Diabetic Retinopathy Scale (ICDRS) remains a significant challenge for automated systems.

Examples of fundus images across the Diabetic Retinopathy severity scale, from No DR to Proliferative.

Human experts grade DR by identifying specific lesions such as microaneurysms, hemorrhages, and exudates. However, training a model to perform both grading and lesion segmentation is difficult because pixel-level "ground truth" masks are incredibly labor-intensive to produce and thus very rare. This paper introduces MTUnet, a model designed to perform both tasks accurately even when large-scale segmentation data is unavailable.

Methods: The MTUnet Architecture

The authors propose a dual-stream architecture called MTUnet, which is a modified version of the popular UNet architecture optimized for multi-task learning.

The MTUnet architecture featuring a VGG-16 encoder with dual outputs for segmentation and grading.

Architectural Design

  • Encoder Stream: The standard UNet encoder is replaced with a VGG-16 network pre-trained on ImageNet. This stream terminates in a Global-Max-Pooling layer and a Dense layer to output the DR Grading (0–4).
  • Decoder Stream: This stream uses features from the encoder via skip connections to produce the Lesion Segmentation mask. Unlike standard UNets that use simple up-sampling, MTUnet utilizes transposed convolutions for more accurate feature decoding.

Semi-Supervised Learning Strategy

To overcome the scarcity of annotated data, the authors employed a three-step training process:

  1. Initial Training: A segmentation network is trained on a small dataset with manual masks (IDRiD-S).
  2. Pseudo-Labeling: This network generates predicted masks ("pseudo-labels") for a much larger dataset that only possesses grading labels.
  3. Joint Optimization: The final MTUnet is trained on the combined data using a joint loss function that balances grading and segmentation errors.

Key Insights and Results

The core innovation of this approach is Mutual Regularization. The segmentation task provides a "spatial hint" that justifies the grade, while the grading task acts as a regularizer, preventing the segmentation stream from overfitting to noise in the pseudo-labels.

Performance Breakthroughs

  • The "Moderate" DR Leap: Most existing models struggle to distinguish "mild" from "moderate" DR. MTUnet achieved a massive performance leap here, outperforming state-of-the-art models like NASNet by over 24% in ROC score on the real-world SiDRP dataset. This is clinically vital as "moderate" DR is often the threshold for medical intervention.
  • Segmentation Accuracy: MTUnet achieved a Dice score of 75.15% for red lesions and 84.27% for yellow lesions, outperforming standard UNet and LinkNet architectures.
  • Grading Robustness: On the IDRiD dataset, the model achieved an ROC of 99% for detecting "No DR" and maintained high scores (82%–89%) across all other severity levels.

Conclusion

The MTUnet model demonstrates that multi-task learning can effectively address the lack of annotated medical data. By providing a segmentation mask alongside a grade, the model moves away from "black box" AI, showing ophthalmologists exactly where lesions are located. This transparency potentially increases clinician trust and diagnostic speed in real-world screening programs.

Summary updated

BibTeX
@inproceedings{foo2020multi,
  author = {Alex Foo and Wynne Hsu and Mong-Li Lee and Gilbert Lim and Tien Yin Wong},
  title = {{Multi-Task Learning for Diabetic Retinopathy Grading and Lesion Segmentation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i08.7035},
}
Figure