Relational Subsets Knowledge Distillation for Long-Tailed Retinal Diseases Recognition

Lie Ju, Xin Wang, Lin Wang, Tongliang Liu, Xin Zhao, Tom Drummond, Dwarikanath Mahapatra, Zongyuan Ge

Introduction

Deep learning has revolutionized medical imaging, yet its application in retinal disease screening faces a significant hurdle: the long-tail distribution. In clinical practice, a few conditions like Diabetic Retinopathy are prevalent, while dozens of others are exceedingly rare. Standard models often overfit to common "head" classes and fail to recognize rare "tail" diseases, which is a critical failure in a diagnostic setting.

The Long-Tail Challenge in Retinal Screening

Long-tailed distribution of retinal disease classes, distinguishing between common 'Head' classes and rare 'Tail' classes.

Retinal screening presents two unique challenges for traditional long-tail mitigation strategies:

  1. Extreme Class Imbalance: The ratio between majority and minority samples can exceed 100:1.
  2. Label Co-occurrence: Patients frequently present with multiple conditions simultaneously (e.g., macular edema alongside vein occlusion). Standard re-sampling techniques—which repeat rare samples—unintentionally over-sample the common diseases present in those same images, reinforcing the imbalance rather than correcting it.

The RSKD Framework

To address these issues, this paper introduces Relational Subsets Knowledge Distillation (RSKD). This framework moves away from training a single global model on an imbalanced dataset. Instead, it partitions diseases into specialized subsets based on medical prior knowledge and distills that expertise into a unified student model.

Overview of the Relational Subsets Knowledge Distillation (RSKD) framework, illustrating subset partitioning and the teacher-student distillation process.

1. Relational Subset Partitioning

The core of RSKD is dividing diseases into subsets based on three "cognitive laws":

  • Shot-based: Grouping by sample frequency (Many, Medium, and Few shots) to reduce interference between common and rare classes.
  • Region-based: Grouping by anatomical location, such as diseases localized to the Optic Disc versus those in the Macula.
  • Feature-based: Grouping by shared pathological signs, such as all conditions characterized by hemorrhages or exudates.

2. Multiple Weighted Knowledge Distillation

Once subsets are defined, specialized "teacher" models are trained for each. Because these subsets are more balanced or specialized, the teachers develop finer-grained feature representations than a global model could.

A single "unified" student model is then trained to mimic the outputs of all teachers. The framework employs a Weighted KD Loss ($wL_{KD}$): the distillation weight increases dynamically when there is a large performance gap between the student and teacher (typically on "tail" classes), forcing the student to prioritize the teacher's specialized expertise where it is most needed.

Key Results and Insights

The RSKD framework was evaluated on two multi-label datasets: Lesion-10 (10 retinal lesion types) and Disease-48 (48 fundus diseases).

  • Tail Performance Boost: On the Lesion-10 dataset, RSKD improved the Mean Average Precision (mAP) of rare "tail" classes by 15.18% over a standard baseline.
  • SOTA Performance: On the complex Disease-48 dataset, the shot-based RSKD achieved a total mAP of 45.85%, outperforming established methods like OLTR and LDAM.
  • Synergy with Loss Functions: RSKD is "plug-and-play." When combined with Focal Loss, it achieved the highest total mAP on Lesion-10 (66.42%).

Conclusion

By leveraging medical priors to decouple co-occurring labels and using dynamic distillation to guide the learning process, RSKD significantly improves the detection of rare retinal diseases. While current partitioning requires manual expert definition, the success of this approach highlights the importance of domain-specific knowledge in solving long-tail problems in medical AI. Future work may focus on automating these partitions while maintaining clinical validity.

Summary updated

BibTeX
@inproceedings{ju2021relational,
  author = {Lie Ju and Xin Wang and Lin Wang and Tongliang Liu and Xin Zhao and Tom Drummond and Dwarikanath Mahapatra and Zongyuan Ge},
  title = {{Relational Subsets Knowledge Distillation for Long-Tailed Retinal Diseases Recognition}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2021},
  url = {https://openreview.net/forum?id=MKzFqemJah4c},
}
Figure