mlsanityData to 7 Oct 2026

Automatically Generating Counterfactuals for Relation Classification

arXiv 2202.10668 ↗First posted 22 Feb 2022cs.CL cs.IRcited by 0

Not on the map. Why?

Abstract (arXiv)

The goal of relation classification (RC) is to extract the semantic relations between/among entities in the text. As a fundamental task in natural language processing, it is crucial to ensure the robustness of RC models. Despite the high accuracy current deep neural models have achieved in RC tasks, they are easily affected by spurious correlations. One solution to this problem is to train the model with counterfactually augmented data (CAD) such that it can learn the causation rather than the confounding. However, no attempt has been made on generating counterfactuals for RC tasks. In this paper, we formulate the problem of automatically generating CAD for RC tasks from an entity-centric viewpoint, and develop a novel approach to derive contextual counterfactuals for entities. Specifically, we exploit two elementary topological properties, i.e., the centrality and the shortest path, in syntactic and semantic dependency graphs, to first identify and then intervene on the contextual causal features for entities. We conduct a comprehensive evaluation on four RC datasets by combining our proposed approach with a variety of backbone RC models. The results demonstrate that our approach not only improves the performance of the backbones, but also makes them more robust in the out-of-domain test.

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

Builds on

17 of 31 references.

References · 17

  1. 2015Learning Deep Features for Discriminative Localizationcited by 2,430
  2. 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 488
  3. 2019Learning the Difference that Makes a Difference with Counterfactually-Augmented Datacited by 428
  4. 2020LUKE: Deep Contextualized Entity Representations with Entity-aware Self-attentioncited by 326
  5. 2021Polyjuice: Generating Counterfactuals for Explaining, Evaluating, and Improving Modelscited by 219
  6. 2017Measuring the tendency of CNNs to Learn Surface Statistical Regularitiescited by 87
  7. 2019Enriching Pre-trained Language Model with Entity Information for Relation Classificationcited by 82
  8. 2019Attention Guided Graph Convolutional Networks for Relation Extractioncited by 82
  9. 2020Generate Your Counterfactuals: Towards Controlled Counterfactual Generation for Textcited by 75
  10. 2020ERICA: Improving Entity and Relation Understanding for Pre-trained Language Models via Contrastive Learningcited by 72
  11. 2020Robustness to Spurious Correlations in Text Classification via Automatically Generated Counterfactualscited by 67
  12. 2020Robustness to Spurious Correlations via Human Annotationscited by 62
5 more
  1. 2018Simpler but More Accurate Semantic Dependency Parsingcited by 46
  2. 2021What if This Modified That? Syntactic Interventions via Counterfactual Embeddingscited by 39
  3. 2015Classifying Relations via Long Short Term Memory Networks along Shortest Dependency Pathcited by 35
  4. 2021Exploring the Efficacy of Automatically Generated Counterfactuals for Sentiment Analysiscited by 30
  5. 2021Text Counterfactuals via Latent Optimization and Shapley-Guided Searchcited by 16

Built on by

Not cited yet.