Abstract
Non-Autoregressive (NAR) models for Automatic Speech Recognition (ASR) offer significant inference speedups over traditional Autoregressive (AR) models but often suffer from reduced accuracy and increased parameter counts. This paper introduces a novel framework designed to bridge this performance gap by distilling knowledge from high-performing AR teacher models into NAR students. By combining a new beam search decoding method for Mask-CTC with multi-level (encoder, frame, and sequence) distillation, the proposed method achieves up to a 25% relative error reduction. Experimental results demonstrate that NAR models up to 9x smaller than standard architectures can rival the performance of much larger systems while maintaining an 11x speed advantage.
Introduction
In the field of Automatic Speech Recognition (ASR), researchers typically navigate a trade-off between two architectural paradigms. Autoregressive (AR) models predict tokens sequentially, a process that ensures high accuracy but results in inference times that scale linearly with sentence length. Conversely, Non-Autoregressive (NAR) models predict all tokens simultaneously, offering massive speed advantages. However, NAR models traditionally struggle with lower accuracy and often require substantial model sizes to compensate for the lack of sequential dependency modeling.
This research addresses two primary hurdles: the slow convergence and performance lag of NAR models compared to state-of-the-art AR systems, and the high computational footprint that hinders deployment on resource-constrained edge devices.
Methodology
The authors propose a two-pronged approach to enhance NAR performance: a refined decoding algorithm and a comprehensive distillation framework.
1. Beam Search for Mask-CTC
Standard Mask-CTC models typically utilize "greedy" decoding, selecting the single most probable token for each masked slot. This paper introduces a Beam Search algorithm for the Mask-CTC decoder. By maintaining a "beam" of $B$ top candidates rather than a single hypothesis, the model explores a significantly larger search space during iterative refinement. This modification leads to superior transcriptions with only a marginal impact on inference latency.
2. Multi-Level Knowledge Distillation
To transfer the linguistic nuances of an AR "teacher" to an NAR "student," the authors developed a distillation process operating at three distinct levels:
- Encoder Distillation: The student encoder is trained to mimic the feature representations generated by the teacher's encoder.
- Frame-Level Decoder Distillation: This matches the probability distribution for specific tokens at each frame, providing local guidance to the student.
- Sequence-Level Decoder Distillation: This is the core innovation of the framework. It encourages the student to match the teacher's overall sentence-level logic. This global perspective helps the NAR model overcome the "length prediction" problem—a common failure mode where NAR models struggle to determine the exact number of tokens in an utterance.
Experimental Results
The framework was evaluated on two benchmark datasets: AISHELL-1 (150-hour Mandarin) and LibriSpeech (960-hour English). The researchers tested various student sizes, including an "Extremely Small" (XS) variant with only 6.5 million parameters.
Performance and Efficiency
- Accuracy Gains: On LibriSpeech, the distilled NAR student achieved a 25% relative Word Error Rate (WER) reduction over the baseline NAR model.
- Model Compression: The XS model achieved an 18-25% error reduction on AISHELL-1, demonstrating that distillation allows models roughly 9x smaller than the standard AR teacher to "punch above their weight."
- Inference Speed: The NAR models maintained their inherent speed advantage. While the AR teacher recorded a Real-Time Factor (RTF) of 0.58, the distilled NAR model achieved an RTF of 0.051—approximately 11x faster—even with beam search enabled.
Discussion and Key Insights
The study highlights the "Poor Teacher" problem: previous NAR distillation attempts often used other NAR models as teachers. The authors argue that because NAR models are inherently limited in their modeling of dependencies, they provide a weaker signal. Using a "smarter" AR teacher provides a much richer knowledge base for the student.
Furthermore, while frame-level distillation improves local accuracy, sequence-level distillation is critical for understanding global linguistic structures, significantly reducing insertion and deletion errors. The proposed beam search also offers a tunable trade-off; even a small beam size (e.g., 5 or 10) yields substantial gains while remaining an order of magnitude faster than AR decoding.
Conclusion
This work demonstrates that the performance gap between AR and NAR speech recognition can be significantly narrowed through intelligent knowledge transfer. By utilizing AR models as teachers and implementing multi-level distillation alongside beam search, it is possible to create ASR systems that are both highly accurate and efficient enough for edge deployment. Future research will focus on applying these techniques to other NAR architectures and integrating external non-autoregressive language models to further refine output quality.
Summary updated