Identifying the Context Shift between Test Benchmarks and Production Data
Not on the map. Why?
Abstract (arXiv)
Machine learning models are often brittle on production data despite achieving high accuracy on benchmark datasets. Benchmark datasets have traditionally served dual purposes: first, benchmarks offer a standard on which machine learning researchers can compare different methods, and second, benchmarks provide a model, albeit imperfect, of the real world. The incompleteness of test benchmarks (and the data upon which models are trained) hinder robustness in machine learning, enable shortcut learning, and leave models systematically prone to err on out-of-distribution and adversarially perturbed data. The mismatch between a single static benchmark dataset and a production dataset has traditionally been described as a dataset shift. In an effort to clarify how to address the mismatch between test benchmarks and production data, we introduce context shift to describe semantically meaningful changes in the underlying data generation process. Moreover, we identify three methods for addressing context shift that would otherwise lead to model prediction errors: first, we describe how human intuition and expert knowledge can identify semantically meaningful features upon which models systematically fail, second, we detail how dynamic benchmarking - with its focus on capturing the data generation process - can promote generalizability through corroboration, and third, we highlight that clarifying a model's limitations can reduce unexpected errors. Robust machine learning is focused on model performance beyond benchmarks, and as such, we consider three model organism domains - facial expression recognition, deepfake detection, and medical diagnosis - to highlight how implicit assumptions in benchmark tasks lead to errors in practice. By paying close attention to the role of context, researchers can design more comprehensive benchmarks, reduce context shift errors, and increase generalizability.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 46 of its 107 references that are in the map. First posted on arXiv 3 Jul 2022.
Builds on
46 of 107 references.
References · 46
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2019Invariant Risk Minimizationcited by 1,832
- 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,507
- 2015Microsoft COCO Captions: Data Collection and Evaluation Servercited by 1,447
- 2019CheXpert: A Large Chest Radiograph Dataset with Uncertainty Labels and Expert Comparisoncited by 1,410
- 2018Datasheets for Datasetscited by 1,371
- 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,366
- 2018Model Cards for Model Reportingcited by 1,068
- 2017Targeted Backdoor Attacks on Deep Learning Systems Using Data Poisoningcited by 1,012
- 2019Adversarial Examples Are Not Bugs, They Are Featurescited by 950
- 2018Robustness May Be at Odds with Accuracycited by 873
34 more
- 2016The Mythos of Model Interpretabilitycited by 716
- 2017Adversarial Patchcited by 514
- 2021Dynabench: Rethinking Benchmarking in NLPcited by 447
- 2021Pervasive Label Errors in Test Sets Destabilize Machine Learning Benchmarkscited by 388
- 2021AI and the Everything in the Whole Wide World Benchmarkcited by 340
- 2013Challenges in Representation Learning: A report on three machine learning contestscited by 301
- 2018Deep Facial Expression Recognition: A Surveycited by 269
- 2020Data and its (dis)contents: A survey of dataset development and use in machine learning researchcited by 259
- 2019Hidden Stratification Causes Clinically Meaningful Failures in Machine Learning for Medical Imagingcited by 215
- 2019The Deepfake Detection Challenge (DFDC) Preview Datasetcited by 208
- 2019A Framework for Understanding Sources of Harm throughout the Machine Learning Life Cyclecited by 192
- 2021Evaluating Deep Neural Networks Trained on Clinical Images in Dermatology with the Fitzpatrick 17k Datasetcited by 184
- 2020BREEDS: Benchmarks for Subpopulation Shiftcited by 155
- 2021Disparities in Dermatology AI: Assessments Using Diverse Clinical Imagescited by 132
- 2019A deep learning system for differential diagnosis of skin diseasescited by 118
- 2022Jury Learning: Integrating Dissenting Voices into Machine Learning Modelscited by 115
- 2020Ethical Machine Learning in Health Carecited by 112
- 2019Human-Centered Tools for Coping with Imperfect Algorithms during Medical Decision-Makingcited by 109
- 2018The Dataset Nutrition Label: A Framework To Drive Higher Data Quality Standardscited by 97
- 2020From ImageNet to Image Classification: Contextualizing Progress on Benchmarkscited by 90
- 2022Distilling Model Failures as Directions in Latent Spacecited by 82
- 2020Context Based Emotion Recognition using EMOTIC Datasetcited by 73
- 2019Adversarial camera stickers: A physical camera-based attack on deep learning systemscited by 69
- 2021Deepfake Detection by Human Crowds, Machines, and Machine-informed Crowdscited by 58
- 2021Causally motivated Shortcut Removal Using Auxiliary Labelscited by 55
- 2020DeepFake Detection: Current Challenges and Next Stepscited by 44
- 2015Going Deeper in Facial Expression Recognition using Deep Neural Networkscited by 43
- 2020The Problem with Metrics is a Fundamental Problem for AIcited by 37
- 2021DISSECT: Disentangled Simultaneous Explanations via Concept Traversalscited by 37
- 2022Understanding Machine Learning Practitioners' Data Documentation Perceptions, Needs, Challenges, and Desideratacited by 28
- 2022REAL ML: Recognizing, Exploring, and Articulating Limitations of Machine Learning Researchcited by 20
- 2022The worst of both worlds: A comparative analysis of errors in learning from data in psychology and machine learningcited by 17
- 2022Perspectives on Incorporating Expert Feedback into Model Updatescited by 7
- 2018Closing the AI Knowledge Gapcited by 2
Built on by
Citing papers per year: 2022: 1; 2023: 2; 2024: 1; 2025: 1.
5 papers.
- 2023Art and the science of generative AI: A deeper divecited by 93
- 2022Towards Transparency in Dermatology Image Datasets with Skin Tone Annotations by Experts, Crowds, and an Algorithmcited by 35
- 2025Characterizing Photorealism and Artifacts in Diffusion Model-Generated Imagescited by 13
- 2023Towards Reliable Dermatology Evaluation Benchmarkscited by 6
- 2024Expert-Driven Monitoring of Operational ML Modelscited by 0
- 2025Characterizing Photorealism and Artifacts in Diffusion Model-Generated Images17 Feb 2025
- 2024Expert-Driven Monitoring of Operational ML Models22 Jan 2024
- 2023Towards Reliable Dermatology Evaluation Benchmarks13 Sep 2023
- 2023Art and the science of generative AI: A deeper dive7 Jun 2023
- 2022Towards Transparency in Dermatology Image Datasets with Skin Tone Annotations by Experts, Crowds, and an Algorithm6 Jul 2022