mlsanityData to 7 Oct 2026

Robustifying Sentiment Classification by Maximally Exploiting Few Counterfactuals

arXiv 2210.11805 ↗First posted 21 Oct 2022cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

For text classification tasks, finetuned language models perform remarkably well. Yet, they tend to rely on spurious patterns in training data, thus limiting their performance on out-of-distribution (OOD) test data. Among recent models aiming to avoid this spurious pattern problem, adding extra counterfactual samples to the training data has proven to be very effective. Yet, counterfactual data generation is costly since it relies on human annotation. Thus, we propose a novel solution that only requires annotation of a small fraction (e.g., 1%) of the original training data, and uses automatic generation of extra counterfactuals in an encoding vector space. We demonstrate the effectiveness of our approach in sentiment classification, using IMDb data for training and other sets for OOD tests (i.e., Amazon, SemEval and Yelp). We achieve noticeable accuracy improvements by adding only 1% manual counterfactuals: +3% compared to adding +100% in-distribution training samples, +1.3% compared to alternate counterfactual approaches.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 27 of its 35 references that are in the map. First posted on arXiv 21 Oct 2022.

Builds on

27 of 35 references.

References · 27

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  3. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  4. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
  5. 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
  6. 2020MPNet: Masked and Permuted Pre-training for Language Understandingcited by 973
  7. 2019Right for the Wrong Reasons: Diagnosing Syntactic Heuristics in Natural Language Inferencecited by 864
  8. 2018Annotation Artifacts in Natural Language Inference Datacited by 656
  9. 2019Learning the Difference that Makes a Difference with Counterfactually-Augmented Datacited by 428
  10. 2018Hypothesis Only Baselines in Natural Language Inferencecited by 291
  11. 2018Examining Gender and Race Bias in Two Hundred Sentiment Analysis Systemscited by 234
  12. 2021Polyjuice: Generating Counterfactuals for Explaining, Evaluating, and Improving Modelscited by 219
15 more
  1. 2019Probing Neural Network Comprehension of Natural Language Argumentscited by 212
  2. 2019SemEval-2017 Task 4: Sentiment Analysis in Twittercited by 209
  3. 2019Counterfactual Data Augmentation for Mitigating Gender Stereotypes in Languages with Rich Morphologycited by 200
  4. 2020Learning to Faithfully Rationalize by Constructioncited by 113
  5. 2020Robustness to Spurious Correlations in Text Classification via Automatically Generated Counterfactualscited by 67
  6. 2020Learning What Makes a Difference from Counterfactual Examples and Gradient Supervisioncited by 66
  7. 2020Explaining The Efficacy of Counterfactually Augmented Datacited by 64
  8. 2020Identifying Spurious Correlations for Robust Text Classificationcited by 59
  9. 2020Pre-Training Transformers as Energy-Based Cloze Modelscited by 52
  10. 2021Exploring the Efficacy of Automatically Generated Counterfactuals for Sentiment Analysiscited by 30
  11. 2020MASKER: Masked Keyword Regularization for Reliable Text Classificationcited by 25
  12. 2020Weakly- and Semi-supervised Evidence Extractioncited by 16
  13. 2021Enhancing Model Robustness and Fairness with Causality: A Regularization Approachcited by 10
  14. 2021Practical Benefits of Feature Feedback Under Distribution Shiftcited by 5
  15. 2021A Simple Geometric Method for Cross-Lingual Linguistic Transformations with Pre-trained Autoencoderscited by 1

Built on by

Not cited yet.