Abstract
This paper investigates the use of discrete speech tokens from self-supervised learning (SSL) models to provide long-range context for Automatic Speech Recognition (ASR). By integrating preceding and future utterance information into a Zipformer-Transducer architecture, the proposed method achieves significant Word Error Rate (WER) reductions. Crucially, using discrete tokens instead of continuous SSL features results in a training speedup of up to 4.36x with minimal loss in accuracy, making it a highly efficient approach for cross-utterance modeling.
Introduction
Most modern Automatic Speech Recognition (ASR) systems process speech in isolated segments or "utterances." However, human communication is inherently contextual; information from previous or subsequent sentences often helps resolve acoustic ambiguities. While textual context (e.g., via BERT embeddings) has been widely explored, incorporating acoustic context is more difficult. Raw audio and continuous features from SSL models like WavLM are high-dimensional, leading to prohibitive computational costs and slow training when extended over multiple utterances.
This research addresses this challenge by proposing the use of compact, discrete "speech units." By quantizing SSL features into a discrete vocabulary, the system can leverage long-range context without the massive memory and processing overhead associated with continuous vectors.
Methodology
The authors build upon the Zipformer-Transducer (Z-T) architecture, introducing a framework for cross-utterance modeling.
Feature Extraction and Quantization
The system utilizes a fine-tuned WavLM-Large model. Features are extracted from the 21st layer—identified as the optimal layer for capturing semantic and phonetic information—and quantized into 2,000 discrete clusters using k-means. These discrete tokens serve as a compact representation of the acoustic context.
Contextual Fusion
The model incorporates context from both preceding and future utterances. Two primary fusion strategies are evaluated:
- Input Concatenation: Appending the encoder embeddings of context utterances to the current utterance.
- Pooling Projection: Utilizing an attention-based "Compact Module" to compress context into a fixed-length representation, further enhancing efficiency.
To ensure robustness, the discrete token embeddings are subjected to data augmentation techniques, including Time Warping, Masking, and Gaussian Noise.
Experimental Results
The proposed methods were evaluated on two datasets: GigaSpeech-M (1,000 hours of diverse audio) and DementiaBank Pitt (59 hours of clinical interviews).
Performance and Efficiency
The results demonstrate that discrete tokens are a highly effective proxy for continuous features. On GigaSpeech-M, the best contextual model achieved a 3.4% relative reduction in Word Error Rate (WER). On the DementiaBank dataset, which features spontaneous and often disfluent speech, a similar 3.4% relative reduction was observed.
The most significant advantage of the discrete approach is its efficiency. As shown in Table 1 (Figure 3), using discrete tokens for context resulted in a training speedup of 4.36x compared to the continuous feature baseline, while retaining approximately 98% of the accuracy gains relative to their respective non-contextual baselines. Furthermore, the system maintains a Real-Time Factor (RTF) of approximately 0.028, ensuring that the added context does not degrade inference speed.
The Role of Bidirectional Context
A key finding was the importance of "future" context. Models that utilized both preceding and future utterances consistently outperformed those relying solely on past information. This suggests that acoustic cues from subsequent speech are vital for resolving current ambiguities.
Conclusion
This study demonstrates that discrete SSL speech tokens provide a powerful and efficient mechanism for incorporating long-range context into ASR systems. By significantly reducing training time without sacrificing substantial accuracy, this approach makes cross-utterance modeling more accessible for large-scale and low-resource applications alike. Future work will focus on developing "streaming-friendly" architectures to mitigate the latency inherent in waiting for future context.
Summary updated