Abstract
Streaming Automatic Speech Recognition (ASR) systems often struggle to balance low latency with high accuracy. This paper introduces Delayed-KD, a novel knowledge distillation framework that utilizes a Temporal Alignment Buffer (TAB) to bridge the performance gap between non-streaming teacher models and low-latency streaming student models. By allowing a flexible, delayed window for distillation, the streaming student can effectively learn from a non-streaming teacher despite inherent timing mismatches in token emission. Experimental results on AISHELL-1 and WenetSpeech demonstrate that Delayed-KD achieves state-of-the-art accuracy at ultra-low latencies, such as matching the performance of a 320ms latency model with only 40ms of latency.
Introduction
Streaming ASR is essential for real-time applications like live captioning and voice assistants. Most modern systems leverage Connectionist Temporal Classification (CTC) for its efficiency. However, streaming CTC faces two major challenges: accuracy degradation due to limited context in short audio chunks, and token emission latency, where "CTC spikes" naturally lag behind those of non-streaming models.
Standard Knowledge Distillation (KD) typically relies on rigid frame-by-frame matching. Because the streaming student is naturally "late" compared to the non-streaming teacher, direct frame-by-frame distillation forces the student to learn from mismatched information, significantly limiting training effectiveness. Delayed-KD addresses this by embracing the inherent lag of streaming models.
Methodology
The core innovation of this work is the Temporal Alignment Buffer (TAB), which moves away from rigid frame-by-frame distillation.
Temporal Alignment Buffer (TAB)
Instead of forcing the student to match the teacher at a specific time $t$, the TAB defines a range of allowable delays. During training, the system calculates the Kullback-Leibler (KL) divergence between the teacher’s output and the student’s output across several possible delay offsets within the TAB. It then dynamically selects the specific delay that minimizes the loss.
Architecture and Training
The system employs a non-streaming Conformer as the teacher and a chunk-based streaming Conformer as the student. Both models utilize CTC branches, and the student includes an Attention Decoder for a final rescoring pass. The final training objective is a weighted combination of standard ASR losses (CTC and Attention-based Encoder-Decoder) and the proposed Delayed-KD loss.
Experimental Setup
The researchers evaluated Delayed-KD on two major Mandarin Chinese benchmarks:
- AISHELL-1: A 178-hour dataset commonly used for ASR benchmarking.
- WenetSpeech: A massive, 10,000-hour multi-domain dataset to demonstrate scalability to real-world data volumes.
Results and Discussion
Delayed-KD acknowledges that a streaming model requires a small amount of delay to gather necessary context. By allowing this delay during distillation, the student learns much richer representations from the teacher.
Visual analysis of CTC spikes (Figure 2) shows that Delayed-KD spikes are cleaner and occur earlier than standard U2++ models, despite the "delayed" training mechanism. The authors found that an 80ms TAB provided the optimal balance between accuracy and emission latency for AISHELL-1.
Key Performance Metrics
The performance gains are significant, particularly at very low latencies:
- AISHELL-1 Superiority: At a 40ms latency, Delayed-KD achieved a Character Error Rate (CER) of 5.42%. This matches the performance of the competitive U2++ model running at 320ms latency, effectively achieving an 8x reduction in latency for the same accuracy level.
- Relative Gains: Compared to a standard U2++ model at the same 40ms latency, Delayed-KD reduced the error rate by 9.34% in rescoring mode and 21.26% in pure streaming mode.
- WenetSpeech Scaling: On the 10k-hour dataset, the model showed relative CER reductions of up to 33.1% on challenging test sets, proving the method's robustness at scale.
Conclusion and Future Work
While Delayed-KD significantly improves low-latency ASR, it is sensitive to the distillation weight; excessively high weights can lead to overfitting on the teacher's specific posterior distributions. Additionally, while training complexity increases due to the TAB calculation, inference speed remains unaffected. Future research may explore adapting the TAB mechanism for other streaming architectures, such as RNN-Transducers or newer state-space models like Mamba.
Summary updated