A hybrid contrastive ordinal regression method for advancing disease severity assessment in imbalanced medical datasets

Abstract

Accurate disease grading is critical for early diagnosis and effective treatment planning. However, class imbalance and subtle inter-class variations in real-world disease grading datasets make it challenging for traditional classification models to differentiate between neighboring disease stages and preserve ordinal label relationships. Existing approaches emphasize inter-class ordinal relationships but fail to distinguish closely related categories effectively. To address these limitations, we consider disease grading as an ordinal regression problem and adopt a supervised contrastive learning approach to design a hybrid supervised contrastive ordinal learning framework. Our framework consists of three basic modules: 1) prototype-based contrastive ordinal learning, 2) weighted sample-based contrastive learning and 3) disease stage grading using regression. To deal with class imbalance while enhancing intra-class consistency and inter-class separation, we design a distance-based prototype contrastive ordinal loss, which pushes the samples closer to their class centers while maintaining their ordinality. This approach captures subtle differences within closely related disease stages and results in a separable ordinal latent space. Additionally, a per-sample class weighting strategy is integrated into weighted supervised contrastive ordinal learning to prevent class collapse, ensuring balanced gradient contributions and robust inter-class separation. Our approach effectively captures both large-scale and fine-grained variations, enabling precise ordinal classification for disease grading. We validate the framework on diabetic retinopathy and breast cancer datasets, demonstrating its adaptability across medical conditions and potential to enhance diagnostic accuracy in medical imaging applications.

Document Type

Conference Proceeding

Date of Publication

1-1-2026

Volume

15972 LNCS

Publication Title

Lecture Notes in Computer Science

Publisher

Springer

School

Centre for Artificial Intelligence and Machine Learning (CAIML) / Nutrition and Health Innovation Research Institute

Funders

Raine Medical Research Foundation / Western Australian Future Health Research and Innovation Fund / National Heart Foundation Future Leader Fellowship (102817, 107323)

Comments

Saleem, A., Lewis, J. R., & Gilani, S. Z. (2025). A hybrid contrastive ordinal regression method for advancing disease severity assessment in imbalanced medical datasets. In International Conference on Medical Image Computing and Computer-Assisted Intervention (pp. 14-23). Cham: Springer Nature Switzerland. https://doi.org/10.1007/978-3-032-05169-1_2

Copyright

subscription content

First Page

14

Last Page

23

Share

 
COinS
 

Link to publisher version (DOI)

10.1007/978-3-032-05169-1_2