非分布文本的类型及其检测方法
Types of Out-of-Distribution Texts and How to Detect Them
摘要:
尽管一致认为检测出的分布(OOD)的例子的重要性,有很少的共识,OOD的例子的正式定义,以及如何最好地检测它们。我们对这些例子进行分类,无论他们表现出的背景转移或语义转移,并发现两个主要的方法来OOD检测,模型校准和密度估计(语言建模的文本),这些类型的OOD数据有不同的行为。在14对分布和OOD英语自然语言理解数据集中,我们发现密度估计方法在背景偏移设置中始终优于校准方法,而在语义偏移设置中表现较差。此外,我们发现这两种方法通常无法从挑战数据中检测到示例,突出了当前方法的弱点。由于没有一种方法在所有设置中都能很好地工作,因此我们的结果要求在评估不同的检测方法时明确定义OOD示例。
英文摘要:
Despite agreement on the importance of detecting out-of-distribution (OOD) examples, there is little consensus on the formal definition of OOD examples and how to best detect them. We categorize these examples by whether they exhibit a background shift or a semantic shift, and find that the two major approaches to OOD detection, model calibration and density estimation (language modeling for text), have distinct behavior on these types of OOD data. Across 14 pairs of in-distribution and OOD English natural language understanding datasets, we find that density estimation methods consistently beat calibration methods in background shift settings, while performing worse in semantic shift settings. In addition, we find that both methods generally fail to detect examples from challenge data, highlighting a weak spot for current methods. Since no single method works well across all settings, our results call for an explicit definition of OOD examples when evaluating different detection methods.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。