Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

On the Value of Out-of-Distribution Testing: An Example of Goodhart's Law

About

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.

Damien Teney, Kushal Kafle, Robik Shrestha, Ehsan Abbasnejad, Christopher Kanan, Anton van den Hengel• 2020

Related benchmarks

TaskDatasetResultRank
Visual Question AnsweringVQA-CP v2 (test)
Overall Accuracy55.37
109
Visual Question AnsweringVQA v2 (val)
Accuracy63.34
99
Visual Question AnsweringVQA (val)
Overall Accuracy62.87
55
Visual Question AnsweringVQA-CE
Accuracy34.41
14
Visual Question AnsweringVQA-CE Easy
Accuracy76.21
14
Visual Question AnsweringVQA Easy examples v1 (val)
Accuracy78.87
11
Visual Question AnsweringVQA Counterexamples v1 (val)
Accuracy31.09
11
Visual Question AnsweringVQA-CE (test)
Overall Accuracy0.6334
6
Showing 8 of 8 rows

Other info

Follow for update