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

当只有时间能给出答案:从重启递增性的视角解读 Transformer 如何处理局部歧义

When Only Time Will Tell: Interpreting How Transformers Process Local Ambiguities Through the Lens of Restart-Incrementality

University of Potsdam(波茨坦大学);Fraunhofer Heinrich Hertz Institute(弗劳恩霍夫海因里希·赫兹研究所);German Research Center for Artificial Intelligence (DFKI)(德国人工智能研究中心(DFKI))

Brielen Madureira, Patrick Kahardipraja, David Schlangen

AI总结:

本研究从重启递增性视角探讨 Transformer 如何处理局部歧义,提出一种可解释的状态分析方法,揭示了双向编码器在歧义修改上优于因果模型。

摘要:

逐个 token 处理句子的递增模型有时会遇到允许多种解释的节点。因果模型被迫输出一种解释并继续,而具备修改能力的模型可在歧义消除时编辑其先前的输出。在本研究中,我们探讨重启递增 Transformer 如何构建和更新内部状态,以期阐明导致自回归模型中修改不可行的原因。我们提出一种可解释的方法来分析递增状态,表明其序列结构编码了关于花园路径效应及其消除的信息。我们的方法为上下文语义表示和依存句法分析的各种双向编码器提供了见解,证明了它们在修改方面优于因果模型。

英文摘要:

Incremental models that process sentences one token at a time will sometimes encounter points where more than one interpretation is possible. Causal models are forced to output one interpretation and continue, whereas models that can revise may edit their previous output as the ambiguity is resolved. In this work, we look at how restart-incremental Transformers build and update internal states, in an effort to shed light on what processes cause revisions not viable in autoregressive models. We propose an interpretable way to analyse the incremental states, showing that their sequential structure encodes information on the garden path effect and its resolution. Our method brings insights on various bidirectional encoders for contextualised meaning representation and dependency parsing, contributing to show their advantage over causal models when it comes to revisions.

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

↑