Disentangling Spurious Correlations: How IRM Handles Diverse Shortcuts in Text Classification
Paul Grunenwald, Benoît Crabbé, Guillaume Wisniewski, Pirmin Lemberger
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.
Create a lesson
Related papers
Leakage-aware calibrated decision-level fusion for mental-health text classification
Shared title terminology · Wadii Boulila, Giuseppe Varone, Bilel Benjdira et al.
Beyond Controllability: Speaker Diversity in Instruction-Guided Text-to-Speech
Shared title terminology · Yi-Cheng Lin, Jia-Kai Dong, Kuan-Yu Chen et al.
LitArc-Bench: Disentangling Text-Specific Reader-Response Dynamics from Position and Lexical Affect
Shared title terminology · Mingming Su, Yushan Wei, Sen Song et al.
ICARE: cross-domain text classification with incremental class-aware representation and distillation learning
Shared title terminology · Son Duong, Truong X. Tran, Hai-Anh Tran
Explicit Style Extraction for Personalized Long-Form Text Generation
Shared title terminology · Jenitha Reddy Patel, Sameeksha Kini, Amulya Rayasam et al.
Know Your Context Bank: Repairing Inconsistency and Measuring Generalization in Context-Aware Text-to-SQL
Shared title terminology · Hailong Li, Mohammadreza Pourreza, Tal Neiman et al.