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

使用语法归纳查找数据集快捷方式

Finding Dataset Shortcuts with Grammar Induction

Princeton University(普林斯顿大学)

Dan Friedman, Alexander Wettig, Danqi Chen

摘要:

许多NLP数据集被发现包含捷径:简单的决策规则,实现惊人的高准确性。但是,很难自动发现快捷方式。之前关于自动快捷方式检测的工作主要集中在枚举像unigrams或bigrams这样的特征,这些特征只能找到低级别的快捷方式,或者依赖于像显着图这样的事后模型可解释性方法,这些方法可以在没有明确统计解释的情况下揭示定性模式。在这项工作中,我们建议使用概率语法来描述和发现NLP数据集中的捷径。具体来说,我们使用一个上下文无关文法模型的句子分类数据集的模式,并使用一个同步的上下文无关文法模型的数据集涉及句子对。由此产生的语法揭示了有趣的快捷功能,在一些数据集,包括简单的和高层次的功能,并自动识别组的测试示例上,传统的分类失败。最后,我们发现的功能,我们可以用来生成诊断对比的例子,并纳入标准的鲁棒优化方法,以提高最坏的组的准确性。

英文摘要:

Many NLP datasets have been found to contain shortcuts: simple decision rules that achieve surprisingly high accuracy. However, it is difficult to discover shortcuts automatically. Prior work on automatic shortcut detection has focused on enumerating features like unigrams or bigrams, which can find only low-level shortcuts, or relied on post-hoc model interpretability methods like saliency maps, which reveal qualitative patterns without a clear statistical interpretation. In this work, we propose to use probabilistic grammars to characterize and discover shortcuts in NLP datasets. Specifically, we use a context-free grammar to model patterns in sentence classification datasets and use a synchronous context-free grammar to model datasets involving sentence pairs. The resulting grammars reveal interesting shortcut features in a number of datasets, including both simple and high-level features, and automatically identify groups of test examples on which conventional classifiers fail. Finally, we show that the features we discover can be used to generate diagnostic contrast examples and incorporated into standard robust optimization methods to improve worst-group accuracy.

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

↑