mlsanityData to 7 Oct 2026

Invariant Language Modeling

arXiv 2110.08413 ↗First posted 16 Oct 2021cs.CL cs.LGcited by 15

Not on the map. Why?

Abstract (arXiv)

Large pretrained language models are critical components of modern NLP pipelines. Yet, they suffer from spurious correlations, poor out-of-domain generalization, and biases. Inspired by recent progress in causal machine learning, in particular the invariant risk minimization (IRM) paradigm, we propose invariant language modeling, a framework for learning invariant representations that generalize better across multiple environments. In particular, we adapt a game-theoretic formulation of IRM (IRM-games) to language models, where the invariance emerges from a specific training schedule in which all the environments compete to optimize their own environment-specific loss by updating subsets of the model in a round-robin fashion. We focus on controlled experiments to precisely demonstrate the ability of our method to (i) remove structured noise, (ii) ignore specific spurious correlations without affecting global performance, and (iii) achieve better out-of-domain generalization. These benefits come with a negligible computational overhead compared to standard training, do not require changing the local loss, and can be applied to any language model. We believe this framework is promising to help mitigate spurious correlations and biases in language models.

Key facts. Cited by 15 papers in the map (data through 7 Oct 2026). Builds on 37 of its 59 references that are in the map. First posted on arXiv 16 Oct 2021.

Builds on

37 of 59 references.

References · 37

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  4. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
  5. 2016Pointer Sentinel Mixture Modelscited by 2,992
  6. 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,857
  7. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
  8. 2019Invariant Risk Minimizationcited by 1,832
  9. 2020In Search of Lost Domain Generalizationcited by 1,042
  10. 2020StereoSet: Measuring stereotypical bias in pretrained language modelscited by 911
  11. 2017Learning to Generalize: Meta-Learning for Domain Generalizationcited by 762
  12. 2013Domain Generalization via Invariant Feature Representationcited by 622
25 more
  1. 2021Domain Generalization with MixStylecited by 563
  2. 2015Causal inference using invariant prediction: identification and confidence intervalscited by 533
  3. 2017Men Also Like Shopping: Reducing Gender Bias Amplification using Corpus-level Constraintscited by 420
  4. 2019Domain Generalization via Model-Agnostic Learning of Semantic Featurescited by 405
  5. 2019Multi-Task Deep Neural Networks for Natural Language Understandingcited by 349
  6. 2020Learning to Generate Novel Domains for Domain Generalizationcited by 296
  7. 2020The Risks of Invariant Risk Minimizationcited by 262
  8. 2019Causality for Machine Learningcited by 242
  9. 2019Identifying and Reducing Gender Bias in Word-Level Language Modelscited by 214
  10. 2019Probing Neural Network Comprehension of Natural Language Argumentscited by 212
  11. 2018Gender Bias in Neural Natural Language Processingcited by 210
  12. 2020Invariant Risk Minimization Gamescited by 188
  13. 2018Knowledge Distillation by On-the-Fly Native Ensemblecited by 186
  14. 2018Learning Gender-Neutral Word Embeddingscited by 169
  15. 2018Domain Generalization via Conditional Invariant Representationcited by 146
  16. 2019Distributionally Robust Language Modelingcited by 142
  17. 2020An Empirical Study on Robustness to Spurious Correlations using Pre-trained Language Modelscited by 133
  18. 2021Evaluating the Robustness of Neural Language Models to Input Perturbationscited by 87
  19. 2018Theoretical Impediments to Machine Learning With Seven Sparks from the Causal Revolutioncited by 66
  20. 2020Empirical or Invariant Risk Minimization? A Sample Complexity Perspectivecited by 62
  21. 2020Learning Causal Semantic Representation for Out-of-Distribution Predictioncited by 60
  22. 2019Reducing Gender Bias in Word-Level Language Models with a Gender-Equalizing Loss Functioncited by 57
  23. 2019Adversarial Invariant Feature Learning with Accuracy Constraint for Domain Generalizationcited by 43
  24. 2021Out-of-distribution Prediction with Invariant Risk Minimization: The Limitation and An Effective Fixcited by 27
  25. 2020Domain Adversarial Fine-Tuning as an Effective Regularizercited by 8

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 5; 2023: 6; 2024: 2; 2025: 1; 2026: 1.

15 papers.

Sort:

By area: