Evaluation & clinic

shortcut learning

捷径学习

When a model latches onto a cue that happens to correlate with the answer but has nothing to do with the disease, such as a hospital's corner marker, the scanner, or a chest drain. It scores well in testing and fails elsewhere.

A deep network is asked only to reduce its training error, and it learns whatever regularity is easiest to exploit first. In 2020 Robert Geirhos and colleagues named the pattern shortcut learning, recalling Clever Hans, the horse that seemed to do arithmetic but was reading its questioner's face.

Medical imaging has many examples. In 2018 Zech and colleagues found that chest X-ray models could identify which hospital an image came from; since pneumonia rates differed between hospitals, hospital identity itself became a predictor, and markers in the image corners contributed strongly. In 2020 Luke Oakden-Rayner and colleagues showed that a pneumothorax detector did well largely on cases that already had a chest drain, patients who had already been treated, and much worse on those without. In 2021 COVID-19 chest X-ray models were found to rely on differences between data sources, such as patient positioning and text at the image edges.

Remedies include inspecting saliency maps, counterfactual tests, subgroup analysis, and training on data from many sources. None of them proves that a model has stopped taking shortcuts.

Sources
  1. Geirhos R, Jacobsen JH, Michaelis C, et al. Shortcut learning in deep neural networks. Nat Mach Intell. 2020;2:665–673. arxiv.org/abs/2004.07780
  2. Zech JR, Badgeley MA, Liu M, et al. Variable generalization performance of a deep learning model to detect pneumonia in chest radiographs: a cross-sectional study. PLoS Med. 2018;15(11):e1002683. doi.org/10.1371/journal.pmed.1002683
  3. Oakden-Rayner L, Dunnmon J, Carneiro G, Ré C. Hidden stratification causes clinically meaningful failures in machine learning for medical imaging. ACM CHIL 2020.
  4. DeGrave AJ, Janizek JD, Lee SI. AI for radiographic COVID-19 detection selects shortcuts over signal. Nat Mach Intell. 2021;3:610–619. doi.org/10.1038/s42256-021-00338-7

Key works · 6

Landmark2018PLOS Medicine2,399 citations

Variable generalization performance of a deep learning model to detect pneumonia in chest radiographs: A cross-sectional study

John R. Zech, Marcus A. Badgeley … Eric Karl Oermann

The authors assessed pneumonia classifiers across three healthcare systems. Ranking by hospital alone reached an AUC of 0.861 in a pooled two-hospital dataset. The model trained on that pool achieved 0.931 on its internal test set and 0.815 at a third institution.

SignificanceThe study quantified a source of distribution shift by combining hospital identification experiments with testing at another institution. Subsequent work on COVID-19 radiographs cites it as evidence that a model can obtain high scores from acquisition-related correlates of disease prevalence.

Landmark2021Nature Machine Intelligence1,458 citations

Common pitfalls and recommendations for using machine learning to detect and prognosticate for COVID-19 using chest radiographs and CT scans

Michael Roberts, Derek Driggs … Stephan Ursprung

The authors screened 2,212 records on COVID-19 models using chest radiographs or CT between January and October 2020 and included 62 studies after quality screening. They examined dataset provenance, leakage, bias, and external validation and found no included model with evidence of potential clinical use.

SignificanceThis highly cited review tied recurring problems in early pandemic imaging research to checkable aspects of study design. It explained how duplicate images, mismatched control groups, and absent external testing can coexist with apparently strong diagnostic scores.

Key2019JAMA Dermatology456 citations

Association Between Surgical Skin Markings in Dermoscopic Images and Diagnostic Performance of a Deep Learning Convolutional Neural Network for Melanoma Recognition

Julia K. Winkler, Christine Fink … Rainer Hofmann-Wellenhof

The authors tested a melanoma classifier on unmarked, marked, and cropped dermoscopic images of 130 lesions. They photographed benign nevi with marks on the skin and digitally added marks to archived melanoma images. Specificity fell from 84.1% to 45.8% with marks and was 97.2% in the cropped images.

SignificanceChanging the mark while retaining the same lesion isolated an acquisition-related cue from the appearance of the lesion. The paired design gives direct evidence that a preprocessing or photography decision can shift the predictions of a dermatology classifier authorized for the European market.

Key2020ACM CHIL 2020723 citations

Hidden Stratification Causes Clinically Meaningful Failures in Machine Learning for Medical Imaging

Luke Oakden-Rayner, Jared Dunnmon … Christopher Ré

The authors examined clinically important subsets that had been combined under broad dataset labels. They compared several ways of finding performance differences, including expert-defined subclasses and error review. Experiments on simulated and medical imaging data identified gaps associated with low prevalence, noisy labels, subtle findings, and spurious correlates.

SignificanceThe paper made variation within a nominal diagnostic class an explicit evaluation problem. A later study of a commercial chest radiograph model assessed pneumothorax performance by clinical strata such as the presence of a drain, extending the investigation to a different system.

Key2021Nature Machine Intelligence986 citations

AI for radiographic COVID-19 detection selects shortcuts over signal

Alex J. DeGrave, Joseph D. Janizek, Su-In Lee

The authors trained and audited COVID-19 chest radiograph classifiers using external testing, saliency maps, and image perturbations. Some decisions depended on acquisition-related cues such as laterality markers and image borders. Models that scored well on internal data could lose performance at an external institution.

SignificanceThe study combined several tests of shortcut reliance and showed why internal accuracy or a heat map alone cannot establish that a model recognizes pathology. It provided a case-level audit design that changes a suspected cue and then measures the prediction again.

Key2024Nature Medicine447 citations

The limits of fair medical imaging AI in real-world generalization

Yuzhe Yang, Haoran Zhang … Marzyeh Ghassemi

The authors studied demographic encodings and subgroup disparities in disease classifiers for radiology, ophthalmology, and dermatology. Mitigation could narrow measured gaps in the original data distribution, while its benefit varied on external datasets. Models with weaker demographic encodings often achieved more consistent fairness across the tested settings.

SignificanceThe study made transfer of a fairness intervention an empirical question by evaluating separate populations and institutions. Its design supports looking at overall discrimination, subgroup performance, and external gaps together when testing mitigation in a new deployment setting.