arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.08636eess.AScs.SD
收藏

HYBRIDFORMER:通过混合注意力和NSR机制改进SqueezeFormer

HYBRIDFORMER: improving SqueezeFormer with hybrid attention and NSR mechanism

Ximalaya Inc.(喜马拉雅公司);University of Alberta(阿尔伯塔大学)

Yuguang Yang, Yu Pan, Jingjing Yin, Jiangyu Han, Lei Ma, Heng Lu

摘要:

SqueezeFormer最近在自动语音识别(ASR)方面表现出令人印象深刻的性能。然而,它的推理速度受到softmax-attention(SA)的二次复杂度的影响。此外,受卷积核尺寸较大的限制,SqueezeFormer的局部建模能力不足。在本文中,我们提出了一种新的方法HybridFormer,以快速有效的方式改进SqueezeFormer。具体来说,我们首先将线性注意力(LA),并提出了一个混合LASA范式,以提高模型的推理速度。其次,提出了一种混合神经结构搜索(NAS)引导的结构重新参数化(SRep)机制,称为NSR,以提高模型提取局部相互作用的能力。在LibriSpeech数据集上进行的大量实验表明,我们提出的HybridFormer在测试其他数据集上可以实现比SqueezeFormer降低9.1%的相对单词错误率(WER)。当输入语音为30秒时,混合模型的推理速度提高了18%。我们的源代码可以在线获得。

英文摘要:

SqueezeFormer has recently shown impressive performance in automatic speech recognition (ASR). However, its inference speed suffers from the quadratic complexity of softmax-attention (SA). In addition, limited by the large convolution kernel size, the local modeling ability of SqueezeFormer is insufficient. In this paper, we propose a novel method HybridFormer to improve SqueezeFormer in a fast and efficient way. Specifically, we first incorporate linear attention (LA) and propose a hybrid LASA paradigm to increase the model's inference speed. Second, a hybrid neural architecture search (NAS) guided structural re-parameterization (SRep) mechanism, termed NSR, is proposed to enhance the ability of the model to extract local interactions. Extensive experiments conducted on the LibriSpeech dataset demonstrate that our proposed HybridFormer can achieve a 9.1% relative word error rate (WER) reduction over SqueezeFormer on the test-other dataset. Furthermore, when input speech is 30s, the HybridFormer can improve the model's inference speed up to 18%. Our source code is available online.

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

↑