Mask CTC: Non-Autoregressive End-to-End ASR with CTC and Mask Predict
About
We present Mask CTC, a novel non-autoregressive end-to-end automatic speech recognition (ASR) framework, which generates a sequence by refining outputs of the connectionist temporal classification (CTC). Neural sequence-to-sequence models are usually \textit{autoregressive}: each output token is generated by conditioning on previously generated tokens, at the cost of requiring as many iterations as the output length. On the other hand, non-autoregressive models can simultaneously generate tokens within a constant number of iterations, which results in significant inference time reduction and better suits end-to-end ASR model for real-world scenarios. In this work, Mask CTC model is trained using a Transformer encoder-decoder with joint training of mask prediction and CTC. During inference, the target sequence is initialized with the greedy CTC outputs and low-confidence tokens are masked based on the CTC probabilities. Based on the conditional dependence between output tokens, these masked low-confidence tokens are then predicted conditioning on the high-confidence tokens. Experimental results on different speech recognition tasks show that Mask CTC outperforms the standard CTC model (e.g., 17.9% -> 12.1% WER on WSJ) and approaches the autoregressive model, requiring much less inference time using CPUs (0.07 RTF in Python implementation). All of our codes will be publicly available.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Automatic Speech Recognition | LibriSpeech Other | WER7.4 | 140 | |
| Speech Recognition | WSJ (92-eval) | WER17.9 | 131 | |
| Automatic Speech Recognition | LibriSpeech Clean | WER3.3 | 124 | |
| Speech Recognition | WSJ nov93 (dev) | WER22.2 | 52 | |
| Automatic Speech Recognition | AMI | WER18.4 | 46 | |
| Speech Recognition | Switchboard | WER7.6 | 37 | |
| Automatic Speech Recognition | SWITCHBOARD callhm | WER15.2 | 14 | |
| Automatic Speech Recognition | Web presentation corpus | WER7.7 | 11 | |
| Speech Recognition | LibriSpeech Clean | Relative Speed (vs Beam)61.3 | 9 | |
| Speech Recognition | LibriSpeech Other | Relative Speed (vs Beam)50.1 | 9 |