arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.08258cs.CLcs.LG
收藏

Skipformer:一种用于高效语音识别的跳过-恢复策略

Skipformer: A Skip-and-Recover Strategy for Efficient Speech Recognition

Du Xiaoman AI Lab(度小满人工智能实验室)

Wenjing Zhu, Sining Sun, Changhao Shan, Peng Fan, Qing Yang

AI总结:

针对语音识别中Conformer注意力模型长输入导致的算力与内存开销问题,提出Skipformer架构,通过中间CTC判定动态非均匀压缩序列长度,在Aishell-1、Librispeech上分别实现31倍、22倍长度压缩,同时提升识别准确率与推理速度。

摘要:

基于Conformer的注意力模型已成为自动语音识别任务事实上的骨干模型。对于CTC或RNN-T模型,通常会引入空白符号来对齐输入和输出序列。遗憾的是,输入长度过长会导致注意力机制的计算量和内存消耗呈二次方增长,超出算力预算。在本研究中,我们提出一种“跳过-恢复”式Conformer架构,名为Skipformer,用于动态、非均匀地压缩序列输入长度。Skipformer以中间CTC输出为判定标准,将帧分为三类:关键帧、跳过帧和忽略帧。关键帧输入后续Conformer块,其输出与跳过帧按原始时间顺序拼接,作为最终的编码器输出。实验表明,我们的模型在Aishell-1数据集上将输入序列长度压缩了31倍,在Librispeech语料库上压缩了22倍。同时,与近期的基线模型相比,该模型能实现更高的识别准确率和更快的推理速度。我们的代码已开源,可在线获取。

英文摘要:

Conformer-based attention models have become the de facto backbone model for Automatic Speech Recognition tasks. A blank symbol is usually introduced to align the input and output sequences for CTC or RNN-T models. Unfortunately, the long input length overloads computational budget and memory consumption quadratically by attention mechanism. In this work, we propose a "Skip-and-Recover" Conformer architecture, named Skipformer, to squeeze sequence input length dynamically and inhomogeneously. Skipformer uses an intermediate CTC output as criteria to split frames into three groups: crucial, skipping and ignoring. The crucial group feeds into next conformer blocks and its output joint with skipping group by original temporal order as the final encoder output. Experiments show that our model reduces the input sequence length by 31 times on Aishell-1 and 22 times on Librispeech corpus. Meanwhile, the model can achieve better recognition accuracy and faster inference speed than recent baseline models. Our code is open-sourced and available online.

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

↑