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

CREST:一个用于合理化与反事实文本生成的联合框架

CREST: A Joint Framework for Rationalization and Counterfactual Text Generation

Instituto de Telecomunicações(电信研究所);Instituto Superior Técnico(里斯本高等理工学院);LUMLIS (Lisbon ELLIS Unit)(LUMLIS(里斯本ELLIS单元));Massachusetts Institute of Technology(麻省理工学院);Unbabel(Unbabel公司)

Marcos Treviso, Alexis Ross, Nuno M. Guerreiro, André F. T. Martins

AI总结:

本文提出 CREST 联合框架,将选择性合理化与反事实文本生成相结合,通过新损失函数利用反事实正则化理由,提升反事实质量、模型鲁棒性与可解释性。

摘要:

选择性理由(selective rationales)和反事实示例(counterfactual examples)已成为两类有效且互补的可解释性方法,用于分析和训练自然语言处理(NLP)模型。然而,此前的工作尚未探索如何整合这些方法以结合其互补优势。我们通过引入 CREST(ContRastive Edits with Sparse raTionalization,即带稀疏合理化的对比编辑)来克服这一局限,CREST 是一个用于选择性合理化与反事实文本生成的联合框架,并表明该框架能够提升反事实质量、模型鲁棒性和可解释性。首先,CREST 生成的有效反事实比以往方法生成的反事实更自然,因此可用于大规模数据增强,从而减少对人工生成示例的需求。其次,我们引入了一种新的损失函数,利用 CREST 反事实来正则化选择性理由,并表明与不使用 CREST 反事实的方法相比,这种正则化同时改善了模型鲁棒性和理由质量。我们的结果表明,CREST 成功弥合了选择性理由与反事实示例之间的差距,解决了现有方法的局限性,并为模型预测提供了更全面的视角。

英文摘要:

Selective rationales and counterfactual examples have emerged as two effective, complementary classes of interpretability methods for analyzing and training NLP models. However, prior work has not explored how these methods can be integrated to combine their complementary advantages. We overcome this limitation by introducing CREST (ContRastive Edits with Sparse raTionalization), a joint framework for selective rationalization and counterfactual text generation, and show that this framework leads to improvements in counterfactual quality, model robustness, and interpretability. First, CREST generates valid counterfactuals that are more natural than those produced by previous methods, and subsequently can be used for data augmentation at scale, reducing the need for human-generated examples. Second, we introduce a new loss function that leverages CREST counterfactuals to regularize selective rationales and show that this regularization improves both model robustness and rationale quality, compared to methods that do not leverage CREST counterfactuals. Our results demonstrate that CREST successfully bridges the gap between selective rationales and counterfactual examples, addressing the limitations of existing methods and providing a more comprehensive view of a model's predictions.

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

↑