FSR:通过应用快速跳跃正则化加速基于传感器的模型的推理过程
FSR: Accelerating the Inference Process of Transducer-Based Models by Applying Fast-Skip Regularization
摘要:
基于换能器的模型,如RNN-Transducer和transformer-transducer,在语音识别中取得了巨大的成功。一个典型的换能器模型解码的输出序列的条件下,当前的声学状态和先前预测的令牌一步一步。据统计,预测结果中的空白标记数占所有标记数的近90%。预测空白标记需要大量的计算和时间,但只有非空白标记才会出现在最终的输出序列中。因此,我们提出了一种名为快速跳过正则化的方法,它试图将换能器预测的空白位置与CTC模型预测的空白位置对齐。在推理过程中,传感器模型通过一个简单的CTC投影层预先预测空白标记,无需传感器解码器进行大量复杂的前向计算,然后跳过空白标记,从而大大减少了计算量,提高了推理速度。所有的实验都是在公开的汉语普通话数据集AISHELL-1上进行的。结果表明,快速跳跃正则化确实可以帮助传感器模型学习空白位置对准。此外,使用快速跳过的推理速度可以提高近4倍,而性能只有很小的下降。
英文摘要:
Transducer-based models, such as RNN-Transducer and transformer-transducer, have achieved great success in speech recognition. A typical transducer model decodes the output sequence conditioned on the current acoustic state and previously predicted tokens step by step. Statistically, The number of blank tokens in the prediction results accounts for nearly 90\% of all tokens. It takes a lot of computation and time to predict the blank tokens, but only the non-blank tokens will appear in the final output sequence. Therefore, we propose a method named fast-skip regularization, which tries to align the blank position predicted by a transducer with that predicted by a CTC model. During the inference, the transducer model can predict the blank tokens in advance by a simple CTC project layer without many complicated forward calculations of the transducer decoder and then skip them, which will reduce the computation and improve the inference speed greatly. All experiments are conducted on a public Chinese mandarin dataset AISHELL-1. The results show that the fast-skip regularization can indeed help the transducer model learn the blank position alignments. Besides, the inference with fast-skip can be speeded up nearly 4 times with only a little performance degradation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。