Linear unit-tests for invariance discovery
Not on the map. Why?
Abstract (arXiv)
There is an increasing interest in algorithms to learn invariant correlations across training environments. A big share of the current proposals find theoretical support in the causality literature but, how useful are they in practice? The purpose of this note is to propose six linear low-dimensional problems -- unit tests -- to evaluate different types of out-of-distribution generalization in a precise manner. Following initial experiments, none of the three recently proposed alternatives passes all tests. By providing the code to automatically replicate all the results in this manuscript (https://www.github.com/facebookresearch/InvarianceUnitTests), we hope that our unit tests become a standard steppingstone for researchers in out-of-distribution generalization.
Key facts. Cited by 27 papers in the map (data through 7 Oct 2026). Builds on 9 of its 16 references that are in the map. First posted on arXiv 22 Feb 2021.
Builds on
9 of 16 references.
References · 9
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2013Intriguing properties of neural networkscited by 5,114
- 2015Domain-Adversarial Training of Neural Networkscited by 3,023
- 2020Shortcut Learning in Deep Neural Networkscited by 1,928
- 2019Invariant Risk Minimizationcited by 1,832
- 2018Recognition in Terra Incognitacited by 655
- 2015Causal inference using invariant prediction: identification and confidence intervalscited by 533
- 2018Strike (with) a Pose: Neural Networks Are Easily Fooled by Strange Poses of Familiar Objectscited by 143
- 2020Learning explanations that are hard to varycited by 132
Built on by
Citing papers per year: 2021: 8; 2022: 10; 2023: 5; 2024: 2; 2025: 2.
27 papers.
Sort:
- 2021Towards Out-Of-Distribution Generalization: A Surveycited by 431
- 2022Last Layer Re-Training is Sufficient for Robustness to Spurious Correlationscited by 379
- 2021Invariance Principle Meets Information Bottleneck for Out-of-Distribution Generalizationcited by 220
- 2022Learning Causally Invariant Representations for Out-of-Distribution Generalization on Graphscited by 144
- 2022Provable Domain Generalization via Invariant-Feature Subspace Recoverycited by 32
- 2021Iterative Feature Matching: Toward Provable Domain Generalization with Logarithmic Environmentscited by 30
- 2022WOODS: Benchmarks for Out-of-Distribution Generalization in Time Seriescited by 29
- 2022Explicit Tradeoffs between Adversarial and Natural Distributional Robustnesscited by 20
- 2022"Why did the Model Fail?": Attributing Model Performance Changes to Distribution Shiftscited by 18
- 2023VNE: An Effective Method for Improving Deep Representation by Manipulating Eigenvalue Distributioncited by 17
- 2021On Invariance Penalties for Risk Minimizationcited by 10
- 2024Towards Robust Out-of-Distribution Generalization Bounds via Sharpnesscited by 10
15 more
- 2021Beyond Discriminant Patterns: On the Robustness of Decision Rule Ensemblescited by 4
- 2023Understanding the Robustness of Multi-modal Contrastive Learning to Distribution Shiftcited by 4
- 2022Conditional entropy minimization principle for learning domain invariant representation featurescited by 3
- 2022Decorr: Environment Partitioning for Invariant Learning and OOD Generalizationcited by 3
- 2023Few-shot Adaptation to Distribution Shifts By Mixing Source and Target Embeddingscited by 3
- 2021Identifying and Benchmarking Natural Out-of-Context Prediction Problemscited by 2
- 2022Trade-off between reconstruction loss and feature alignment for domain generalizationcited by 1
- 2023Invariant-Feature Subspace Recovery: A New Class of Provable Domain Generalization Algorithmscited by 1
- 2021A call for better unit testing for invariant risk minimisationcited by 0
- 2021Invariant Risk Minimisation for Cross-Organism Inference: Substituting Mouse Data for Human Data in Human Risk Factor Discoverycited by 0
- 2022Counterfactual Supervision-based Information Bottleneck for Out-of-Distribution Generalizationcited by 0
- 2023Spuriosity Rankings for Free: A Simple Framework for Last Layer Retraining Based on Object Detectioncited by 0
- 2024Towards a Better Evaluation of Out-of-Domain Generalizationcited by 0
- 2025Feature Matching Intervention: Leveraging Observational Data for Causal Representation Learningcited by 0
- 2025PISA: Prioritized Invariant Subgraph Aggregation for Out-of-Distribution Generalization on Graphscited by 0
- 2025PISA: Prioritized Invariant Subgraph Aggregation for Out-of-Distribution Generalization on Graphs27 Nov 2025
- 2025Feature Matching Intervention: Leveraging Observational Data for Causal Representation Learning5 Mar 2025
- 2024Towards a Better Evaluation of Out-of-Domain Generalization30 May 2024
- 2024Towards Robust Out-of-Distribution Generalization Bounds via Sharpness11 Mar 2024
- 2023Invariant-Feature Subspace Recovery: A New Class of Provable Domain Generalization Algorithms2 Nov 2023
- 2023Spuriosity Rankings for Free: A Simple Framework for Last Layer Retraining Based on Object Detection31 Oct 2023
- 2023Understanding the Robustness of Multi-modal Contrastive Learning to Distribution Shift8 Oct 2023
- 2023Few-shot Adaptation to Distribution Shifts By Mixing Source and Target Embeddings23 May 2023
- 2023VNE: An Effective Method for Improving Deep Representation by Manipulating Eigenvalue Distribution4 Apr 2023
- 2022Decorr: Environment Partitioning for Invariant Learning and OOD Generalization18 Nov 2022
- 2022Trade-off between reconstruction loss and feature alignment for domain generalization26 Oct 2022
- 2022"Why did the Model Fail?": Attributing Model Performance Changes to Distribution Shifts19 Oct 2022
15 more
- 2022Explicit Tradeoffs between Adversarial and Natural Distributional Robustness15 Sep 2022
- 2022Counterfactual Supervision-based Information Bottleneck for Out-of-Distribution Generalization16 Aug 2022
- 2022Last Layer Re-Training is Sufficient for Robustness to Spurious Correlations6 Apr 2022
- 2022WOODS: Benchmarks for Out-of-Distribution Generalization in Time Series18 Mar 2022
- 2022Learning Causally Invariant Representations for Out-of-Distribution Generalization on Graphs11 Feb 2022
- 2022Provable Domain Generalization via Invariant-Feature Subspace Recovery30 Jan 2022
- 2022Conditional entropy minimization principle for learning domain invariant representation features25 Jan 2022
- 2021Invariant Risk Minimisation for Cross-Organism Inference: Substituting Mouse Data for Human Data in Human Risk Factor Discovery14 Nov 2021
- 2021Identifying and Benchmarking Natural Out-of-Context Prediction Problems25 Oct 2021
- 2021Beyond Discriminant Patterns: On the Robustness of Decision Rule Ensembles21 Sep 2021
- 2021Towards Out-Of-Distribution Generalization: A Survey31 Aug 2021
- 2021Iterative Feature Matching: Toward Provable Domain Generalization with Logarithmic Environments18 Jun 2021
- 2021On Invariance Penalties for Risk Minimization17 Jun 2021
- 2021Invariance Principle Meets Information Bottleneck for Out-of-Distribution Generalization11 Jun 2021
- 2021A call for better unit testing for invariant risk minimisation6 Jun 2021
- 2021Towards Out-Of-Distribution Generalization: A Surveycited by 431
- 2022Last Layer Re-Training is Sufficient for Robustness to Spurious Correlationscited by 379
- 2021Invariance Principle Meets Information Bottleneck for Out-of-Distribution Generalizationcited by 220
- 2022Learning Causally Invariant Representations for Out-of-Distribution Generalization on Graphscited by 144
- 2022Provable Domain Generalization via Invariant-Feature Subspace Recoverycited by 32
- 2021Iterative Feature Matching: Toward Provable Domain Generalization with Logarithmic Environmentscited by 30
- 2022WOODS: Benchmarks for Out-of-Distribution Generalization in Time Seriescited by 29
- 2022Explicit Tradeoffs between Adversarial and Natural Distributional Robustnesscited by 20
- 2022"Why did the Model Fail?": Attributing Model Performance Changes to Distribution Shiftscited by 18
- 2023VNE: An Effective Method for Improving Deep Representation by Manipulating Eigenvalue Distributioncited by 17
- 2021On Invariance Penalties for Risk Minimizationcited by 10
- 2024Towards Robust Out-of-Distribution Generalization Bounds via Sharpnesscited by 10
12 most cited of 27 All 27 (JSON)
- 2025PISA: Prioritized Invariant Subgraph Aggregation for Out-of-Distribution Generalization on Graphs27 Nov 2025
- 2025Feature Matching Intervention: Leveraging Observational Data for Causal Representation Learning5 Mar 2025
- 2024Towards a Better Evaluation of Out-of-Domain Generalization30 May 2024
- 2024Towards Robust Out-of-Distribution Generalization Bounds via Sharpness11 Mar 2024
- 2023Invariant-Feature Subspace Recovery: A New Class of Provable Domain Generalization Algorithms2 Nov 2023
- 2023Spuriosity Rankings for Free: A Simple Framework for Last Layer Retraining Based on Object Detection31 Oct 2023
- 2023Understanding the Robustness of Multi-modal Contrastive Learning to Distribution Shift8 Oct 2023
- 2023Few-shot Adaptation to Distribution Shifts By Mixing Source and Target Embeddings23 May 2023
- 2023VNE: An Effective Method for Improving Deep Representation by Manipulating Eigenvalue Distribution4 Apr 2023
- 2022Decorr: Environment Partitioning for Invariant Learning and OOD Generalization18 Nov 2022
- 2022Trade-off between reconstruction loss and feature alignment for domain generalization26 Oct 2022
- 2022"Why did the Model Fail?": Attributing Model Performance Changes to Distribution Shifts19 Oct 2022
12 newest of 27 All 27 (JSON)