Proceedings

Knowing When Not to Predict: Self Supervised Learning and Abstention for Safer DR Screening

Download BibTeX Cite

Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence. AI and Health. Pages 6671-6679.

https://doi.org/10.24963/ijcai.2026/742

Abstract

Self-supervised learning (SSL) is now a standard way to pretrain medical image models, but performance is still mostly judged by downstream accuracy. For safety-critical screening tasks such as diabetic retinopathy grading, this is not enough: a model must also know when its predictions are unreliable and defer uncertain cases for clinical review. In this work, we examine how the length of SSL pretraining influences confidence calibration and confidence-based abstention.

We evaluate multiple SSL checkpoints under a fixed fine-tuning protocol and assess calibrated confidence, coverage, selective accuracy, and selective macro-F1. Across datasets and data regimes, SSL pretraining improves selective prediction compared to training from scratch. Unlike prior SSL studies that primarily evaluate downstream accuracy or AUROC, we analyze how SSL pretraining duration influences calibration and selective prediction behavior under confidence-based abstention. However, once accuracy saturates, selective performance can still change markedly across checkpoints, and longer pretraining does not consistently improve reliability. These results underscore the importance of abstention-aware evaluation and suggest that pretraining length should be treated as an important reliability-related design choice rather than only a computational detail. Code is available at https://github.com/29

muskaan712/ijcai-knowing-when-not-to-predict.

  1. [Albelwi, 2022] Saleh Albelwi. Survey on self-supervised learning: Auxiliary pretext tasks and contrastive learning methods in imaging. Entropy, 24(4):551, 2022.
  2. [Angelopoulos et al., 2024] Anastasios N Angelopoulos, Stuart Pomerantz, Synho Do, Stephen Bates, Christo- pher P Bridge, Daniel C Elton, Michael H Lev, R Gilberto González, Michael I Jordan, and Jitendra Malik. Confor- mal triage for medical imaging ai deployment. medRxiv, pages 2024-02, 2024.
  3. [Bardes et al., 2022] Adrien Bardes, Jean Ponce, and Yann LeCun. Vicreg: Variance-invariance-covariance regular- ization for self-supervised learning, 2022.
  4. [C Benítez et al., 2021] Veronica Elisa C Benítez, Ingrid Castro Matto, Julio César Mello Román, José Luis Vázquez Noguera, Miguel García-Torres, Jordan Ayala, Diego P. Pinto-Roa, Pedro E. Gardel-Sotomayor, Jacques Facon, and Sebastian Alberto Grillo. Dataset from fundus images for the study of diabetic retinopathy (0.2), 2021.
  5. [Cattelan and Silva, 2023] Luís Felipe P Cattelan and Danilo Silva. How to fix a broken confidence estimator: Evaluat- ing post-hoc methods for selective classification with deep neural networks. arXiv preprint arXiv:2305.15508, 2023.
  6. [Chen et al., 2020] Ting Chen, Simon Kornblith, Moham- mad Norouzi, and Geoffrey Hinton. A simple framework for contrastive learning of visual representations, 2020.
  7. [Chow, 2003] Chao Chow. On optimum recognition error and reject tradeoff. IEEE Transactions on information the- ory, 16(1):41-46, 2003.
  8. [Ciga et al., 2022] Olivier Ciga, Tony Xu, and Anne L. Martel. Self supervised contrastive learning for digi- tal histopathology. Machine Learning with Applications, 7:100198, 2022.
  9. [De Fauw et al., 2018] Jeffrey De Fauw, Joseph R. Led- sam, Bernardino Romera-Paredes, Stanislav Nikolov, Ne- nad Tomasev, Sam Blackwell, Harry Askham, Xavier Glorot, Brendan O'Donoghue, Daniel Visentin, George Van Den Driessche, Balaji Lakshminarayanan, Clemens Meyer, Faith Mackinder, Simon Bouton, Kareem Ayoub, Reena Chopra, Dominic King, Alan Karthikesalingam, and Olaf Ronneberger. Clinically applicable deep learn- ing for diagnosis and referral in retinal disease. Nature Medicine, 24(9):1342-1350, 2018.
  10. [Dosovitskiy, 2020] Alexey Dosovitskiy. An image is worth 16x16 words: Transformers for image recognition at scale. arXiv preprint arXiv:2010.11929, 2020.
  11. [Franc et al., 2023] Vojtech Franc, Daniel Prusa, and Va- clav Voracek. Optimal strategies for reject option clas- sifiers. Journal of Machine Learning Research, 24(11):1- 49, 2023.
  12. [Geifman and El-Yaniv, 2017] Yonatan Geifman and Ran El-Yaniv. Selective classification for deep neural networks. In Advances in Neural Information Processing Systems, pages 4878-4887, 2017.
  13. [Geifman and El-Yaniv, 2019] Yonatan Geifman and Ran El-Yaniv. Selectivenet: A deep neural network with an integrated reject option. In Kamalika Chaudhuri and Rus- lan Salakhutdinov, editors, Proceedings of the 36th Inter- national Conference on Machine Learning, volume 97 of Proceedings of Machine Learning Research, pages 2151- 2159. PMLR, 2019.
  14. [Grill et al., 2020] Jean-Bastien Grill, Florian Strub, Flo- rent Altché, Corentin Tallec, Pierre H. Richemond, Elena Buchatskaya, Carl Doersch, Bernardo Avila Pires, Zhao- han Daniel Guo, Mohammad Gheshlaghi Azar, Bilal Piot, Koray Kavukcuoglu, Rémi Munos, and Michal Valko. Bootstrap your own latent: A new approach to self- supervised learning. Advances in Neural Information Pro- cessing Systems, 33:21271-21284, 2020.
  15. [Gulshan et al., 2016] Varun Gulshan, Lily Peng, Marc Coram, Martin Stumpe, Derek Wu, Arunachalam Narayanaswamy, Subhashini Venugopalan, Kasumi Wid- ner, Tom Madams, Jorge Cuadros, Ramasamy Kim, Rajiv Raman, Philip Nelson, Jessica Mega, and Dale Webster. Development and validation of a deep learning algorithm for detection of diabetic retinopathy in retinal fundus pho- tographs. JAMA, 316:2402-2410, 12 2016.
  16. [Guo et al., 2017] Chuan Guo, Geoff Pleiss, Yu Sun, and Kilian Q. Weinberger. On calibration of modern neural networks. In Proceedings of the 34th International Con- ference on Machine Learning (ICML), pages 1321-1330, 2017.
  17. [He et al., 2016] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recog- nition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 770-778, 2016.
  18. [He et al., 2020] Kaiming He, Haoqi Fan, Yuxin Wu, Sain- ing Xie, and Ross Girshick. Momentum contrast for unsupervised visual representation learning. In 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 9729-9738, 2020.
  19. [Hermans et al., 2017] Alexander Hermans, Lucas Beyer, and Bastian Leibe. In defense of the triplet loss for person re-identification. arXiv preprint arXiv:1703.07737, 2017.
  20. [Kag, 2015] Kaggle eyepacs diabetic retinopathy detection. https://www.kaggle.com/c/diabetic-retinopathy-detection, 2015. Link
  21. [Karthik et al., 2019] Karthik, Maggie, and Sohier Dane. Aptos 2019 blindness detection. Kaggle Competition, 2019. Accessed 2026-01-14.
  22. [Krause et al., 2017] Jonathan Krause, Varun Gulshan, Ehsan Rahimy, Peter Karth, Kasumi Widner, Greg Cor- rado, Lily Peng, and Dale Webster. Grader variability and the importance of reference standards for evaluat- ing machine learning models for diabetic retinopathy. Ophthalmology, 125, 10 2017.
  23. [Li et al., 2017] Xiaogang Li, Tiantian Pang, Biao Xiong, Weixiang Liu, Ping Liang, and Tianfu Wang. Convo- lutional neural networks based transfer learning for di- abetic retinopathy fundus image classification. In 2017 10th international congress on image and signal pro- cessing, biomedical engineering and informatics (CISP- BMEI), pages 1-11. IEEE, 2017.
  24. [Li et al., 2021] Zekun Li, Wei Zhao, Feng Shi, Lei Qi, Xingzhi Xie, Ying Wei, Zhongxiang Ding, Yang Gao, Shangjie Wu, Jun Liu, Yinghuan Shi, and Dinggang Shen. A novel multiple instance learning framework for covid- 19 severity assessment via data augmentation and self- supervised learning. Medical Image Analysis, 69:101978, 2021. [Mes, 2014] Messidor-2. http://www.adcis.net/en/ third-party/messidor2/, 2014. Link
  25. [Park and Ryu, 2024] Wongi Park and Jongbin Ryu. Fine- grained self-supervised learning with jigsaw puzzles for medical image classification. Comput. Biol. Med., 174(C), May 2024.
  26. [Shen et al., 2019] Tianyu Shen, Chao Gou, Fei-Yue Wang, Zilong He, and Weiguo Chen. Learning from adversarial medical images for x-ray breast mass segmentation. Com- puter Methods and Programs in Biomedicine, 180:105012, 2019.
  27. [Truong et al., 2021] Tuan Truong, Sadegh Mohammadi, and Matthias Lenga. How transferable are self-supervised features in medical image classification tasks? In Pro- ceedings of Machine Learning for Health, volume 158 of Proceedings of Machine Learning Research, pages 54-74.
  28. PMLR, 2021.
  29. [Tsiknakis et al., 2021] Nikos Tsiknakis, Dimitris Theodor- opoulos, Georgios Manikis, Emmanouil Ktistakis, Oura- nia Boutsora, Alexa Berto, Fabio Scarpa, Alberto Scarpa, Dimitrios I. Fotiadis, and Kostas Marias. Deep learning for diabetic retinopathy detection and classification based on fundus images: A review. Computers in Biology and Medicine, 135:104599, 2021.
  30. [Wang et al., 2021] Jian Wang, Hengde Zhu, Shuihua Wang, and Yudong Zhang. A review of deep learning on med- ical image analysis. Mobile Networks and Applications, 26:3518-3535, 2021.
  31. [Zbontar et al., 2021] Jure Zbontar, Li Jing, Ishan Misra, Yann LeCun, and Stéphane Deny. Barlow twins: Self- supervised learning via redundancy reduction, 2021.
  32. [Zhou et al., 2015] Bolei Zhou, Aditya Khosla, Agata Lapedriza, Aude Oliva, and Antonio Torralba. Learning deep features for discriminative localization, 2015.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards