On the Value of Out-of-Distribution Testing: An Example of Goodhart's Law
arXiv:2005.09241
Abstract
Out-of-distribution (OOD) testing is increasingly popular for evaluating a machine learning system's ability to generalize beyond the biases of a training set. OOD benchmarks are designed to present a different joint distribution of data and labels between training and test time. VQA-CP has become the standard OOD benchmark for visual question answering, but we discovered three troubling practices in its current use. First, most published methods rely on explicit knowledge of the construction of the OOD splits. They often rely on ``inverting'' the distribution of labels, e.g. answering mostly 'yes' when the common training answer is 'no'. Second, the OOD test set is used for model selection. Third, a model's in-domain performance is assessed after retraining it on in-domain splits (VQA v2) that exhibit a more balanced distribution of labels. These three practices defeat the objective of evaluating generalization, and put into question the value of methods specifically designed for this dataset. We show that embarrassingly-simple methods, including one that generates answers at random, surpass the state of the art on some question types. We provide short- and long-term solutions to avoid these pitfalls and realize the benefits of OOD evaluation.
References in corpus (2)
Cited by in corpus (15)
- How I failed machine learning in medical imaging -- shortcomings and recommendations
- Data and its (dis)contents: A survey of dataset development and use in machine learning research
- LPF: A Language-Prior Feedback Objective Function for De-biased Visual Question Answering
- The worst of both worlds: A comparative analysis of errors in learning from data in psychology and machine learning
- Robust Collaborative Filtering to Popularity Distribution Shift
- Language bias in Visual Question Answering: A Survey and Taxonomy
- Distribution-aware Fairness Test Generation
- Greedy Gradient Ensemble for Robust Visual Question Answering
- Understanding and Testing Generalization of Deep Networks on Out-of-Distribution Data
- Overcoming Statistical Shortcuts for Open-ended Visual Counting
- Detecting Spurious Correlations with Sanity Tests for Artificial Intelligence Guided Radiology Systems
- Deconfounded Video Moment Retrieval with Causal Intervention
- Discovering the Unknown Knowns: Turning Implicit Knowledge in the Dataset into Explicit Training Examples for Visual Question Answering
- COVR: A test-bed for Visually Grounded Compositional Generalization with real images
- X-GGM: Graph Generative Modeling for Out-of-Distribution Generalization in Visual Question Answering