Abstract
Modern non-autoregressive (NAR) speech recognition systems aim to accelerate inference speed; however, they suffer from performance degradation compared with autoregressive (AR) models as well as the huge model size issue. We propose a novel knowledge transfer and distillation architecture that leverages knowledge from AR models to improve the NAR performance while reducing the model's size. Frame- and sequence-level objectives are well-designed for transfer learning. To further boost the performance of NAR, a beam search method on Mask-CTC is developed to enlarge the search space during the inference stage. Experiments show that the proposed NAR beam search relatively reduces CER by over 5% on AISHELL1 benchmark with a tolerable real-time-factor (RTF) increment. By knowledge transfer, the NAR student who has the same size as the AR teacher obtains relative CER reductions of 8/16% on AISHELL-1 dev/test sets, and over 25% relative WER reductions on Librispeech test-clean/other sets. Moreover, the ~9x smaller NAR models achieve ~25% relative CER/WER reductions on both AISHELL-1 and Librispeech benchmarks with the proposed knowledge transfer and distillation.
Introduction
Automatic Speech Recognition (ASR) has traditionally relied on Autoregressive (AR) models, which predict tokens sequentially. While highly accurate due to their ability to model contextual dependencies, their sequential nature limits inference speed. Non-Autoregressive (NAR) models, such as Mask-CTC, offer a solution by generating tokens in parallel, significantly reducing latency. However, NAR models typically lag behind AR models in accuracy and often require large parameter counts to compensate for the lack of sequential modeling. This paper addresses these challenges by introducing a framework for distilling knowledge from an AR "teacher" into a more efficient NAR "student."
Proposed Methodology
The core of the proposed approach is a multi-level knowledge distillation (KD) pipeline that transfers the sequential wisdom of an AR model to an NAR architecture.
Knowledge Transfer Architecture
The architecture involves an AR teacher and an NAR student. Distillation occurs at both the encoder and decoder levels. The NAR encoder is trained to mimic the AR encoder's representations. More critically, the NAR decoder undergoes both frame-level and sequence-level distillation. Frame-level KD matches the probability distributions for each token, while sequence-level KD utilizes the N-best hypotheses from the teacher to guide the student's learning process. Crucially, for the decoder, this distillation focuses specifically on the <MASK> positions that the NAR model needs to fill.
Beam Search for Mask-CTC
To further enhance inference performance, the authors developed a beam search method for the Mask-CTC decoder. Unlike standard greedy decoding, which selects only the most likely token at each step, beam search explores multiple candidate sequences during the iterative mask-filling process. This significantly expands the search space, helping the model recover from early errors and reducing CER by over 5% on the AISHELL-1 benchmark.
Experimental Evaluation
The framework was evaluated on the AISHELL-1 (Mandarin) and LibriSpeech (English) benchmarks. The researchers compared standard NAR models with those trained using the proposed knowledge distillation across various model sizes, ranging from Large (L) to Extra Small (XS).
Key Results
The results demonstrate that knowledge distillation significantly closes the performance gap between AR and NAR models. As shown in the table below, the distilled NAR models consistently outperform their non-distilled counterparts across all metrics.
Notably, the "XS" NAR model, which contains only 6.5M parameters (~9x smaller than the baseline), achieved a relative error reduction of approximately 25% compared to a non-distilled model of the same size. On AISHELL-1, the distilled NAR student achieved relative Character Error Rate (CER) reductions of 8–16%. On LibriSpeech, Word Error Rate (WER) dropped by over 25% for the distilled models. Despite the added complexity of beam search, the NAR models remained over 10x faster than the AR teacher.
Conclusion
This work demonstrates that the performance of NAR speech recognition can be substantially improved through effective knowledge transfer from AR models. By combining frame- and sequence-level distillation with an enhanced beam search decoding strategy, NAR models can achieve high accuracy while maintaining their speed advantage. Furthermore, the ability to achieve significant gains with highly compressed models paves the way for deploying efficient, high-performance ASR on resource-constrained devices. Future work may involve integrating external language models to further bridge the gap with state-of-the-art AR systems.
Summary updated