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

SummaryMixing:一种用于语音识别与理解的自注意力线性复杂度替代方案

SummaryMixing: A Linear-Complexity Alternative to Self-Attention for Speech Recognition and Understanding

Samsung AI Center Cambridge(三星剑桥人工智能中心)

Titouan Parcollet, Rogier van Dalen, Shucong Zhang, Sourav Bhattacharya

AI总结:

针对自注意力词元混合的二次复杂度问题,提出线性时间的SummaryMixing方法,通过均值摘要结合时间信息实现,在保持或超越ASR性能的同时显著提速并降低内存。

摘要:

现代语音处理系统依赖自注意力机制。遗憾的是,自注意力的词元混合耗时与语音 utterance(话语)长度呈二次方关系,会拖慢推理与训练速度并增加内存消耗。学界已开发出用于自动语音识别(ASR)的低开销自注意力替代方案,但它们始终无法达到同等精度水平。为此,本文提出一种新型线性时间复杂度的自注意力替代方法。该方法通过对所有时间步的向量取均值来生成话语的摘要,再将这一单一摘要与时间特定信息相结合,我们将该方法命名为“SummaryMixing”。在前沿ASR模型中引入SummaryMixing后,模型能够保持甚至超越此前的语音识别性能,同时训练与推理速度最高提升28%,内存占用减少一半。

英文摘要:

Modern speech processing systems rely on self-attention. Unfortunately, token mixing with self-attention takes quadratic time in the length of the speech utterance, slowing down inference and training and increasing memory consumption. Cheaper alternatives to self-attention for ASR have been developed, but they fail to consistently reach the same level of accuracy. This paper, therefore, proposes a novel linear-time alternative to self-attention. It summarises an utterance with the mean over vectors for all time steps. This single summary is then combined with time-specific information. We call this method "SummaryMixing". Introducing SummaryMixing in state-of-the-art ASR models makes it feasible to preserve or exceed previous speech recognition performance while making training and inference up to 28% faster and reducing memory use by half.

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

↑