Abstract
Standard autoregressive (AR) models for automatic speech recognition (ASR) generate text tokens sequentially, leading to computational bottlenecks. Non-autoregressive (NAR) models aim to overcome this by generating tokens in parallel. This study provides a comprehensive comparison of various NAR architectures, revealing that while they offer significant speedups (up to 50x compared to AR beam search), they also exhibit superior robustness on long audio sequences by avoiding the cumulative errors typical of sequential decoding.
Introduction: The Autoregressive Bottleneck
Most state-of-the-art speech-to-text systems rely on autoregressive decoding. In this paradigm, each output token $y_t$ is conditioned on the previously generated tokens $y_{1:t-1}$. While effective for capturing linguistic dependencies, this sequential nature prevents parallelization during inference, making real-time applications challenging.
Non-autoregressive (NAR) models break this dependency, allowing for the simultaneous generation of all tokens. However, removing the causal link between tokens often results in a performance gap. This research evaluates several NAR "families"—including CTC-based, refinement-based, and insertion-based models—under a unified framework to identify the most effective strategies for balancing speed and accuracy.
Methodology and Evaluated Models
The authors utilized the ESPnet toolkit and the Conformer architecture as a backbone for all models. The evaluated NAR categories include:
- CTC-based Baselines: Connectionist Temporal Classification (CTC) serves as the fundamental NAR approach.
- Iterative Refinement: Models like Mask-CTC and Align-Denoise use masking and denoising to iteratively improve initial parallel predictions.
- Insertion-based Models: Insertion Transformer and KERMIT generate sequences by inserting tokens into a canvas.
- Internal Regularization: Intermediate CTC and Self-conditioned CTC apply auxiliary losses to intermediate layers, guiding the model's internal representations.
- Latent Alignment: CIF-NA uses a soft alignment mechanism to map acoustic frames to output tokens.
For speech translation (ST), the study also examined models like Orthros, which utilizes Conditional Masked Language Modeling (CMLM) to handle the complex alignments between source audio and target text.
Key Insights: The Long-Form Advantage
A pivotal discovery of this study is the inherent robustness of NAR models to long-form audio. In AR models, the sequential dependency can lead to "looping" or "early termination" errors, where a single mistake in the sequence propagates, causing the model to lose its place.
As shown in the analysis of error rates versus sequence length, AR models exhibit a sharp increase in Word Error Rate (WER) for very long sequences, primarily driven by deletion errors. In contrast, NAR models, which predict the entire sequence at once based on acoustic frames, maintain stable performance even as the output length increases. This suggests that NAR models rely more heavily on acoustic information, making them less prone to the "drift" seen in language-model-heavy AR decoders.
Performance and Speed Benchmarks
- Inference Speed: NAR models achieved a speedup of 4.7x to 5.8x over AR models using greedy decoding. When compared to AR models using beam search, the speedup exceeded 50x.
- Accuracy: On the LibriSpeech "test-clean" benchmark, Self-conditioned CTC emerged as a top performer, achieving a WER of 6.9%, nearly matching the AR baseline's 7.4% (greedy).
- Environmental Robustness: NAR models perform well on clean audio but show a larger performance gap compared to AR models in noisy environments (e.g., CHiME-4). Without a strong internal language model, NAR systems struggle to "hallucinate" missing words when the audio signal is obscured by noise.
Conclusion
This comparative study highlights that NAR modeling is not just a tool for speed, but also a viable solution for robust long-form speech recognition. While a quality gap remains in noisy conditions, techniques like self-conditioning and iterative refinement are rapidly closing this gap. Future research will likely focus on enhancing the linguistic modeling capabilities of NAR architectures without compromising their parallel nature.
Summary updated