Spuriosity Didn't Kill the Classifier: Using Invariant Predictions to Harness Spurious Features
Not on the map. Why?
Abstract (arXiv)
To avoid failures on out-of-distribution data, recent works have sought to extract features that have an invariant or stable relationship with the label across domains, discarding "spurious" or unstable features whose relationship with the label changes across domains. However, unstable features often carry complementary information that could boost performance if used correctly in the test domain. In this work, we show how this can be done without test-domain labels. In particular, we prove that pseudo-labels based on stable features provide sufficient guidance for doing so, provided that stable and unstable features are conditionally independent given the label. Based on this theoretical insight, we propose Stable Feature Boosting (SFB), an algorithm for: (i) learning a predictor that separates stable and conditionally-independent unstable features; and (ii) using the stable-feature predictions to adapt the unstable-feature predictions in the test domain. Theoretically, we prove that SFB can learn an asymptotically-optimal predictor without test-domain labels. Empirically, we demonstrate the effectiveness of SFB on real and synthetic data.
Key facts. Cited by 21 papers in the map (data through 14 Oct 2026). Builds on 42 of its 91 references that are in the map. First posted on arXiv 19 Jul 2023.
Builds on
42 of 91 references.
References · 42
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2017On Calibration of Modern Neural Networkscited by 4,960
- 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,897
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,877
- 2020Shortcut Learning in Deep Neural Networkscited by 1,969
- 2019Invariant Risk Minimizationcited by 1,854
- 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,375
- 2020In Search of Lost Domain Generalizationcited by 1,054
- 2017Deeper, Broader and Artier Domain Generalizationcited by 986
- 2020Do We Really Need to Access the Source Data? Source Hypothesis Transfer for Unsupervised Domain Adaptationcited by 848
- 2020Out-of-Distribution Generalization via Risk Extrapolation (REx)cited by 742
- 2018Recognition in Terra Incognitacited by 658
30 more
- 2013Domain Generalization via Invariant Feature Representationcited by 623
- 2020Learning from Noisy Labels with Deep Neural Networks: A Surveycited by 582
- 2015Causal inference using invariant prediction: identification and confidence intervalscited by 536
- 2013Do Deep Nets Really Need to be Deep?cited by 474
- 2022Last Layer Re-Training is Sufficient for Robustness to Spurious Correlationscited by 381
- 2018Confounding variables can degrade generalization performance of radiological deep learning modelscited by 379
- 2021Self-Supervised Learning with Data Augmentations Provably Isolates Content from Stylecited by 312
- 2018Joint Optimization Framework for Learning with Noisy Labelscited by 293
- 2020Gradient Starvation: A Learning Proclivity in Neural Networkscited by 267
- 2021Gradient Matching for Domain Generalizationcited by 258
- 2019Causality for Machine Learningcited by 243
- 2021Fishr: Invariant Gradient Variances for Out-of-Distribution Generalizationcited by 186
- 2017Learning from Noisy Labels with Distillationcited by 161
- 2020Understanding the Failure Modes of Out-of-Distribution Generalizationcited by 146
- 2021On Calibration and Out-of-domain Generalizationcited by 134
- 2018Anchor regression: heterogeneous data meets causalitycited by 118
- 2021Exploiting Domain-Specific Features to Enhance Domain Generalizationcited by 86
- 2021Counterfactual Invariance to Spurious Correlations: Why and How to Pass Stress Testscited by 77
- 2021Classifier Calibration: A survey on how to assess and improve predicted class probabilitiescited by 73
- 2022Domain-Adjusted Regression or: ERM May Already Learn Features Sufficient for Out-of-Distribution Generalizationcited by 69
- 2013Classification with Asymmetric Label Noise: Consistency and Maximal Denoisingcited by 68
- 2022Probable Domain Generalization via Quantile Risk Minimizationcited by 66
- 2021Causally motivated Shortcut Removal Using Auxiliary Labelscited by 55
- 2021Source-Free Adaptation to Measurement Shift via Bottom-Up Feature Restorationcited by 50
- 2021Out-of-distribution Generalization in the Presence of Nuisance-Induced Spurious Correlationscited by 41
- 2022Invariant and Transportable Representations for Anti-Causal Domain Shiftscited by 37
- 2021If your data distribution shifts, use self-learningcited by 36
- 2022Rich Feature Construction for the Optimization-Generalization Dilemmacited by 34
- 2019Semi-Supervised Learning, Causality and the Conditional Cluster Assumptioncited by 15
- 2018Semi-Generative Modelling: Covariate-Shift Adaptation with Cause and Effect Featurescited by 8
Built on by
Citing papers per year: 2023: 3; 2024: 9; 2025: 6; 2026: 3.
21 papers.
Sort:
- 2024The Clever Hans Mirage: A Comprehensive Survey on Spurious Correlations in Machine Learningcited by 41
- 2023Discovering environments with XRMcited by 26
- 2024On Provable Length and Compositional Generalizationcited by 22
- 2024Domain Generalisation via Imprecise Learningcited by 14
- 2024Accuracy on the wrong line: On the pitfalls of noisy data for out-of-distribution generalisationcited by 9
- 2024Scalable Out-of-distribution Robustness in the Presence of Unobserved Confounderscited by 5
- 2025When Shift Happens - Confounding Is to Blamecited by 5
- 2023When Graph Neural Network Meets Causality: Opportunities, Methodologies and An Outlookcited by 4
- 2024Unifying Invariance and Spuriousity for Graph Out-of-Distribution via Probability of Necessity and Sufficiencycited by 3
- 2024Unifying Invariant and Variant Features for Graph Out-of-Distribution via Probability of Necessity and Sufficiencycited by 2
- 2024Adapting to Shifting Correlations with Unlabeled Data Calibrationcited by 2
- 2025Bridging Distribution Shift and AI Safety: Conceptual and Methodological Synergiescited by 2
9 more
- 2023Context is Environmentcited by 1
- 2025Single-weight Model Editing for Post-hoc Spurious Correlation Neutralizationcited by 1
- 2025Trust Me, I Know the Way: Predictive Uncertainty in the Presence of Shortcut Learningcited by 1
- 2026SCL-GNN: Towards Generalizable Graph Neural Networks via Spurious Correlation Learningcited by 1
- 2024Spurious Correlations in Concept Drift: Can Explanatory Interaction Help?cited by 0
- 2025Should Bias be Eliminated? A General Framework to Use Bias for OOD Generalizationcited by 0
- 2025Transferring Causal Effects using Proxiescited by 0
- 2026Anti-causal domain generalization: Leveraging unlabeled datacited by 0
- 2026Why Invariance is Not Enough for Biomedical Domain Generalization and How to Fix Itcited by 0
- 2026Why Invariance is Not Enough for Biomedical Domain Generalization and How to Fix It2 Apr 2026
- 2026SCL-GNN: Towards Generalizable Graph Neural Networks via Spurious Correlation Learning9 Mar 2026
- 2026Anti-causal domain generalization: Leveraging unlabeled data19 Feb 2026
- 2025Transferring Causal Effects using Proxies29 Oct 2025
- 2025Should Bias be Eliminated? A General Framework to Use Bias for OOD Generalization22 Jul 2025
- 2025Bridging Distribution Shift and AI Safety: Conceptual and Methodological Synergies28 May 2025
- 2025When Shift Happens - Confounding Is to Blame27 May 2025
- 2025Trust Me, I Know the Way: Predictive Uncertainty in the Presence of Shortcut Learning13 Feb 2025
- 2025Single-weight Model Editing for Post-hoc Spurious Correlation Neutralization24 Jan 2025
- 2024Scalable Out-of-distribution Robustness in the Presence of Unobserved Confounders29 Nov 2024
- 2024Adapting to Shifting Correlations with Unlabeled Data Calibration9 Sep 2024
- 2024Spurious Correlations in Concept Drift: Can Explanatory Interaction Help?23 Jul 2024
9 more
- 2024Unifying Invariant and Variant Features for Graph Out-of-Distribution via Probability of Necessity and Sufficiency21 Jul 2024
- 2024Accuracy on the wrong line: On the pitfalls of noisy data for out-of-distribution generalisation27 Jun 2024
- 2024Domain Generalisation via Imprecise Learning6 Apr 2024
- 2024The Clever Hans Mirage: A Comprehensive Survey on Spurious Correlations in Machine Learning20 Feb 2024
- 2024Unifying Invariance and Spuriousity for Graph Out-of-Distribution via Probability of Necessity and Sufficiency14 Feb 2024
- 2024On Provable Length and Compositional Generalization7 Feb 2024
- 2023When Graph Neural Network Meets Causality: Opportunities, Methodologies and An Outlook19 Dec 2023
- 2023Discovering environments with XRM28 Sep 2023
- 2023Context is Environment18 Sep 2023
- 2024The Clever Hans Mirage: A Comprehensive Survey on Spurious Correlations in Machine Learningcited by 41
- 2023Discovering environments with XRMcited by 26
- 2024On Provable Length and Compositional Generalizationcited by 22
- 2024Domain Generalisation via Imprecise Learningcited by 14
- 2024Accuracy on the wrong line: On the pitfalls of noisy data for out-of-distribution generalisationcited by 9
- 2024Scalable Out-of-distribution Robustness in the Presence of Unobserved Confounderscited by 5
- 2025When Shift Happens - Confounding Is to Blamecited by 5
- 2023When Graph Neural Network Meets Causality: Opportunities, Methodologies and An Outlookcited by 4
- 2024Unifying Invariance and Spuriousity for Graph Out-of-Distribution via Probability of Necessity and Sufficiencycited by 3
- 2024Unifying Invariant and Variant Features for Graph Out-of-Distribution via Probability of Necessity and Sufficiencycited by 2
- 2024Adapting to Shifting Correlations with Unlabeled Data Calibrationcited by 2
- 2025Bridging Distribution Shift and AI Safety: Conceptual and Methodological Synergiescited by 2
12 most cited of 21 All 21 (JSON)
- 2026Why Invariance is Not Enough for Biomedical Domain Generalization and How to Fix It2 Apr 2026
- 2026SCL-GNN: Towards Generalizable Graph Neural Networks via Spurious Correlation Learning9 Mar 2026
- 2026Anti-causal domain generalization: Leveraging unlabeled data19 Feb 2026
- 2025Transferring Causal Effects using Proxies29 Oct 2025
- 2025Should Bias be Eliminated? A General Framework to Use Bias for OOD Generalization22 Jul 2025
- 2025Bridging Distribution Shift and AI Safety: Conceptual and Methodological Synergies28 May 2025
- 2025When Shift Happens - Confounding Is to Blame27 May 2025
- 2025Trust Me, I Know the Way: Predictive Uncertainty in the Presence of Shortcut Learning13 Feb 2025
- 2025Single-weight Model Editing for Post-hoc Spurious Correlation Neutralization24 Jan 2025
- 2024Scalable Out-of-distribution Robustness in the Presence of Unobserved Confounders29 Nov 2024
- 2024Adapting to Shifting Correlations with Unlabeled Data Calibration9 Sep 2024
- 2024Spurious Correlations in Concept Drift: Can Explanatory Interaction Help?23 Jul 2024
12 newest of 21 All 21 (JSON)