arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2203.15206cs.SDcs.CLeess.AS
收藏

用于基于Transformer的端到端流传输ASR的移位块编码器

Shifted Chunk Encoder for Transformer Based Streaming End-to-End ASR

Institute of Automation, Chinese Academy of Science(中国科学院自动化研究所);School of Future Technology, University of Chinese Academy of Sciences(中国科学院大学未来技术学院);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院)

Fangyuan Wang, Bo Xu

摘要:

目前,主要存在三种基于Transformer编码器的流式端到端(E2 E)自动语音识别(ASR)方法,即时间限制方法、块方式方法和基于存储器的方法。一般来说,它们都在线性计算复杂性、全局上下文建模和并行训练方面存在局限性。在这项工作中,我们的目标是建立一个模型,采取所有这三个优点的流Transformer ASR。特别是,我们提出了一个移位块机制的块式Transformer,它提供了跨块之间的连接。因此,块模型的全局上下文建模能力可以得到显着提高,而所有原有的优点继承。我们将该方案与分块的Transformer和Conformer相结合,并将它们分别标识为SChunk-Transformer和SChunk-Conformer。在AISHELL-1上的实验结果表明,SChunk-Transformer和SChunk-Conformer的CER分别达到6.43%和5.77%。线性复杂度使它们可以进行大批量的训练,从而更有效地进行推理。我们的模型可以显着优于传统的块明智的同行,同时具有竞争力,只有0.22的绝对CER下降,与U2相比,具有二次复杂性。如果与现有的分块或基于内存的方法(如HS-DACS和MMA)相比,可以实现更好的CER。代码被释放。

英文摘要:

Currently, there are mainly three kinds of Transformer encoder based streaming End to End (E2E) Automatic Speech Recognition (ASR) approaches, namely time-restricted methods, chunk-wise methods, and memory-based methods. Generally, all of them have limitations in aspects of linear computational complexity, global context modeling, and parallel training. In this work, we aim to build a model to take all these three advantages for streaming Transformer ASR. Particularly, we propose a shifted chunk mechanism for the chunk-wise Transformer which provides cross-chunk connections between chunks. Therefore, the global context modeling ability of chunk-wise models can be significantly enhanced while all the original merits inherited. We integrate this scheme with the chunk-wise Transformer and Conformer, and identify them as SChunk-Transformer and SChunk-Conformer, respectively. Experiments on AISHELL-1 show that the SChunk-Transformer and SChunk-Conformer can respectively achieve CER 6.43% and 5.77%. And the linear complexity makes them possible to train with large batches and infer more efficiently. Our models can significantly outperform their conventional chunk-wise counterparts, while being competitive, with only 0.22 absolute CER drop, when compared with U2 which has quadratic complexity. A better CER can be achieved if compared with existing chunk-wise or memory-based methods, such as HS-DACS and MMA. Code is released.

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

↑