高效的一致性:用于自动语音识别的渐进下采样和分组注意
Efficient conformer: Progressive downsampling and grouped attention for automatic speech recognition
摘要:
最近提出的Conformer架构已经在自动语音识别中显示出最先进的性能,其通过将卷积与注意力相结合来对局部和全局依赖性进行建模。在本文中,我们研究了如何降低Conformer架构的复杂性与有限的计算预算,导致一个更有效的架构设计,我们称之为高效的Conformer。我们引入渐进下采样的构象编码器,并提出了一种新的注意机制命名为分组注意,使我们能够减少注意的复杂性从$O(n^{2}d)$到$O(n^{2}d / g)$的序列长度$n$,隐藏维度$d$和组大小参数$g$。我们还实验了使用跨步多头自我注意作为一个全局下采样操作。我们的实验是在具有CTC和RNN换能器损失的LibriSpeech数据集上进行的。我们表明,在相同的计算预算下,与Conformer相比,所提出的架构可以实现更好的性能,并且训练和解码速度更快。我们的13 M参数CTC模型在不使用语言模型的情况下实现了3.6%/9.0%的竞争性WER,在使用外部n-gram语言模型的情况下实现了2.7%/6.7%的竞争性WER,同时在推理方面比我们的CTC Conformer基线快29%,在训练方面快36%。
英文摘要:
The recently proposed Conformer architecture has shown state-of-the-art performances in Automatic Speech Recognition by combining convolution with attention to model both local and global dependencies. In this paper, we study how to reduce the Conformer architecture complexity with a limited computing budget, leading to a more efficient architecture design that we call Efficient Conformer. We introduce progressive downsampling to the Conformer encoder and propose a novel attention mechanism named grouped attention, allowing us to reduce attention complexity from $O(n^{2}d)$ to $O(n^{2}d / g)$ for sequence length $n$, hidden dimension $d$ and group size parameter $g$. We also experiment the use of strided multi-head self-attention as a global downsampling operation. Our experiments are performed on the LibriSpeech dataset with CTC and RNN-Transducer losses. We show that within the same computing budget, the proposed architecture achieves better performances with faster training and decoding compared to the Conformer. Our 13M parameters CTC model achieves competitive WERs of 3.6%/9.0% without using a language model and 2.7%/6.7% with an external n-gram language model on the test-clean/test-other sets while being 29% faster than our CTC Conformer baseline at inference and 36% faster to train.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。