domain shift
域偏移
A systematic difference between the data a model was trained on and the data it meets in use: another scanner, protocol, hospital, or patient population. It is the usual reason a model that tests well at its own hospital performs worse elsewhere.
Deep networks assume that test data come from the same distribution as training data, and medical imaging breaks that assumption easily. Vendors' reconstruction software, slice thickness, MRI sequence settings, and pathology stain batches all change pixel statistics, and patient age and disease mix vary from place to place.
The classic demonstration came from John Zech and colleagues in PLOS Medicine in 2018. A pneumonia model trained on chest films from the NIH Clinical Center scored an AUC of 0.750 on internal test data but 0.695 at Mount Sinai. The network could also tell which hospital a film came from, with more than 99.9% accuracy for two of the three sites, and it leaned on cues such as portable-scanner images, which track how sick a ward's patients are rather than the disease itself: a case of shortcut learning.
Remedies include training on many centers, stronger data augmentation, and domain adaptation. The basic safeguard is external validation before a model goes into use.
- Zech JR, Badgeley MA, Liu M, Costa AB, Titano JJ, Oermann EK. 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
Key works · 21
Landmark2016Journal of Machine Learning Research650 citations
Domain-Adversarial Training of Neural Networks
The paper introduced a gradient reversal layer for learning features that predict labels in a source domain while obscuring whether an input came from the source or the unlabeled target domain. Tests covered image classification, person reidentification, and sentiment analysis, with gains on the domain-adaptation benchmarks studied.
SignificanceGradient reversal put a task predictor and a domain discriminator in a single training procedure. Guan and Liu's survey places it among the foundational adversarial approaches to medical image domain adaptation, where reducing the effect of differences between acquisition sources is a recurring objective.
arXiv Full text Yaroslav GaninVictor Lempitsky domain adaptationdomain shifttransfer learning
Landmark2017NeurIPS 20175,194 citations
Simple and Scalable Predictive Uncertainty Estimation using Deep Ensembles
The authors train several probabilistic networks independently with proper scoring rules and combine their predictive distributions. Experiments compare classification and regression performance, calibration, and uncertainty on inputs from changed distributions. The method uses independent training runs and is amenable to parallel implementation.
SignificanceDeep ensembles became a practical empirical comparator for approximate Bayesian methods. Subsequent benchmarks evaluated them across dataset shifts, and work on medical segmentation calibration examined whether averaging independently trained models improves voxel probabilities and helps identify masks requiring review.
arXiv Balaji LakshminarayananCharles Blundell uncertainty estimationneural networkdomain shiftprobability calibration
Landmark2017NeurIPS 20174,781 citations
What Uncertainties Do We Need in Bayesian Deep Learning for Computer Vision?
The paper distinguishes input-dependent observation uncertainty from uncertainty in the learned model. It predicts a data-dependent noise scale and uses dropout sampling to approximate variation from the model. Semantic segmentation and depth regression experiments illustrate how the two components respond under different conditions.
SignificanceThe work made the distinction between observation noise and model uncertainty operational in computer vision. The later medical image analysis survey uses the same distinction when organizing evaluation of ambiguous observations, limited training information, and changes in input distribution.
arXiv Alex KendallYarin Gal uncertainty estimationimage segmentationdomain shiftdropoutBayesian neural network
Landmark2018Nature Medicine3,120 citations
Clinically applicable deep learning for diagnosis and referral in retinal disease
The system segments tissues in three-dimensional retinal OCT and uses the tissue maps to predict diagnoses and referral urgency. The retrospective evaluation compares referral decisions with expert judgments. For a second scanner type in the same hospital setting, the authors retrained the segmentation network and tested referral performance with the classifier unchanged.
SignificanceThe intermediate tissue maps made it possible to examine what retinal structures the system detected before assigning a referral decision. By testing a change of scanner at this interface, the study also gave a concrete example of examining transfer across OCT devices.
DOI Full text Jeffrey De FauwPearse Andrew KeaneOlaf Ronneberger optical coherence tomographyimage segmentationreader studydomain shift
Landmark2018PLOS Medicine2,399 citations
Variable generalization performance of a deep learning model to detect pneumonia in chest radiographs: A cross-sectional study
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.
DOI arXiv Full text John R. ZechEric K. Oermann radiographyexternal validationdomain shiftshortcut learningdomain generalization
Landmark2019NeurIPS 20192,974 citations
Can You Trust Your Model's Uncertainty? Evaluating Predictive Uncertainty Under Dataset Shift
The authors benchmark post-hoc calibration, dropout, approximate Bayesian methods, and deep ensembles at several levels of dataset shift. In their experiments, accuracy and calibration generally deteriorate as shift intensifies, although methods differ in the extent to which they retain useful uncertainty information.
SignificanceThe benchmark made uncertainty under dataset shift a separate experimental target from calibration on in-distribution data. Its common test conditions allow later studies to compare which methods become overconfident at a given degree of input degradation.
arXiv Yaniv OvadiaJasper Snoek uncertainty estimationdomain shiftimage classificationdropoutprobability calibration
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
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.
DOI arXiv Full text Michael RobertsCarola-Bibiane Schönlieb external validationshortcut learningdomain shift
Key2017ICLR 20174,770 citations
A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networks
The authors use the maximum softmax output to flag misclassified and out-of-distribution examples. Across their experiments in image, text, and speech classification, correctly classified examples tend to receive higher scores, giving a simple detector whose strengths and limitations can be measured.
SignificanceThe score requires only the outputs of an existing classifier, which made it a reusable baseline for out-of-distribution detection. The later ODIN study compares against it to measure what temperature adjustment and input preprocessing add to detection performance.
arXiv Dan HendrycksKevin Gimpel uncertainty estimationdomain shiftimage classification
Key2018MICCAI 2018 (LNCS 11070)487 citations
Distribution Matching Losses Can Hallucinate Features in Medical Image Translation
The authors varied the frequency of abnormalities between source and target image distributions and tested how CycleGAN translation responded. The experiments demonstrated that matching the target distribution could remove an abnormal feature present in the input or introduce a feature resembling pathology.
SignificanceThe study gave controlled evidence that a plausible translated image can change pathology when the target cohort has different disease prevalence. It provided a reproducible way to evaluate patient-level fidelity separately from visual realism or resemblance to a target image collection.
DOI arXiv Joseph Paul CohenSina Honari generative adversarial networkhallucinationdomain shiftcycle consistency
Key2020IEEE Transactions on Medical Imaging613 citations
Confidence Calibration and Predictive Uncertainty Estimation for Deep Medical Image Segmentation
The authors compare loss functions and ensembles across medical segmentation tasks, evaluating how voxel probabilities correspond to observed outcomes. They aggregate confidence over predicted masks to assess whether uncertainty can estimate segmentation quality and flag examples drawn from a different distribution.
SignificanceThe evaluation measures overlap and probability calibration together, showing that high Dice scores alone do not establish reliable voxel probabilities. Its comparisons offer a reference for judging how segmentation training losses and model averaging affect confidence as well as overlap.
DOI arXiv Full text Alireza MehrtashTina Kapur uncertainty estimationimage segmentationDice coefficientdomain shiftprobability calibration
Key2020IEEE Transactions on Medical Imaging675 citations
Generalizing Deep Learning for Medical Image Segmentation to Unseen Domains via Deep Stacked Transformation
BigAug applied a stack of appearance and geometric transformations to training images to simulate acquisition differences. The evaluation used eight public datasets for three volumetric segmentation tasks in MRI and ultrasound. With small single-source training sets, performance on unseen domains declined less on average than with conventional augmentation.
SignificanceThe paper established a strong augmentation baseline for generalizing from one source domain. Its use of multiple public datasets made it possible to compare locked-model performance across acquisition settings and to judge the benefit of augmentation alongside adaptation approaches that use target images.
DOI Full text Ling ZhangZiyue Xu data augmentationdomain shiftexternal validationdomain generalization
Key2021Nature Machine Intelligence986 citations
AI for radiographic COVID-19 detection selects shortcuts over signal
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.
DOI Full text Alex J. DeGraveSu-In Lee shortcut learningexplainabilitydomain shiftexternal validation
Key2023The Annals of Statistics1,049 citations
Conformal prediction beyond exchangeability
The authors use weighted quantiles to adapt conformal prediction to distribution drift and introduce randomization for fitting algorithms that depend on observation order. They bound the loss of coverage using total variation distances associated with swapping the test point with other observations, and compare weighted and standard methods on drifting data.
SignificanceThe result quantifies how deviations from exchangeability can affect coverage and gives a basis for analyzing weighted calibration under shift. Non-Exchangeable Conformal Risk Control later extended this weighting approach from prediction-set coverage to controlling expected monotone losses.
DOI arXiv Rina Foygel BarberRyan J. Tibshirani uncertainty estimationdomain shiftconformal predictionmarginal coverage
Key2023Nature Biomedical Engineering378 citations
Robust and data-efficient generalization of self-supervised machine learning for diagnostic imaging
REMEDIS combined supervised pretraining on a large natural-image collection with a contrastive self-supervised stage on medical images before task-specific tuning. The study tested several medical image domains under distribution shifts and with limited labels, reporting improved transfer under the evaluated conditions.
SignificanceREMEDIS provided a controlled baseline for measuring what an intermediate self-supervised stage contributes to adaptation under distribution shift. Later computational pathology work compared its representations with pathology-first pretraining, including in the published evaluation of UNI.
DOI Full text Shekoofeh AziziLaura CulpJan FreybergVivek Natarajan self-supervised learningtransfer learningexternal validationdomain shift
Key2023Medical Image Analysis1,082 citations
Segment anything model for medical image analysis: An experimental study
The authors evaluated the original SAM on 19 medical imaging datasets, comparing prompt designs across modalities and anatomical targets. Overlap varied substantially by task. Box prompts generally performed better than a single point, and some targets with indistinct borders remained difficult.
SignificanceThe study quantified the limits of transferring a natural-image segmenter directly to medical images and helped separate model performance from prompt selection. The later SAM 2 evaluation reused much of its dataset collection and expanded the comparison to volumetric prompts.
DOI arXiv Full text Maciej A. MazurowskiHaoyu DongYixin Zhang Segment Anything Modelimage segmentationintersection over uniondomain shift
Notable2020MIDL 2020 (PMLR 121)80 citations
Continual Learning for Domain Adaptation in Chest X-ray Classification
The authors tested continual adaptation between ChestX-ray14 and MIMIC-CXR using joint training, elastic weight consolidation, and Learning without Forgetting. Joint training achieved the best overall performance. Learning without Forgetting offered competitive results while retaining prior-domain performance without needing to revisit the original source images.
SignificanceThis study evaluated model updates on both the original and new domains, making forgetting measurable in a medical imaging setting. Perkonigg and colleagues subsequently cited that line of work when studying scanner changes in a continuous stream with a limited labeling budget.
arXiv domain adaptationdomain shiftChestX-ray14MIMIC-CXRcontinual learning
Notable2020IEEE Transactions on Medical Imaging247 citations
DoFE: Domain-Oriented Feature Embedding for Generalizable Fundus Image Segmentation on Unseen Datasets
DoFE learned a feature bank from several fundus image sources. At inference it estimated each image's similarity to the source domains and used attention to combine source-domain features with the image representation. It improved segmentation of discs, cups, and vessels on held-out datasets relative to the reported generalization and regularization baselines.
SignificanceThe paper provided a reproducible example of multi-source domain generalization in fundus analysis. Its held-out-dataset design exposed performance on a source absent during training and offers a useful comparison with adaptation studies that allow unlabeled images from the deployment domain.
DOI arXiv Shujun WangLequan YuPheng-Ann Heng domain shiftexternal validationfundus photographyimage segmentationdomain generalization
Notable2022The Journal of Machine Learning for Biomedical Imaging8 citations
Continual Active Learning Using Pseudo-Domains for Limited Labelling Resources and Changing Acquisition Characteristics
The method grouped incoming images into pseudo-domains by acquisition characteristics, selected examples under a labeling budget, and rehearsed stored examples to limit forgetting. Across cardiac segmentation, lung nodule detection, and brain age estimation, it improved on active-learning comparators tested on streams containing domain shifts.
SignificanceThe experimental design combined scanner or protocol changes with the cost of continuously seeking expert labels. Evaluating several tasks under a shared streaming setup made it possible to examine whether a model can acquire new capabilities while retaining performance on earlier acquisition conditions.
DOI arXiv Full text domain shiftannotationactive learningcontinual learning
Notable2023UNSURE at MICCAI 2023 (LNCS 14291)20 citations
Pitfalls of Conformal Predictions for Medical Image Classification
Using CAMELYON17 histopathology images, the authors test conformal coverage across hospitals and after resampling changes the label distribution. They also examine coverage by lesion category in HAM10000 dermoscopy images. Coverage for individual categories, including melanoma, can fall below the target even when overall coverage reaches it.
SignificanceThe experiments give medical imaging examples of low class-specific coverage despite adequate overall calibration, and of overall coverage falling after a shift in sites or disease mix. Later work on conformal medical image classification cites its example of prediction sets for skin lesions.
DOI arXiv uncertainty estimationdomain shiftdermoscopyimage classificationconformal predictionmarginal coverage
Notable2025Nature Communications35 citations
Knowledge-guided adaptation of pathology foundation models effectively improves cross-domain generalization and demographic fairness
FLEX used visual and textual prior knowledge to guide a task-specific bottleneck for adapting pathology foundation models. Across three cohorts, 16 tasks, and more than 9,900 slides, the study reported improved transfer to unseen cohorts and reductions in performance differences between demographic groups.
SignificanceThe study treated cross-site transfer and demographic subgroup performance as separately measurable outcomes of pathology model adaptation. Using three cohorts gave the authors a way to test both shifts in data origin and subgroup gaps across multiple downstream tasks.
DOI Full text Yanyan HuangLi LiangShujun WangLequan Yu foundation modelwhole-slide imageexternal validationbias and fairnessdomain shift
Notable2026IEEE Transactions on Biomedical Engineering57 citations
Segment Anything Model 2: An Application to 2D and 3D Medical Images
The authors evaluated 80 prompting strategies across 21 medical datasets, treating adjacent slices as video frames for volumetric segmentation. For three-dimensional targets, box prompts generally improved mask overlap over points, and propagating masks in both directions improved performance over one-way propagation. Two-dimensional performance was similar to the original SAM.
SignificanceThe earlier 19-dataset study tested prompts on individual images. The SAM 2 evaluation controlled where a volume was prompted and varied the direction of mask propagation. It gave researchers a way to measure what one annotated slice contributes to segmentation across a volume.
DOI arXiv Full text Haoyu DongMaciej A. Mazurowski Segment Anything Modelimage segmentationintersection over uniondomain shift