PairCFR: Enhancing Model Training on Paired Counterfactually Augmented Data through Contrastive Learning
Xiaoqi Qiu, Yongjie Wang, Xu Guo, Zhiwei Zeng, Yu Yue, Yuhong Feng, Chunyan Miao
Abstract
Counterfactually Augmented Data (CAD) in-001 volves creating new data samples by apply-002 ing minimal yet sufficient modifications to flip 003 the label of existing data samples to the other 004 classes. Training with CAD enhances model ro-005 bustness against spurious features that happen 006 to correlate with labels by spreading the ca-007 sual relationships across different classes. Yet, 008 recent research reveals that CAD may lead 009 models to overly focus on modified features 010 while ignoring other important contextual in-011 formation, inadvertently introducing biases that 012 may impair performance on out-of-distribution 013 (OOD) datasets. To mitigate this issue, we 014 employ contrastive learning to promote global 015 feature alignment in addition to counterfac-016 tual clues. We theoretically prove that con-017 trastive loss can encourage models to leverage 018 a broader range of features beyond those modi-019 fied ones. Comprehensive experiments on two 020 human-edited CAD datasets demonstrate that 021 our propose method outperformed the state-of-022 the-art on OOD datasets.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext c5cd89ed-e739-4c44-b090-b17dc2661f5aCited by top-tier papers2
- CoBA: Counterbias Text Augmentation for Mitigating Various Spurious Correlations via Semantic TriplesKyohoon Jin, Juhwan Choi, Jungmin Yun, Junho Lee et al.EMNLP 2025
- OSTAR: Optimized Statistical Text-classifier with Adversarial ResistanceYuhan Yao, Feifei Kou, Lei Shi, Xiao Yang et al.NeurIPS 2025
Builds on8
- Supervised Contrastive LearningPrannay Khosla, Piotr Teterwak, Chen Wang, Aaron Sarna et al.NeurIPS 2020 · 7,049 citations
- Understanding Contrastive Representation Learning through Alignment and Uniformity on the HypersphereTongzhou Wang, Phillip IsolaICML 2020 · 2,360 citations
- Learning The Difference That Makes A Difference With Counterfactually-Augmented DataDivyansh Kaushik, Eduard H. Hovy, Zachary Chase LiptonICLR 2020 · 625 citations
- Supervised Contrastive Learning for Pre-trained Language Model Fine-tuningBeliz Gunel, Jingfei Du, Alexis Conneau, Veselin StoyanovICLR 2021 · 595 citations
- Generate Your Counterfactuals: Towards Controlled Counterfactual Generation for TextNishtha Madaan, Inkit Padhi, Naveen Panwar, Diptikalyan SahaAAAI 2021 · 115 citations
Related papers
- Counterexample Contrastive Learning for Spurious Correlation EliminationJinqiang Wang, Rui Hu, Chaoquan Jiang, Rui Hu et al.ACM MM 2022 · 3 citations
- An Investigation of the (In)effectiveness of Counterfactually Augmented DataNitish Joshi, He HeACL 2022
- Explaining the Efficacy of Counterfactually Augmented DataDivyansh Kaushik, Amrith Setlur, Eduard H. Hovy, Zachary Chase LiptonICLR 2021 · 89 citations
- Debiasing Multimodal Sarcasm Detection with Contrastive LearningMengzhao Jia, Can Xie, Liqiang JingAAAI 2024 · 51 citations
- Unbiased Classification through Bias-Contrastive and Bias-Balanced LearningYoungkyu Hong, Eunho YangNeurIPS 2021 · 94 citations
