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

不确定性决定了序列到序列模型中模式的正确性和解码的可处理性

Uncertainty Determines the Adequacy of the Mode and the Tractability of Decoding in Sequence-to-Sequence Models

Google Research(谷歌研究院);New York University(纽约大学);Meta AI

Felix Stahlberg, Ilia Kulikov, Shankar Kumar

摘要:

在许多自然语言处理(NLP)任务中,相同的输入(例如,源句子)可以具有多个可能的输出(例如,翻译)。为了分析这种模糊性(也称为内在不确定性)如何塑造神经序列模型学习到的分布,我们通过计算来自两个不同NLP任务(机器翻译(MT)和语法错误纠正(GEC))的多参考测试集中的参考之间的重叠程度来测量重复级别的不确定性。在句子和任务层面,内在不确定性对搜索的各个方面都有重要影响,例如束搜索中的归纳偏差和精确搜索的复杂性。特别是,我们表明,众所周知的病理,如大量的束搜索错误,不足的模式,并在系统性能下降与大波束尺寸适用于任务具有高水平的模糊性,如MT,但不太不确定的任务,如GEC。此外,我们提出了一种新的确切的$n$ -最好的搜索算法的神经序列模型,并表明,内在的不确定性影响模型的不确定性,因为该模型往往过于分散的概率质量不确定的任务和句子。

英文摘要:

In many natural language processing (NLP) tasks the same input (e.g. source sentence) can have multiple possible outputs (e.g. translations). To analyze how this ambiguity (also known as intrinsic uncertainty) shapes the distribution learned by neural sequence models we measure sentence-level uncertainty by computing the degree of overlap between references in multi-reference test sets from two different NLP tasks: machine translation (MT) and grammatical error correction (GEC). At both the sentence- and the task-level, intrinsic uncertainty has major implications for various aspects of search such as the inductive biases in beam search and the complexity of exact search. In particular, we show that well-known pathologies such as a high number of beam search errors, the inadequacy of the mode, and the drop in system performance with large beam sizes apply to tasks with high level of ambiguity such as MT but not to less uncertain tasks such as GEC. Furthermore, we propose a novel exact $n$-best search algorithm for neural sequence models, and show that intrinsic uncertainty affects model uncertainty as the model tends to overly spread out the probability mass for uncertain tasks and sentences.

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

↑