arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.01446cs.CLcs.LG
收藏

iFlip: 迭代反馈驱动的反事实示例精炼

iFlip: Iterative Feedback-driven Counterfactual Example Refinement

Technische Universität Berlin(柏林工业大学);University of Groningen(格罗宁根大学);German Research Center for Artificial Intelligence (DFKI)(德国人工智能研究中心(DFKI))

Yilong Wang, Qianli Wang, Nils Feldhus

AI总结:

iFlip通过迭代反馈驱动的方法生成有效反事实示例,提升模型性能和鲁棒性。

摘要:

反事实示例是对输入进行最小编辑以改变模型预测的示例。它们被广泛用于可解释AI中探测模型行为,在自然语言处理(NLP)中用于增强训练数据。然而,使用大型语言模型(LLMs)生成有效的反事实示例仍然具有挑战性,因为现有的单次通过方法往往无法诱导可靠的标签变化,忽视了LLMs的自我纠正能力。为了探索这一未被开发的潜力,我们提出了iFlip,一种迭代精炼方法,利用三种类型的反馈,包括模型置信度、特征归因和自然语言。我们的结果表明,iFlip在标签翻转率的测量下,有效性比五个最先进的基线高出平均57.8%。用户研究进一步证实,iFlip在完整性、总体满意度和可行性方面均优于基线。此外,消融研究证明了三个组件对于iFlip生成有效反事实示例至关重要:利用适当数量的迭代、指向高归因词以及早期停止。最后,由iFlip生成的反事实示例能够有效进行反事实数据增强,显著提高模型性能和鲁棒性。

英文摘要:

Counterfactual examples are minimal edits to an input that alter a model's prediction. They are widely employed in explainable AI to probe model behavior and in natural language processing (NLP) to augment training data. However, generating valid counterfactuals with large language models (LLMs) remains challenging, as existing single-pass methods often fail to induce reliable label changes, neglecting LLMs' self-correction capabilities. To explore this untapped potential, we propose iFlip, an iterative refinement approach that leverages three types of feedback, including model confidence, feature attribution, and natural language. Our results show that iFlip achieves an average 57.8% higher validity than the five state-of-the-art baselines, as measured by the label flipping rate. The user study further corroborates that iFlip outperforms baselines in completeness, overall satisfaction, and feasibility. In addition, ablation studies demonstrate that three components are paramount for iFlip to generate valid counterfactuals: leveraging an appropriate number of iterations, pointing to highly attributed words, and early stopping. Finally, counterfactuals generated by iFlip enable effective counterfactual data augmentation, substantially improving model performance and robustness.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