arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.17591cs.CL
收藏

面向文本分类的忠实解释:鲁棒性提升与解释引导训练

Towards Faithful Explanations for Text Classification with Robustness Improvement and Explanation Guided Training

Harbin Institute of Technology (Shenzhen)(哈尔滨工业大学(深圳));Peng Cheng Laboratory(鹏城实验室)

Dongfang Li, Baotian Hu, Qingcai Chen, Shan He

AI总结:

本文提出REGEX方法,通过输入梯度正则化、虚拟对抗训练及注意力与特征归因相似性最大化,提升文本分类解释的忠实性与鲁棒性,实验验证了其有效性。

摘要:

特征归因方法通过突出重要的输入标记作为模型预测的解释,已被广泛应用于深度神经网络以实现可信人工智能。然而,近期研究表明,这些方法提供的解释在忠实性和鲁棒性方面面临挑战。本文提出了一种结合鲁棒性提升与解释引导训练的方法(REGEX),旨在为文本分类提供更忠实的解释。首先,我们通过输入梯度正则化技术和虚拟对抗训练来提升模型鲁棒性。其次,我们利用显著排序来屏蔽噪声标记,并最大化模型注意力与特征归因之间的相似性,这可视为一种无需引入外部信息的自训练过程。我们在六个数据集上使用五种归因方法进行了广泛实验,并在域外设置下评估了忠实性。结果表明,REGEX在所有设置下均提升了解释的保真度指标,并基于两种随机化测试获得了一致的增益。此外,我们展示了使用REGEX生成的高亮解释来训练先选择后预测模型,其任务性能与端到端方法相当。

英文摘要:

Feature attribution methods highlight the important input tokens as explanations to model predictions, which have been widely applied to deep neural networks towards trustworthy AI. However, recent works show that explanations provided by these methods face challenges of being faithful and robust. In this paper, we propose a method with Robustness improvement and Explanation Guided training towards more faithful EXplanations (REGEX) for text classification. First, we improve model robustness by input gradient regularization technique and virtual adversarial training. Secondly, we use salient ranking to mask noisy tokens and maximize the similarity between model attention and feature attribution, which can be seen as a self-training procedure without importing other external information. We conduct extensive experiments on six datasets with five attribution methods, and also evaluate the faithfulness in the out-of-domain setting. The results show that REGEX improves fidelity metrics of explanations in all settings and further achieves consistent gains based on two randomization tests. Moreover, we show that using highlight explanations produced by REGEX to train select-then-predict models results in comparable task performance to the end-to-end method.

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

↑