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

基于随机性约束的多头注意力关键词识别

Orthogonality Constrained Multi-Head Attention For Keyword Spotting

Qualcomm AI Research, Qualcomm Korea YH(高通人工智能研究院,高通韩国YH)

Mingu Lee, Jinkyu Lee, Hye Jin Jang, Byeonggeun Kim, Wonil Chang, Kyuwoong Hwang

摘要:

多头注意力机制能够从顺序数据中学习各种表示,同时注意不同的顺序,例如,口语中的词段或音节。从连续性,它检索更丰富的信息比一个单一的头注意,只总结了整个序列到一个上下文向量。然而,多头注意力的简单使用并不能保证这种丰富性,因为注意力头可能具有位置和表示冗余。在本文中,我们提出了一个正则化技术的多头注意力机制在端到端的神经关键字发现系统。增加惩罚注意力头部之间的位置和上下文非正交性的正则化项鼓励从单独的连续性输出不同的表示,这又使得能够在没有显式序列模型(诸如隐马尔可夫模型)的情况下利用结构化信息。此外,头内上下文非正交性正则化鼓励每个注意力头在关键字示例中具有相似的表示,这有助于通过减少特征可变性来进行分类。实验结果表明,所提出的正则化技术显着提高了关键字定位性能的关键字“嘿Snapdragon”。

英文摘要:

Multi-head attention mechanism is capable of learning various representations from sequential data while paying attention to different subsequences, e.g., word-pieces or syllables in a spoken word. From the subsequences, it retrieves richer information than a single-head attention which only summarizes the whole sequence into one context vector. However, a naive use of the multi-head attention does not guarantee such richness as the attention heads may have positional and representational redundancy. In this paper, we propose a regularization technique for multi-head attention mechanism in an end-to-end neural keyword spotting system. Augmenting regularization terms which penalize positional and contextual non-orthogonality between the attention heads encourages to output different representations from separate subsequences, which in turn enables leveraging structured information without explicit sequence models such as hidden Markov models. In addition, intra-head contextual non-orthogonality regularization encourages each attention head to have similar representations across keyword examples, which helps classification by reducing feature variability. The experimental results demonstrate that the proposed regularization technique significantly improves the keyword spotting performance for the keyword "Hey Snapdragon".

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

↑