mlsanityData to 7 Oct 2026

On Calibration and Out-of-domain Generalization

arXiv 2102.10395 ↗First posted 20 Feb 2021cs.LGcited by 134

Not on the map. Why?

Abstract (arXiv)

Out-of-domain (OOD) generalization is a significant challenge for machine learning models. Many techniques have been proposed to overcome this challenge, often focused on learning models with certain invariance properties. In this work, we draw a link between OOD performance and model calibration, arguing that calibration across multiple domains can be viewed as a special case of an invariant representation leading to better OOD generalization. Specifically, we show that under certain conditions, models which achieve multi-domain calibration are provably free of spurious correlations. This leads us to propose multi-domain calibration as a measurable and trainable surrogate for the OOD performance of a classifier. We therefore introduce methods that are easy to apply and allow practitioners to improve multi-domain calibration by training or modifying an existing model, leading to better performance on unseen domains. Using four datasets from the recently proposed WILDS OOD benchmark, as well as the Colored MNIST dataset, we demonstrate that training or tuning models so they are calibrated across multiple domains leads to significantly improved performance on unseen test domains. We believe this intriguing connection between calibration and OOD generalization is promising from both a practical and theoretical point of view.

Key facts. Cited by 134 papers in the map (data through 7 Oct 2026). Builds on 35 of its 78 references that are in the map. First posted on arXiv 20 Feb 2021.

Builds on

35 of 78 references.

References · 35

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  4. 2016Densely Connected Convolutional Networkscited by 6,691
  5. 2017On Calibration of Modern Neural Networkscited by 4,860
  6. 2016Identity Mappings in Deep Residual Networkscited by 1,960
  7. 2019Invariant Risk Minimizationcited by 1,832
  8. 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,366
  9. 2019Distributionally Robust Neural Networks for Group Shifts: On the Importance of Regularization for Worst-Case Generalizationcited by 1,232
  10. 2016Deep CORAL: Correlation Alignment for Deep Domain Adaptationcited by 1,194
  11. 2020In Search of Lost Domain Generalizationcited by 1,042
  12. 2020Out-of-Distribution Generalization via Risk Extrapolation (REx)cited by 737
23 more
  1. 2016CVXPY: A Python-Embedded Modeling Language for Convex Optimizationcited by 633
  2. 2015Causal inference using invariant prediction: identification and confidence intervalscited by 533
  3. 2019Measuring Calibration in Deep Learningcited by 443
  4. 2018Accurate Uncertainties for Deep Learning Using Calibrated Regressioncited by 417
  5. 2017On Fairness and Calibrationcited by 406
  6. 2019Nuanced Metrics for Measuring Unintended Bias with Real Data for Text Classificationcited by 396
  7. 2018Confounding variables can degrade generalization performance of radiological deep learning modelscited by 374
  8. 2020Calibrating Deep Neural Networks using Focal Losscited by 353
  9. 2017Functional Map of the Worldcited by 338
  10. 2020Calibration of Pre-trained Transformerscited by 307
  11. 2020The Risks of Invariant Risk Minimizationcited by 262
  12. 2018Learning Not to Learn: Training Deep Neural Networks with Biased Datacited by 255
  13. 2019Evaluating model calibration in classificationcited by 165
  14. 2017Invariant Causal Prediction for Nonlinear Modelscited by 140
  15. 2017Domain Adaptation by Using Causal Inference to Predict Invariant Conditional Distributionscited by 125
  16. 2018Anchor regression: heterogeneous data meets causalitycited by 116
  17. 2021Does Invariant Risk Minimization Capture Invariance?cited by 116
  18. 2020Distribution-free binary classification: prediction sets, confidence intervals and calibrationcited by 79
  19. 2020Intra Order-preserving Functions for Calibration of Multi-Class Neural Networkscited by 65
  20. 2020Transferable Calibration with Lower Bias and Variance in Domain Adaptationcited by 41
  21. 2021Out-of-distribution Prediction with Invariant Risk Minimization: The Limitation and An Effective Fixcited by 27
  22. 2020Sample Complexity of Uniform Convergence for Multicalibrationcited by 24
  23. 2013A Probabilistic Calculus of Actionscited by 14

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 11; 2022: 42; 2023: 35; 2024: 25; 2025: 14; 2026: 7.

134 papers.

Sort:

