解释反事实增强数据的有效性
Explaining The Efficacy of Counterfactually Augmented Data
摘要:
为了减少对NLP数据集中虚假模式的依赖,研究人员最近提出了通过人在回路过程来管理反事实增强数据(CAD),在该过程中,给定一些文档及其(初始)标签,人类必须修改文本以使反事实标签适用。重要的是,禁止不需要翻转适用标签的编辑。根据经验,在增强数据上训练的模型似乎更少地依赖于语义上不相关的单词,并且更好地泛化出域。虽然这项工作松散地借鉴了因果思维,但潜在的因果模型(即使在抽象层面上)和所观察到的域外改进的基本原则仍然不清楚。在本文中,我们介绍了一个玩具模拟的基础上线性高斯模型,观察因果模型,测量噪声,领域泛化,并依赖于虚假信号之间的有趣的关系。我们的分析提供了一些见解,有助于解释CAD的疗效。此外,我们发展的假设,而增加噪声的因果功能应该降低域内和域外的性能,增加噪声的非因果功能应导致域外性能的相对改善。这个想法启发了一个投机性的测试,以确定是否有一个功能属性技术确定的因果跨度。如果添加噪声(例如,通过随机字翻转)到突出显示的跨度会降低一组挑战数据集上的域内和域外性能,但是向补充添加噪声会改善域外性能,这表明我们已经识别了因果跨度。我们提出了一个大规模的实证研究比较跨度编辑创建CAD的注意力和显着性地图选择。在众多的领域和模型,我们发现,假设的现象是明显的CAD。
英文摘要:
In attempts to produce ML models less reliant on spurious patterns in NLP datasets, researchers have recently proposed curating counterfactually augmented data (CAD) via a human-in-the-loop process in which given some documents and their (initial) labels, humans must revise the text to make a counterfactual label applicable. Importantly, edits that are not necessary to flip the applicable label are prohibited. Models trained on the augmented data appear, empirically, to rely less on semantically irrelevant words and to generalize better out of domain. While this work draws loosely on causal thinking, the underlying causal model (even at an abstract level) and the principles underlying the observed out-of-domain improvements remain unclear. In this paper, we introduce a toy analog based on linear Gaussian models, observing interesting relationships between causal models, measurement noise, out-of-domain generalization, and reliance on spurious signals. Our analysis provides some insights that help to explain the efficacy of CAD. Moreover, we develop the hypothesis that while adding noise to causal features should degrade both in-domain and out-of-domain performance, adding noise to non-causal features should lead to relative improvements in out-of-domain performance. This idea inspires a speculative test for determining whether a feature attribution technique has identified the causal spans. If adding noise (e.g., by random word flips) to the highlighted spans degrades both in-domain and out-of-domain performance on a battery of challenge datasets, but adding noise to the complement gives improvements out-of-domain, it suggests we have identified causal spans. We present a large-scale empirical study comparing spans edited to create CAD to those selected by attention and saliency maps. Across numerous domains and models, we find that the hypothesized phenomenon is pronounced for CAD.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。