This paper is a visual guide to the "minefield" of performance metrics in biomedical image analysis. By illustrating common pitfalls through a "picture story," the authors reveal how choosing the wrong metric can lead to misleading conclusions, potentially invalidating research or even harming patients in clinical settings.
What Problem Does This Paper Address?
In the race to build better AI models for medicine, we often overlook a fundamental question: How do we actually know if an algorithm is "good"?
Recent meta-research has shown that algorithm validation is often flawed. Researchers frequently pick metrics like Accuracy or the Dice Similarity Coefficient (DSC) out of habit, without considering if those metrics actually reflect the clinical or biological goal. For instance, a high Dice score might look impressive on paper, but if the algorithm misses a tiny, critical tumor, that "success" is a clinical failure.
The authors tackle three main types of disregard:
Inherent metric properties: Failing to understand how a metric behaves with imbalanced data or small structures.
Data properties: Ignoring that test cases might not be independent (e.g., multiple images from the same patient).
Domain interest: Using a technical metric that doesn't actually measure what a doctor cares about.
Methods
Instead of proposing a new algorithm, this paper establishes a framework for "Good Scientific Practice" in validation. It is a living document born from a Delphi process—a structured communication technique used to reach a consensus among a large group of experts. In this case, over 60 international institutions contributed.
The paper categorizes image analysis into four fundamental tasks, as shown in the figure below:
Fig. 1. Problem categories covered in this paper and illustrated for three different application domains:
radiology (left), cell biology (middle), surgery (right). The common denominator of the underlying
research problems is the fact that they can be interpreted as classification tasks. The classification
occurs at various scales, image level, object level and/or pixel level. Each of these tasks assigns a
class label to the image or (multiple) components of it. (A) The image-level classification task
involves assigning a class label to the whole image. (B) The semantic segmentation task involves
assigning a class label to each individual pixel. (C) The object detection task assigns a class label to
identified objects. (D) The instance segmentation task assigns a label to identified objects made
up of multiple pixels. Gray boxes show the predicted class probabilities on image level, pixel level
or object level. The class with the highest probability is shown in bold. Further abbreviations: Red
Blood Cell (RBC), White Blood Cell (WBC).
The authors then systematically map out the relationships between different metric families (counting metrics, multi-threshold metrics, and distance-based metrics) and identify specific pitfalls for each task category.
Datasets
The paper does not introduce a new training dataset. Instead, it uses illustrative examples across three primary biomedical domains: radiology (e.g., CT scans), cell biology (e.g., microscopy), and surgery (e.g., endoscopic video). These examples serve as "toy problems" to demonstrate how different metrics react to the same set of predictions.
Key Insights and Ideas
The "Accuracy Trap" in Imbalance: Accuracy is highly misleading when one class is rare. A model that always predicts "healthy" can achieve 99% accuracy on a dataset where only 1% of patients are sick, while being completely useless.
Dice is Biased Against Small Objects: In semantic segmentation, the Dice score is extremely sensitive to single-pixel errors in small structures. A one-pixel difference can cause a massive drop in the score for a small lesion but have zero impact on a large organ.
Discrimination vs. Calibration: A model might be great at ranking cases (high AUROC) but terrible at predicting actual probabilities. If a model says there is a 52% chance of cancer for every single patient, it might "discriminate" perfectly but its "confidence" is meaningless for a clinician.
The "NaN" Problem: In object detection, if an image has no objects and the model correctly predicts nothing, many standard metrics result in a "Not a Number" (NaN) error. How researchers handle these NaNs (ignoring them vs. setting them to zero) can completely flip the ranking of which algorithm is "best."
Localization is Arbitrary: In object detection, defining what counts as a "hit" (a True Positive) is often arbitrary. Using a center-point distance vs. a Bounding Box IoU can lead to vastly different results for the same model.
Key Results
The "results" of this paper are qualitative lessons illustrated through its "picture stories."
One striking example shows how two different algorithms can have the exact same Dice score, yet one is clearly superior because it correctly identifies the center of the object, while the other is spatially shifted. Another example demonstrates that "Average Precision" (AP)—the gold standard in computer vision—can be "fooled" by models that output many low-confidence false positives, as these don't affect the top of the Precision-Recall curve.
The paper provides a comprehensive "Pitfall Table" (Table 1) that serves as a checklist for researchers to ensure their chosen metrics aren't hiding critical flaws in their models.
Limitations and Future Work
The authors acknowledge that this is a living document. As image processing evolves, new pitfalls will emerge. While the paper is highly comprehensive for biomedical imaging, some of the insights may need translation for other fields like remote sensing or autonomous driving.
Future work involves the continued expansion of this guide and the development of automated tools (like the "Metrics Reloaded" initiative) to help researchers choose the right metrics programmatically based on their specific problem properties.
@misc{reinke2021common,
author = {Annika Reinke and Minu D. Tizabi and Carole H. Sudre and Matthias Eisenmann and Tim Rädsch and Michael Baumgartner and Laura Acion and Michela Antonelli and Tal Arbel and Spyridon Bakas and Peter Bankhead and Arriel Benis and Matthew Blaschko and Florian Buettner and M. Jorge Cardoso and Jianxu Chen and Veronika Cheplygina and Evangelia Christodoulou and Beth Cimini and Gary S. Collins and Sandy Engelhardt and Keyvan Farahani and Luciana Ferrer and Adrian Galdran and Bram van Ginneken and Ben Glocker and Patrick Godau and Robert Haase and Fred Hamprecht and Daniel A. Hashimoto and Doreen Heckmann-Nötzel and Peter Hirsch and Michael M. Hoffman and Merel Huisman and Fabian Isensee and Pierre Jannin and Charles E. Kahn and Dagmar Kainmueller and Bernhard Kainz and Alexandros Karargyris and Alan Karthikesalingam and A. Emre Kavur and Hannes Kenngott and Jens Kleesiek and Andreas Kleppe and Sven Kohler and Florian Kofler and Annette Kopp-Schneider and Thijs Kooi and Michal Kozubek and Anna Kreshuk and Tahsin Kurc and Bennett A. Landman and Geert Litjens and Amin Madani and Klaus Maier-Hein and Anne L. Martel and Peter Mattson and Erik Meijering and Bjoern Menze and David Moher and Karel G. M. Moons and Henning Müller and Brennan Nichyporuk and Felix Nickel and M. Alican Noyan and Jens Petersen and Gorkem Polat and Susanne M. Rafelski and Nasir Rajpoot and Mauricio Reyes and Nicola Rieke and Michael Riegler and Hassan Rivaz and Julio Saez-Rodriguez and Clara I. Sánchez and Julien Schroeter and Anindo Saha and M. Alper Selver and Lalith Sharan and Shravya Shetty and Maarten van Smeden and Bram Stieltjes and Ronald M. Summers and Abdel A. Taha and Aleksei Tiulpin and Sotirios A. Tsaftaris and Ben Van Calster and Gaël Varoquaux and Manuel Wiesenfarth and Ziv R. Yaniv and Paul Jäger and Lena Maier-Hein},
title = {{Common Limitations of Image Processing Metrics: A Picture Story}},
year = {2021},
eprint = {2104.05642},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2104.05642},
}