Disentangling Spurious Correlations: How IRM Handles Diverse Shortcuts in Text Classification
Abstract
In NLP, models trained via Empirical Risk Minimization (ERM) often exploit spurious correlations, such as dialectal markers, at the expense of robust linguistic features, thereby degrading their out-of-distribution (OOD) generalization. Invariant Risk Minimization (IRM) aims to suppress such shortcuts by identifying predictive relationships that remain stable across environments, but its practical utility for NLP remains debated. We use a causality-driven framework to evaluate IRM under three shortcut-generating mechanisms: label-generated features, confounding, and selection bias. Our results show that IRM successfully rejects shortcuts across the evaluated causal and anti-causal structures, including under limited environmental variation and increasing label noise. We then extend our analysis beyond controlled synthetic artifacts to two less constrained settings: gender-profession associations in Bias in Bios and semantically loaded actor-name shortcuts in ActorCorr. These experiments show that invariant learning can mitigate more realistic textual shortcuts, while semantically meaningful features require careful calibration of the invariance penalty.
Versions
Related
- Spurious quantum correlations
- Unsupervised Identification and Removal of Spurious Correlations During Fine-Tuning
- Orbifold Morse Handles I. Morse Indices and Isomorphism Classes of Ordered Handles
- Sliding 2-handles over 3-handles and the barbell diffeomorphism
- Orbifold Morse Handles II. Boundary Regions, Gluing Maps, and Surgery Cobordisms
BibTeX
@misc{grunenwald2026disentangling,
title = {{Disentangling Spurious Correlations: How IRM Handles Diverse Shortcuts in Text Classification}},
author = {Paul Grunenwald and Benoît Crabbé and Guillaume Wisniewski and Pirmin Lemberger},
howpublished = {arXiv},
year = {2026},
month = nov,
doi = {10.48550/arxiv.2611.17107},
eprint = {2611.17107},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2611.17107},
note = {CC BY 4.0},
}
RIS
TY - UNPB
TI - Disentangling Spurious Correlations: How IRM Handles Diverse Shortcuts in Text Classification
AU - Paul Grunenwald
AU - Benoît Crabbé
AU - Guillaume Wisniewski
AU - Pirmin Lemberger
PY - 2026
DA - 2026/11/12
PB - arXiv
DO - 10.48550/arxiv.2611.17107
UR - https://arxiv.org/abs/2611.17107
AB - In NLP, models trained via Empirical Risk Minimization (ERM) often exploit spurious correlations, such as dialectal markers, at the expense of robust linguistic features, thereby degrading their out-of-distribution (OOD) generalization. Invariant Risk Minimization (IRM) aims to suppress such shortcuts by identifying predictive relationships that remain stable across environments, but its practical utility for NLP remains debated. We use a causality-driven framework to evaluate IRM under three shortcut-generating mechanisms: label-generated features, confounding, and selection bias. Our results show that IRM successfully rejects shortcuts across the evaluated causal and anti-causal structures, including under limited environmental variation and increasing label noise. We then extend our analysis beyond controlled synthetic artifacts to two less constrained settings: gender-profession associations in Bias in Bios and semantically loaded actor-name shortcuts in ActorCorr. These experiments show that invariant learning can mitigate more realistic textual shortcuts, while semantically meaningful features require careful calibration of the invariance penalty.
ER -