MedMNIST-C: Comprehensive benchmark and improved classifier robustness by simulating realistic image corruptions

Francesco Di Salvo, Sebastian Doerrich, Christian Ledig
6/25/2024
eess.IVcs.CVcs.LG

Official code: francescodisalvo05/medmnistc-api (30 stars, Apache-2.0, last commit 2025-07-30).

Abstract

The integration of neural-network-based systems into clinical practice is limited by challenges related to domain generalization and robustness. The computer vision community established benchmarks such as ImageNet-C as a fundamental prerequisite to measure progress towards those challenges. Similar datasets are largely absent in the medical imaging community which lacks a comprehensive benchmark that spans across imaging modalities and applications. To address this gap, we create and open-source MedMNIST-C, a benchmark dataset based on the MedMNIST+ collection covering 12 datasets and 9 imaging modalities. We simulate task and modality-specific image corruptions of varying severity to comprehensively evaluate the robustness of established algorithms against real-world artifacts and distribution shifts. We further provide quantitative evidence that our simple-to-use artificial corruptions allow for highly performant, lightweight data augmentation to enhance model robustness. Unlike traditional, generic augmentation strategies, our approach leverages domain knowledge, exhibiting significantly higher robustness when compared to widely adopted methods. By introducing MedMNIST-C and open-sourcing the corresponding library allowing for targeted data augmentations, we contribute to the development of increasingly robust methods tailored to the challenges of medical imaging. The code is available at https://github.com/francescodisalvo05/medmnistc-api .

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Python library for evaluating and enhancing model robustness in medical image analysis [ADSMI@MICCAI2024]

303Python, Jupyter NotebookJun 24, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{salvo2024medmnistc,
  title  = {MedMNIST-C: Comprehensive benchmark and improved classifier robustness by simulating realistic image corruptions},
  author = {Francesco Di Salvo and Sebastian Doerrich and Christian Ledig},
  year   = {2024},
  eprint = {2406.17536},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.17536v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.17536.svg)](https://codeofpaper.com/paper/2406.17536)

Discussion