Streaming End-to-End ASR based on Blockwise Non-Autoregressive Models

Tianzi Wang, Yuya Fujita, Xuankai Chang, Shinji Watanabe
7/20/2021
eess.AScs.LGcs.SD

Official code: espnet/espnet (10,021 stars, Python, Apache-2.0, PyTorch, last commit 2026-04-27).

Abstract

Non-autoregressive (NAR) modeling has gained more and more attention in speech processing. With recent state-of-the-art attention-based automatic speech recognition (ASR) structure, NAR can realize promising real-time factor (RTF) improvement with only small degradation of accuracy compared to the autoregressive (AR) models.

Show full abstract

However, the recognition inference needs to wait for the completion of a full speech utterance, which limits their applications on low latency scenarios. To address this issue, we propose a novel end-to-end streaming NAR speech recognition system by combining blockwise-attention and connectionist temporal classification with mask-predict (Mask-CTC) NAR. During inference, the input audio is separated into small blocks and then processed in a blockwise streaming way. To address the insertion and deletion error at the edge of the output of each block, we apply an overlapping decoding strategy with a dynamic mapping trick that can produce more coherent sentences. Experimental results show that the proposed method improves online ASR recognition in low latency conditions compared to vanilla Mask-CTC. Moreover, it can achieve a much faster inference speed compared to the AR attention-based models. All of our codes will be publicly available at https://github.com/espnet/espnet.

View on arXivView PDF

Code Implementations(1)

espnet/espnetOfficial100%
PyTorchApache-2.0

End-to-End Speech Processing Toolkit

10,0212,451Python, ShellDec 13, 20177 months agoApache-2.0
chainerdeep-learningend-to-endkaldimachine-translation+11 more

Similar Papers

Cite this paper

@article{wang2021streaming,
  title  = {Streaming End-to-End ASR based on Blockwise Non-Autoregressive Models},
  author = {Tianzi Wang and Yuya Fujita and Xuankai Chang and Shinji Watanabe},
  year   = {2021},
  eprint = {2107.09428},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2107.09428}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2107.09428.svg)](https://codeofpaper.com/paper/2107.09428)

Discussion