arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2304.12776cs.CLcs.AI
收藏

状态空间还不够:机器翻译需要注意力

State Spaces Aren't Enough: Machine Translation Needs Attention

University of Amsterdam(阿姆斯特丹大学);Apple(苹果公司)

Ali Vardasbi, Telmo Pessoa Pires, Robin M. Schmidt, Stephan Peitz

AI总结:

本文将 S4 用于机器翻译,发现其在 WMT'14 和 WMT'16 上比 Transformer 低约 4 BLEU 且长句表现较差,并证明引入注意力可弥补单隐藏状态的信息瓶颈。

摘要:

结构化序列状态空间(S4)是近期提出的一种序列模型,已成功应用于视觉、语言建模和音频等多种任务。得益于其数学表述,它将输入压缩为单个隐藏状态,并能够捕捉长程依赖,同时无需注意力机制。在本研究中,我们将 S4 应用于机器翻译(MT),并在 WMT'14 和 WMT'16 上评估了若干编码器—解码器变体。与在语言建模中的成功形成对比,我们发现 S4 落后 Transformer 约 4 个 BLEU 点,而且它还反直觉地难以处理长句。最后,我们表明这一差距源于 S4 无法在单个隐藏状态中概括完整源句,并证明可以通过引入注意力机制来弥合该差距。

英文摘要:

Structured State Spaces for Sequences (S4) is a recently proposed sequence model with successful applications in various tasks, e.g. vision, language modeling, and audio. Thanks to its mathematical formulation, it compresses its input to a single hidden state, and is able to capture long range dependencies while avoiding the need for an attention mechanism. In this work, we apply S4 to Machine Translation (MT), and evaluate several encoder-decoder variants on WMT'14 and WMT'16. In contrast with the success in language modeling, we find that S4 lags behind the Transformer by approximately 4 BLEU points, and that it counter-intuitively struggles with long sentences. Finally, we show that this gap is caused by S4's inability to summarize the full source sentence in a single hidden state, and show that we can close the gap by introducing an attention mechanism.

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

↑