A Survey on Natural Language Counterfactual Generation

Yongjie Wang, Xiaoqi Qiu, Yu Yue, Xu Guo, Zhiwei Zeng +2 more
7/4/2024
cs.CL

No official code found. Best implementation: Siki-cloud/Awesome-CF-Generation (2 stars, last commit 2024-06-15).

Abstract

Natural language counterfactual generation aims to minimally modify a given text such that the modified text will be classified into a different class. The generated counterfactuals provide insight into the reasoning behind a model's predictions by highlighting which words significantly influence the outcomes. Additionally, they can be used to detect model fairness issues and augment the training data to enhance the model's robustness. A substantial amount of research has been conducted to generate counterfactuals for various NLP tasks, employing different models and methodologies. With the rapid growth of studies in this field, a systematic review is crucial to guide future researchers and developers. To bridge this gap, this survey provides a comprehensive overview of textual counterfactual generation methods, particularly those based on Large Language Models. We propose a new taxonomy that systematically categorizes the generation methods into four groups and summarizes the metrics for evaluating the generation quality. Finally, we discuss ongoing research challenges and outline promising directions for future work.

View on arXivView PDF

Code Implementations(1)

some papers related to CF generation

20Mar 22, 20242 years ago

Similar Papers

Cite this paper

@article{wang2024survey,
  title  = {A Survey on Natural Language Counterfactual Generation},
  author = {Yongjie Wang and Xiaoqi Qiu and Yu Yue and Xu Guo and Zhiwei Zeng and Yuhong Feng and Zhiqi Shen},
  year   = {2024},
  eprint = {2407.03993},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.03993v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.03993.svg)](https://codeofpaper.com/paper/2407.03993)

Discussion