arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1906.01617cs.CL
收藏

格输入的自注意模型

Self-Attentional Models for Lattice Inputs

Karlsruhe Institute of Technology(卡尔斯鲁厄理工学院);Carnegie Mellon University(卡内基梅隆大学)

Matthias Sperber, Graham Neubig, Ngoc-Quan Pham, Alex Waibel

摘要:

格是对自然语言处理任务中的上游系统的模糊性进行编码的高效且有效的方法,例如,以复杂地捕获多个语音识别假设,或者表示多个语言分析。以前的工作已经扩展了递归神经网络来模拟格输入,并在各种任务中实现了改进,但这些模型的计算速度非常慢。本文扩展了最近提出的自我注意范式来处理格输入。自注意是一种序列建模技术,通过计算成对相似性将输入彼此关联,并因其强大的结果和计算效率而受到欢迎。为了扩展这些模型来处理格,我们引入了概率可达性掩码,将格结构纳入模型,并支持格分数(如果可用)。我们还提出了一种方法,用于适应位置嵌入的晶格结构。我们将所提出的模型应用于语音翻译任务,发现它的性能优于所有检查的基线,同时在训练和推理过程中的计算速度比以前的神经网格模型快得多。

英文摘要:

Lattices are an efficient and effective method to encode ambiguity of upstream systems in natural language processing tasks, for example to compactly capture multiple speech recognition hypotheses, or to represent multiple linguistic analyses. Previous work has extended recurrent neural networks to model lattice inputs and achieved improvements in various tasks, but these models suffer from very slow computation speeds. This paper extends the recently proposed paradigm of self-attention to handle lattice inputs. Self-attention is a sequence modeling technique that relates inputs to one another by computing pairwise similarities and has gained popularity for both its strong results and its computational efficiency. To extend such models to handle lattices, we introduce probabilistic reachability masks that incorporate lattice structure into the model and support lattice scores if available. We also propose a method for adapting positional embeddings to lattice structures. We apply the proposed model to a speech translation task and find that it outperforms all examined baselines while being much faster to compute than previous neural lattice models during both training and inference.

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

↑