Lune

ICML2021Top-tier venue

Mandoline: Model Evaluation under Distribution Shift

Mayee F. Chen, Karan Goel, Nimit Sharad Sohoni, Fait Poms, Kayvon Fatahalian, Christopher Ré

Abstract

Machine learning models are often deployed in different settings than they were trained and validated on, posing a challenge to practitioners who wish to predict how well the deployed model will perform on a target distribution. If an unlabeled sample from the target distribution is available, along with a labeled sample from a possibly different source distribution, standard approaches such as importance weighting can be applied to estimate performance on the target. However, importance weighting struggles when the source and target distributions have non-overlapping support or are high-dimensional. Taking inspiration from fields such as epidemiology and polling, we develop Mandoline, a new evaluation framework that mitigates these issues. Our key insight is that practitioners may have prior knowledge about the ways in which the distribution shifts, which we can use to better guide the importance weighting procedure. Specifically, users write simple"slicing functions"- noisy, potentially correlated binary functions intended to capture possible axes of distribution shift - to compute reweighted performance estimates. We further describe a density ratio estimation framework for the slices and show how its estimation error scales with slice quality and dataset size. Empirical validation on NLP and vision tasks shows that Mandoline can estimate performance on the target distribution up to 3x more accurately compared to standard baselines.

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.

30 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

  • Domino: Discovering Systematic Errors with Cross-Modal Embeddings cites WILDS: A Benchmark of in-the-Wild Distribution Shifts
  • Leveraging unlabeled data to predict out-of-distribution performance cites Detecting Errors and Estimating Accuracy on Unlabeled Data with Self-training Ensembles
  • Leveraging unlabeled data to predict out-of-distribution performance cites Predicting with Confidence on Unseen Distributions
  • Leveraging unlabeled data to predict out-of-distribution performance cites WILDS: A Benchmark of in-the-Wild Distribution Shifts
  • Agreement-on-the-line: Predicting the Performance of Neural Networks under Distribution Shift cites Leveraging unlabeled data to predict out-of-distribution performance
  • Agreement-on-the-line: Predicting the Performance of Neural Networks under Distribution Shift cites Detecting Errors and Estimating Accuracy on Unlabeled Data with Self-training Ensembles
  • Agreement-on-the-line: Predicting the Performance of Neural Networks under Distribution Shift cites Predicting with Confidence on Unseen Distributions
  • Agreement-on-the-line: Predicting the Performance of Neural Networks under Distribution Shift cites WILDS: A Benchmark of in-the-Wild Distribution Shifts
  • Detecting Errors and Estimating Accuracy on Unlabeled Data with Self-training Ensembles cites Predicting with Confidence on Unseen Distributions
  • Detecting Errors and Estimating Accuracy on Unlabeled Data with Self-training Ensembles cites WILDS: A Benchmark of in-the-Wild Distribution Shifts
  • Predicting with Confidence on Unseen Distributions cites WILDS: A Benchmark of in-the-Wild Distribution Shifts
  • WILDS: A Benchmark of in-the-Wild Distribution Shifts cites Learning The Difference That Makes A Difference With Counterfactually-Augmented Data
  • WILDS: A Benchmark of in-the-Wild Distribution Shifts cites Beyond Accuracy: Behavioral Testing of NLP Models with CheckList
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers30

  1. Domino: Discovering Systematic Errors with Cross-Modal EmbeddingsSabri Eyuboglu, Maya Varma, Khaled Kamal Saab, Jean-Benoit Delbrouck et al.ICLR 2022 · 178 citations
  2. Leveraging unlabeled data to predict out-of-distribution performanceSaurabh Garg, Sivaraman Balakrishnan, Zachary Chase Lipton, Behnam Neyshabur et al.ICLR 2022 · 160 citations
  3. Predicting with Confidence on Unseen DistributionsDevin Guillory, Vaishaal Shankar, Sayna Ebrahimi, Trevor Darrell et al.ICCV 2021 · 141 citations
  4. Agreement-on-the-line: Predicting the Performance of Neural Networks under Distribution ShiftChristina Baek, Yiding Jiang, Aditi Raghunathan, J. Zico KolterNeurIPS 2022 · 120 citations
  5. Detecting Errors and Estimating Accuracy on Unlabeled Data with Self-training EnsemblesJiefeng Chen, Frederick Liu, Besim Avci, Xi Wu et al.NeurIPS 2021 · 79 citations

Builds on8

  1. WILDS: A Benchmark of in-the-Wild Distribution ShiftsPang Wei Koh, Shiori Sagawa, Henrik Marklund, Sang Michael Xie et al.ICML 2021 · 1,773 citations
  2. Learning The Difference That Makes A Difference With Counterfactually-Augmented DataDivyansh Kaushik, Eduard H. Hovy, Zachary Chase LiptonICLR 2020 · 625 citations
  3. Rethinking Importance Weighting for Deep Learning under Distribution ShiftTongtong Fang, Nan Lu, Gang Niu, Masashi SugiyamaNeurIPS 2020 · 179 citations
  4. Telescoping Density-Ratio EstimationBenjamin Rhodes, Kai Xu, Michael U. GutmannNeurIPS 2020 · 148 citations
  5. Beyond Accuracy: Behavioral Testing of NLP Models with CheckListMarco Túlio Ribeiro, Tongshuang Wu, Carlos Guestrin, Sameer SinghACL 2020 · 51 citations

Related papers

  1. Understanding new tasks through the lens of training data via exponential tiltingSubha Maity, Mikhail Yurochkin, Moulinath Banerjee, Yuekai SunICLR 2023 · 1 citation
  2. ReTaSA: A Nonparametric Functional Estimation Approach for Addressing Continuous Target ShiftHwanwoo Kim, Xin Zhang, Jiwei Zhao, Qinglong TianICLR 2024 · 3 citations
  3. Estimating Generalization under Distribution Shifts via Domain-Invariant RepresentationsChing-Yao Chuang, Antonio Torralba, Stefanie JegelkaICML 2020 · 72 citations
  4. Off-Policy Evaluation and Learning for External Validity under a Covariate ShiftMasatoshi Uehara, Masahiro Kato, Shota YasuiNeurIPS 2020 · 60 citations
  5. IW-GAE: Importance weighted group accuracy estimation for improved calibration and model selection in unsupervised domain adaptationTaejong Joo, Diego KlabjanICML 2024 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines