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

自我注意声学模型

Self-Attentional Acoustic Models

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

Matthias Sperber, Jan Niehues, Graham Neubig, Sebastian Stüker, Alex Waibel

摘要:

自注意是一种通过基于成对相似性将这些向量彼此关联来编码向量序列的方法。这些模型最近已经显示出对离散序列建模的有希望的结果,但是由于计算和建模问题,它们应用于声学建模是不平凡的。在本文中,我们将自注意力应用到声学建模中,提出了几项改进措施来缓解这些问题:首先,自注意力记忆在序列长度上呈二次增长,我们通过下采样技术解决了这一问题。其次,我们发现,以前的方法将位置信息纳入模型是不合适的,并探讨其他表示和混合模型,为此。第三,为了强调局部上下文在声学信号中的重要性,我们提出了一种高斯偏置方法,该方法允许对上下文范围进行显式控制。实验发现,我们的模型基于具有网络中网络连接的LSTM接近强大的基线,同时计算速度更快。除了速度,我们发现,可解释性是自我注意的声学模型的力量,并表明,自我注意头学习语言上合理的分工。

英文摘要:

Self-attention is a method of encoding sequences of vectors by relating these vectors to each-other based on pairwise similarities. These models have recently shown promising results for modeling discrete sequences, but they are non-trivial to apply to acoustic modeling due to computational and modeling issues. In this paper, we apply self-attention to acoustic modeling, proposing several improvements to mitigate these issues: First, self-attention memory grows quadratically in the sequence length, which we address through a downsampling technique. Second, we find that previous approaches to incorporate position information into the model are unsuitable and explore other representations and hybrid models to this end. Third, to stress the importance of local context in the acoustic signal, we propose a Gaussian biasing approach that allows explicit control over the context range. Experiments find that our model approaches a strong baseline based on LSTMs with network-in-network connections while being much faster to compute. Besides speed, we find that interpretability is a strength of self-attentional acoustic models, and demonstrate that self-attention heads learn a linguistically plausible division of labor.

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

↑