Cost-Sensitive Regularization for Diabetic Retinopathy Grading from Eye Fundus Images

Adrian Galdran, Jose Dolz, Hadi Chakor, Hervé Lombaert, Ismail Ben Ayed

Introduction

Automated Diabetic Retinopathy (DR) screening has traditionally focused on binary classification—distinguishing between healthy and diseased eyes. However, clinical management requires more granular multi-class grading to determine the appropriate treatment path. This paper, presented at MICCAI 2020, introduces a novel approach to multi-class DR grading by treating it as an ordinal classification problem rather than a categorical one.

Examples of eye fundus images representing different grades of Diabetic Retinopathy severity.

The Challenge of Ordinal Grading

DR severity is typically graded on a scale from 0 (No DR) to 4 (Proliferative DR). In standard machine learning, all classification errors are penalized equally. However, in a clinical context, misclassifying a Grade 4 patient as Grade 0 is a far more severe error than misclassifying them as Grade 3.

Furthermore, medical datasets often contain "label noise" due to inherent disagreements between human experts on borderline cases. Most deep learning models ignore this uncertainty, assuming the provided labels are absolute ground truth. The authors aim to bridge this gap by making models aware of both the severity of specific errors and the inherent uncertainty in human labels.

Methodology: CS and AST Modeling

The authors propose two key technical contributions to address these issues:

  1. Cost-Sensitive (CS) Regularization: An auxiliary term is added to standard loss functions (such as Cross-Entropy or Focal Loss). This term utilizes a cost matrix where the penalty increases quadratically with the distance between the predicted and true grade. This encourages the model to prioritize "near-misses" over catastrophic errors.
  2. Atomic Sub-Task (AST) Modeling: To account for label noise, the authors incorporate human expert disagreement patterns into the loss function. By using a confusion matrix derived from ophthalmologists, the model is trained to be more tolerant of mistakes that humans frequently make, effectively learning the distribution of clinical uncertainty.

These methods were implemented using a standard ResNext50 backbone, demonstrating that significant performance gains can be achieved through loss formulation alone, without needing more complex architectures.

Key Results

The inclusion of CS and AST regularization led to consistent improvements across all base loss functions. Specifically, the quadratic-weighted kappa—the standard metric for human-grader agreement—saw a 3-5% boost.

Performance comparison of different loss functions and their cost-sensitive (CS) and atomic sub-task (AST) variants on the Eyepacs dataset.

As shown in the table above, the NULS-AST configuration achieved the highest performance across multiple metrics, including a quadratic-weighted kappa of 78.71. Qualitative analysis further revealed that AST-trained models produce error patterns that closely mirror human expert disagreements, suggesting a more clinically intuitive behavior.

Conclusion

By embedding the monotonic structure of the label space directly into the loss function and embracing human expert disagreement as a feature rather than noise, this work provides a practical and effective framework for medical image grading. The approach is computationally efficient and requires no architectural changes, making it highly suitable for integration into existing clinical diagnostic pipelines.

Summary updated

BibTeX
@inproceedings{galdran2020cost,
  author = {Adrian Galdran and Jose Dolz and Hadi Chakor and Hervé Lombaert and Ismail Ben Ayed},
  title = {{Cost-Sensitive Regularization for Diabetic Retinopathy Grading from Eye Fundus Images}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2020},
  doi = {10.1007/978-3-030-59722-1\_64},
}
Figure