Lune

EMNLP Findings2025

Mitigating Spurious Correlations via Counterfactual Contrastive Learning

Fengxiang Cheng, Chuan Zhou, Xiang Li, Alina Leidinger, Haoxuan Li, Mingming Gong, Fenrong Liu, Robert van Rooij

Abstract

Identifying causal relationships rather than spurious correlations between words and class labels plays a crucial role in building robust text classifiers. Previous studies proposed using causal effects to distinguish words that are causally related to the sentiment, and then building robust text classifiers using words with high causal effects. However, we find that when a sentence has multiple causally related words simultaneously, the magnitude of causal effects will be significantly reduced, which limits the applicability of previous causal effectbased methods in distinguishing causally related words from spuriously correlated ones. To fill this gap, in this paper, we introduce both the probability of necessity (PN) and probability of sufficiency (PS), aiming to answer the counterfactual question that 'if a sentence has a certain sentiment in the presence/absence of a word, would the sentiment change in the absence/presence of that word?'. Specifically, we first derive the identifiability of PN and PS under different sentiment monotonicities, and calibrate the estimation of PN and PS via the estimated average treatment effect. Finally, the robust text classifier is built by identifying the words with larger PN and PS as causally related words, and other words as spuriously correlated words, based on a contrastive learning approach name CPNS is proposed to achieve robust sentiment classification. Extensive experiments are conducted on public datasets to validate the effectiveness of our method.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Builds on9

  1. ALBERT: A Lite BERT for Self-supervised Learning of Language RepresentationsZhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel et al.ICLR 2020 · 7,418 citations
  2. Identifying spurious correlations for robust text classificationZhao Wang, Aron CulottaEMNLP Findings 2020 · 60 citations
  3. CE-RCFR: Robust Counterfactual Regression for Consensus-Enabled Treatment Effect EstimationFan Wang, Chaochao Chen, Weiming Liu, Tianhao Fan et al.KDD 2024 · 18 citations
  4. Be Aware of the Neighborhood Effect: Modeling Selection Bias under InterferenceHaoxuan Li, Chunyuan Zheng, Sihao Ding, Peng Wu et al.ICLR 2024 · 17 citations
  5. Proximity Matters: Local Proximity Enhanced Balancing for Treatment Effect EstimationHao Wang, Zhichao Chen, Zhaoran Liu, Xu Chen et al.KDD 2025 · 4 citations

Related papers

  1. Text Embedding as Treatment: A Meta Causal Approach for Robust Sentiment ClassificationFengxiang Cheng, Chuan Zhou, Xiang Li, Haoxuan Li et al.ACL Findings 2026
  2. Robustness to Spurious Correlations in Text Classification via Automatically Generated CounterfactualsZhao Wang, Aron CulottaAAAI 2021 · 114 citations
  3. Mediation Analysis for Probabilities of CausationYuta Kawakami, Jin TianAAAI 2025
  4. Are All Spurious Features in Natural Language Alike? An Analysis through a Causal LensNitish Joshi, Xiang Pan, He HeEMNLP 2022 · 19 citations
  5. Probabilities of Causation with Nonbinary Treatment and EffectAng Li, Judea PearlAAAI 2024 · 38 citations
Dusk over the sea between two cliffs drawn in fine vertical lines