[Paper Review] Mask CTC: Non-Autoregressive End-to-End ASR with CTC and Mask Predict
Mask CTC is a non-autoregressive end-to-end ASR framework that improves CTC outputs by iteratively refining low-confidence tokens using mask prediction, leveraging both CTC alignment and conditional dependencies between tokens. It achieves state-of-the-art performance among non-autoregressive models, reducing WER from 17.9% to 12.1% on WSJ and approaching autoregressive models with 0.07 RTF on CPU.
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 extit{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.
Motivation & Objective
- Address the limitations of standard CTC, which suffers from strong conditional independence assumptions between output tokens, leading to suboptimal performance.
- Overcome the challenges of output length prediction in non-autoregressive models by initializing with greedy CTC outputs instead of predicting sequence length.
- Enable fast, parallel decoding with minimal computational overhead while maintaining high accuracy by refining only low-confidence tokens.
- Bridge the performance gap between non-autoregressive and autoregressive ASR models without requiring complex iterative refinement or length prediction.
- Develop a framework that is robust across diverse languages and suitable for real-time deployment with low inference latency.
Proposed method
- Train a Transformer encoder-decoder model jointly with CTC and mask-predict objectives during training.
- Initialize the target sequence during inference using greedy CTC outputs, which are already highly accurate for most tokens.
- Identify low-confidence tokens in the CTC output using a confidence threshold on CTC probabilities.
- Iteratively predict masked low-confidence tokens by conditioning on both past and future unmasked tokens and input speech features.
- Apply iterative refinement with a small number of mask-prediction steps (e.g., K=5), where each step predicts one or a few masked tokens.
- Use the conditional dependence between tokens to correct substitution errors while preserving the fixed sequence length from CTC.
Experimental results
Research questions
- RQ1Can a non-autoregressive ASR model achieve performance close to autoregressive models without requiring output length prediction?
- RQ2Can iterative refinement of low-confidence CTC tokens improve recognition accuracy while maintaining fast inference speed?
- RQ3How effective is mask prediction based on CTC probabilities compared to random masking during inference?
- RQ4Does the framework generalize across different languages and tokenization schemes, especially those with small units like Latin scripts?
- RQ5Can the model recover substitution errors effectively while being insensitive to insertion/deletion errors due to fixed CTC length?
Key findings
- Mask CTC reduced WER from 17.9% to 12.1% on the WSJ dataset, significantly outperforming standard CTC and approaching autoregressive models.
- On the CSJ (Japanese) dataset, Mask CTC achieved comparable or better CER (4.97%) than the autoregressive CTC-attention model (5.40%) on the same evaluation set.
- The model achieved 0.07 RTF inference speed on CPU using a Python implementation, making it 116× faster than autoregressive models.
- Sentence error rates (SER) improved across all evaluation sets, indicating that the model effectively corrects errors through contextual dependency modeling.
- The performance gain was most significant on languages with small token units (e.g., Latin script), where substitution errors were common and correctable via context.
- The framework showed robustness to varying data sizes and language types, with consistent improvements on Voxforge (lower WER than standard CTC) and CSJ.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.