By area:

  1. 2021Generalizing to Unseen Domains: A Survey on Domain Generalizationcited by 762
  2. 2021Fishr: Invariant Gradient Variances for Out-of-Distribution Generalizationcited by 186
  3. 2021Causal Inference in Natural Language Processing: Estimation, Prediction, Interpretation and Beyondcited by 177
  4. 2024WARM: On the Benefits of Weight Averaged Reward Modelscited by 145
  5. 2023Nonparametric Identifiability of Causal Representations from Unknown Interventionscited by 105
  6. 2022Uncertainty Quantification with Pre-trained Language Models: A Large-Scale Empirical Analysiscited by 104
  7. 2022On the Paradox of Learning to Reason from Datacited by 93
  8. 2021Evading the Simplicity Bias: Training a Diverse Set of Models Discovers Solutions with Superior OOD Generalizationcited by 83
  9. 2022Domain-Adjusted Regression or: ERM May Already Learn Features Sufficient for Out-of-Distribution Generalizationcited by 69
  10. 2022Trustworthy clinical AI solutions: a unified review of uncertainty quantification in deep learning models for medical image analysiscited by 62
  11. 2021PADA: Example-based Prompt Learning for on-the-fly Adaptation to Unseen Domainscited by 61
  12. 2022Assaying Out-Of-Distribution Generalization in Transfer Learningcited by 53
38 more
  1. 2021Energy-Based Open-World Uncertainty Modeling for Confidence Calibrationcited by 46
  2. 2021Out-of-distribution Generalization in the Presence of Nuisance-Induced Spurious Correlationscited by 41
  3. 2022Robust Calibration with Multi-domain Temperature Scalingcited by 39
  4. 2024The Clever Hans Mirage: A Comprehensive Survey on Spurious Correlations in Machine Learningcited by 39
  5. 2022Pareto Invariant Risk Minimization: Towards Mitigating the Optimization Dilemma in Out-of-Distribution Generalizationcited by 38
  6. 2022Invariant and Transportable Representations for Anti-Causal Domain Shiftscited by 37
  7. 2022Towards Understanding and Boosting Adversarial Transferability from a Distribution Perspectivecited by 36
  8. 2023Understanding and Improving Feature Learning for Out-of-Distribution Generalizationcited by 35
  9. 2022Rich Feature Construction for the Optimization-Generalization Dilemmacited by 34
  10. 2022Calibrated ensembles can mitigate accuracy tradeoffs under distribution shiftcited by 34
  11. 2022Calibrated Selective Classificationcited by 30
  12. 2023Don't blame Dataset Shift! Shortcut Learning due to Gradients and Cross Entropycited by 30
  13. 2022Sample-Efficient Reinforcement Learning in the Presence of Exogenous Informationcited by 26
  14. 2022Predicting is not Understanding: Recognizing and Addressing Underspecification in Machine Learningcited by 26
  15. 2023Discovering environments with XRMcited by 26
  16. 2023Improving Generalization of Alignment with Human Preferences through Group Invariant Learningcited by 25
  17. 2022Exploring Predictive Uncertainty and Calibration in NLP: A Study on the Impact of Method & Data Scarcitycited by 24
  18. 2023Distribution Shift Inversion for Out-of-Distribution Predictioncited by 23
  19. 2023MADG: Margin-based Adversarial Learning for Domain Generalizationcited by 22
  20. 2023Spuriosity Didn't Kill the Classifier: Using Invariant Predictions to Harness Spurious Featurescited by 21
  21. 2025Towards LLMs Robustness to Changes in Prompt Format Stylescited by 21
  22. 2022Causal Balancing for Domain Generalizationcited by 20
  23. 2024A Survey on Evaluation of Out-of-Distribution Generalizationcited by 20
  24. 2022When Does Group Invariant Learning Survive Spurious Correlations?cited by 18
  25. 2022Parameter-Efficient Prompt Tuning Makes Generalized and Calibrated Neural Text Retrieverscited by 18
  26. 2022Nuisances via Negativa: Adjusting for Spurious Correlations via Data Augmentationcited by 18
  27. 2022NEVIS'22: A Stream of 100 Tasks Sampled from 30 Years of Computer Vision Researchcited by 18
  28. 2022Robust Hybrid Learning With Expert Augmentationcited by 17
  29. 2023Toward Degree Bias in Embedding-Based Knowledge Graph Completioncited by 17
  30. 2023Calibrating Multimodal Learningcited by 17
  31. 2023Causal Context Connects Counterfactual Fairness to Robust Prediction and Group Fairnesscited by 17
  32. 2022Example-based Hypernetworks for Out-of-Distribution Generalizationcited by 16
  33. 2022Domain Generalization -- A Causal Perspectivecited by 14
  34. 2022Learning useful representations for shifting tasks and distributionscited by 14
  35. 2023Beyond In-Domain Scenarios: Robust Density-Aware Calibrationcited by 14
  36. 2023Data Augmentations for Improved (Large) Language Model Generalizationcited by 14
  37. 2024A Framework for Efficient Model Evaluation through Stratification, Sampling, and Estimationcited by 13
  38. 2021A comparison of approaches to improve worst-case predictive model performance over patient subpopulationscited by 12

50 most cited of 134 All 134 (JSON)