Lune

NeurIPS2021Top-tier venue

On Calibration and Out-of-Domain Generalization

Yoav Wald, Amir Feder, Daniel Greenfeld, Uri Shalit

Abstract

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 [23] , as well as the Colored MNIST dataset [21] , 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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

51 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • The Risks of Invariant Risk Minimization cites Out-of-Distribution Generalization via Risk Extrapolation (REx)
  • Fishr: Invariant Gradient Variances for Out-of-Distribution Generalization cites Out-of-Distribution Generalization via Risk Extrapolation (REx)
  • Fishr: Invariant Gradient Variances for Out-of-Distribution Generalization cites The Risks of Invariant Risk Minimization
  • WARM: On the Benefits of Weight Averaged Reward Models cites Fishr: Invariant Gradient Variances for Out-of-Distribution Generalization
  • Nonparametric Identifiability of Causal Representations from Unknown Interventions cites Out-of-Distribution Generalization via Risk Extrapolation (REx)
  • Assaying Out-Of-Distribution Generalization in Transfer Learning cites Out-of-Distribution Generalization via Risk Extrapolation (REx)
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers51

  1. Fishr: Invariant Gradient Variances for Out-of-Distribution GeneralizationAlexandre Ramé, Corentin Dancette, Matthieu CordICML 2022 · 262 citations
  2. WARM: On the Benefits of Weight Averaged Reward ModelsAlexandre Ramé, Nino Vieillard, Léonard Hussenot, Robert Dadashi et al.ICML 2024 · 145 citations
  3. Nonparametric Identifiability of Causal Representations from Unknown InterventionsJulius von Kügelgen, Michel Besserve, Wendong Liang, Luigi Gresele et al.NeurIPS 2023 · 127 citations
  4. Assaying Out-Of-Distribution Generalization in Transfer LearningFlorian Wenzel, Andrea Dittadi, Peter V. Gehler, Carl-Johann Simon-Gabriel et al.NeurIPS 2022 · 93 citations
  5. Energy-Based Open-World Uncertainty Modeling for Confidence CalibrationYezhen Wang, Bo Li, Tong Che, Kaiyang Zhou et al.ICCV 2021 · 78 citations

Builds on7

  1. Out-of-Distribution Generalization via Risk Extrapolation (REx)David Krueger, Ethan Caballero, Jörn-Henrik Jacobsen, Amy Zhang et al.ICML 2021 · 1,163 citations
  2. Calibrating Deep Neural Networks using Focal LossJishnu Mukhoti, Viveka Kulharia, Amartya Sanyal, Stuart Golodetz et al.NeurIPS 2020 · 674 citations
  3. The Risks of Invariant Risk MinimizationElan Rosenfeld, Pradeep Kumar Ravikumar, Andrej RisteskiICLR 2021 · 356 citations
  4. Distribution-free binary classification: prediction sets, confidence intervals and calibrationChirag Gupta, Aleksandr Podkopaev, Aaditya RamdasNeurIPS 2020 · 105 citations
  5. Intra Order-preserving Functions for Calibration of Multi-Class Neural NetworksAmir Rahimi, Amirreza Shaban, Ching-An Cheng, Richard Hartley et al.NeurIPS 2020 · 96 citations

Related papers

  1. Confidence Calibration for Domain Generalization under Covariate ShiftYunye Gong, Xiao Lin, Yi Yao, Thomas G. Dietterich et al.ICCV 2021 · 35 citations
  2. Out-of-distribution Generalization with Causal Invariant TransformationsRuoyu Wang, Mingyang Yi, Zhitang Chen, Shengyu ZhuCVPR 2022 · 40 citations
  3. Robust Calibration with Multi-domain Temperature ScalingYaodong Yu, Stephen Bates, Yi Ma, Michael I. JordanNeurIPS 2022 · 58 citations
  4. Causal Balancing for Domain GeneralizationXinyi Wang, Michael Saxon, Jiachen Li, Hongyang Zhang et al.ICLR 2023 · 4 citations
  5. Set Learning for Accurate and Calibrated ModelsLukas Muttenthaler, Robert A. Vandermeulen, Qiuyi Zhang, Thomas Unterthiner et al.ICLR 2024 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines