Lune

WWW2023Top-tier venue

Towards Model Robustness: Generating Contextual Counterfactuals for Entities in Relation Extraction

Mi Zhang, Tieyun Qian, Ting Zhang, Xin Miao

Abstract

The goal of relation extraction (RE) is to extract the semantic relations between/among entities in the text. As a fundamental task in information systems, it is crucial to ensure the robustness of RE models. Despite the high accuracy current deep neural models have achieved in RE 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 RE tasks. In this paper, we formulate the problem of automatically generating CAD for RE 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 RE datasets by combining our proposed approach with a variety of RE backbones. Results prove that our approach not only improves the performance of the backbones but also makes them more robust in the out-of-domain test 1.

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.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Generating Commonsense Counterfactuals for Stable Relation Extraction cites KnowPrompt: Knowledge-aware Prompt-tuning with Synergistic Optimization for Relation Extraction
  • Generating Commonsense Counterfactuals for Stable Relation Extraction cites LUKE: Deep Contextualized Entity Representations with Entity-aware Self-attention
  • KnowPrompt: Knowledge-aware Prompt-tuning with Synergistic Optimization for Relation Extraction cites LUKE: Deep Contextualized Entity Representations with Entity-aware Self-attention
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Generating Commonsense Counterfactuals for Stable Relation ExtractionXin Miao, Yongqi Li, Tieyun QianEMNLP 2023 · 4 citations

Builds on17

  1. LUKE: Deep Contextualized Entity Representations with Entity-aware Self-attentionIkuya Yamada, Akari Asai, Hiroyuki Shindo, Hideaki Takeda et al.EMNLP 2020 · 562 citations
  2. BERT-ATTACK: Adversarial Attack Against BERT Using BERTLinyang Li, Ruotian Ma, Qipeng Guo, Xiangyang Xue et al.EMNLP 2020 · 529 citations
  3. KnowPrompt: Knowledge-aware Prompt-tuning with Synergistic Optimization for Relation ExtractionXiang Chen, Ningyu Zhang, Xin Xie, Shumin Deng et al.WWW 2022 · 488 citations
  4. A Partition Filter Network for Joint Entity and Relation ExtractionZhiheng Yan, Chong Zhang, Jinlan Fu, Qi Zhang et al.EMNLP 2021 · 142 citations
  5. Generate Your Counterfactuals: Towards Controlled Counterfactual Generation for TextNishtha Madaan, Inkit Padhi, Naveen Panwar, Diptikalyan SahaAAAI 2021 · 115 citations

Related papers

  1. Counterfactual Generator: A Weakly-Supervised Method for Named Entity RecognitionXiangji Zeng, Yunliang Li, Yuchen Zhai, Yin ZhangEMNLP 2020 · 55 citations
  2. Explaining the Efficacy of Counterfactually Augmented DataDivyansh Kaushik, Amrith Setlur, Eduard H. Hovy, Zachary Chase LiptonICLR 2021 · 89 citations
  3. AutoCAD: Automatically Generate Counterfactuals for Mitigating Shortcut LearningJiaxin Wen, Yeshuang Zhu, Jinchao Zhang, Jie Zhou et al.EMNLP Findings 2022 · 9 citations
  4. Consistent Document-level Relation Extraction via CounterfactualsAli Modarressi, Abdullatif Köksal, Hinrich SchützeEMNLP Findings 2024
  5. Silver Syntax Pre-training for Cross-Domain Relation ExtractionElisa Bassignana, Filip Ginter, Sampo Pyysalo, Rob van der Goot et al.ACL Findings 2023 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines