mlsanityData to 7 Oct 2026

The Value of Out-of-Distribution Data

arXiv 2208.10967 ↗First posted 23 Aug 2022cs.LG cs.AI cs.CVcited by 12

Not on the map. Why?

Abstract (arXiv)

We expect the generalization error to improve with more samples from a similar task, and to deteriorate with more samples from an out-of-distribution (OOD) task. In this work, we show a counter-intuitive phenomenon: the generalization error of a task can be a non-monotonic function of the number of OOD samples. As the number of OOD samples increases, the generalization error on the target task improves before deteriorating beyond a threshold. In other words, there is value in training on small amounts of OOD data. We use Fisher's Linear Discriminant on synthetic datasets and deep networks on computer vision benchmarks such as MNIST, CIFAR-10, CINIC-10, PACS and DomainNet to demonstrate and analyze this phenomenon. In the idealistic setting where we know which samples are OOD, we show that these non-monotonic trends can be exploited using an appropriately weighted objective of the target and OOD empirical risk. While its practical utility is limited, this does suggest that if we can detect OOD samples, then there may be ways to benefit from them. When we do not know which samples are OOD, we show how a number of go-to strategies such as data-augmentation, hyper-parameter optimization, and pre-training are not enough to ensure that the target generalization error does not deteriorate with the number of OOD samples in the dataset.

Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 30 of its 62 references that are in the map. First posted on arXiv 23 Aug 2022.

Builds on

30 of 62 references.

References · 30

  1. 2016Wide Residual Networkscited by 3,057
  2. 2015Domain-Adversarial Training of Neural Networkscited by 3,023
  3. 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,970
  4. 2019Invariant Risk Minimizationcited by 1,832
  5. 2018Moment Matching for Multi-Source Domain Adaptationcited by 1,327
  6. 2020Energy-based Out-of-distribution Detectioncited by 1,296
  7. 2019Distributionally Robust Neural Networks for Group Shifts: On the Importance of Regularization for Worst-Case Generalizationcited by 1,232
  8. 2016Deep CORAL: Correlation Alignment for Deep Domain Adaptationcited by 1,194
  9. 2020In Search of Lost Domain Generalizationcited by 1,042
  10. 2017Deeper, Broader and Artier Domain Generalizationcited by 983
  11. 2022Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distributioncited by 722
  12. 2022Out-of-Distribution Detection with Deep Nearest Neighborscited by 596
18 more
  1. 2019Likelihood Ratios for Out-of-Distribution Detectioncited by 451
  2. 2020Dataset Cartography: Mapping and Diagnosing Datasets with Training Dynamicscited by 423
  3. 2018Tune: A Research Platform for Distributed Model Selection and Trainingcited by 395
  4. 2017Certified Defenses for Data Poisoning Attackscited by 288
  5. 2021Exploring the Limits of Out-of-Distribution Detectioncited by 283
  6. 2015Domain Generalization for Object Recognition with Multi-task Autoencoderscited by 253
  7. 2018What is the Effect of Importance Weighting in Deep Learning?cited by 250
  8. 2020Contrastive Training for Improved Out-of-Distribution Detectioncited by 186
  9. 2020BREEDS: Benchmarks for Subpopulation Shiftcited by 155
  10. 2016Theoretical Analysis of Domain Adaptation with Optimal Transportcited by 105
  11. 2021Extending the WILDS Benchmark for Unsupervised Adaptationcited by 85
  12. 2021On the Impact of Spurious Correlation for Out-of-distribution Detectioncited by 68
  13. 2020On the Value of Target Data in Transfer Learningcited by 62
  14. 2017Generative Poisoning Attack Method Against Neural Networkscited by 49
  15. 2022A Data-Based Perspective on Transfer Learningcited by 32
  16. 2013Generalization Bounds for Domain Adaptationcited by 27
  17. 2022Deconstructing Distributions: A Pointwise Framework of Learningcited by 19
  18. 2021Characterizing and Understanding the Generalization Error of Transfer Learning with Gibbs Algorithmcited by 14

Built on by

Cited by year

Citing papers per year: 2023: 7; 2024: 1; 2025: 4.

12 papers.