TL;DR
This paper introduces a novel decoder-only Transformer architecture for streaming Automatic Speech Recognition (ASR) that utilizes discrete speech units. By incorporating a "boundary token" mechanism and right-chunk attention, their approach achieves competitive performance with non-streaming models, paving the way for more efficient and responsive real-time ASR systems.
What Problem Does This Paper Address?
Recent advancements in ASR have seen the rise of unified speech-text models, often leveraging decoder-only Transformers, inspired by the success of Large Language Models (LLMs). These models typically process entire speech utterances to predict text tokens. However, this approach is unsuitable for real-time applications where low latency is crucial. Existing streaming ASR methods often rely on different architectures or complex integration strategies. This paper addresses the challenge of adapting the powerful decoder-only Transformer architecture, which excels at processing discrete tokens, for efficient and accurate streaming ASR. The goal is to enable real-time speech recognition without sacrificing the performance benefits of decoder-only models.
Methods
The core innovation lies in adapting decoder-only Transformers for streaming ASR using discrete speech units. The authors propose two main strategies for integrating speech and text tokens:
- Text Token Insertion (TTI): This method interleaves text tokens directly into the speech token sequence, guided by speech-to-text alignment. While conceptually simple, it complicates beam search decoding due to the mixed token types.
- Boundary Token Insertion (BTI): This approach introduces a special "boundary token" into the speech sequence instead of text tokens. This effectively decouples speech and text processing. When a boundary token is encountered, the model predicts the corresponding text token autoregressively. This method is shown to be more effective for streaming.
To further enhance streaming performance, the paper introduces:
- Right-Chunk Attention: This mechanism allows text tokens to attend to a limited "right chunk" of speech tokens, improving contextual modeling without requiring the entire utterance.
- Causal Attention Masking: Standard practice for streaming, ensuring that predictions at any given time step only depend on past information.
- Data Augmentation Techniques: Including speed perturbation, trigger shift, and time masking to improve model robustness and generalization.
- Label Smoothing: Applied to mitigate overfitting during the discrete token prediction phase.
- LLM Initialization: Leveraging off-the-shelf text LLMs (like Qwen) to initialize the decoder-only ASR model, aiming to improve performance and potentially reduce training data requirements.
Datasets
The experiments were conducted on two Chinese Mandarin corpora:
- AISHELL-1: Approximately 178 hours of speech data.
- AISHELL-2: Approximately 1000 hours of speech data.
These are existing, well-established benchmarks for ASR research in Chinese.
Key Insights and Ideas
- BTI Outperforms TTI for Streaming: The Boundary Token Insertion (BTI) method proves more effective than Text Token Insertion (TTI) for streaming ASR. Decoupling speech and text processing via boundary tokens leads to better performance and adaptability, especially when combined with LLM initialization.
- Right-Chunk Attention is Crucial: This mechanism significantly improves contextual modeling in streaming scenarios, leading to a notable reduction in character error rate (CER) compared to models without it.
- LLM Initialization Benefits BTI More: While LLM initialization generally helps, its impact is more pronounced with the BTI approach, suggesting that LLMs can better leverage the decoupled speech-text structure.
- Discrete Tokens are Viable for Streaming Decoder-Only ASR: The study demonstrates that decoder-only Transformers, when adapted with streaming mechanisms, can achieve competitive results using discrete speech units, aligning with the trend of unified multimodal models.
Key Results
- On AISHELL-1, the proposed streaming decoder-only model (using BTI) achieved a CER of 6.1% for the small model and 5.9% when initialized with a large LLM (Qwen-0.5B).
- These results are competitive with non-streaming decoder-only counterparts, with the LLM-initialized BTI model showing a 9.2% relative CER reduction compared to its non-streaming counterpart.
- Ablation studies showed that right-chunk attention had the most significant impact on reducing CER, and label smoothing was the most effective data augmentation technique.
Limitations and Future Work
- Pilot Study: The authors acknowledge this is a pilot study, indicating that further research is needed.
- Tokenizer: The current work uses HuBERT as the speech tokenizer. Future work will explore other speech tokenizers.
- Languages and Datasets: Experiments were limited to Chinese Mandarin. Future work will involve experiments on more languages and larger datasets.
- Model Scale: While LLM initialization was explored with a 0.5B parameter model, future work will investigate the benefits of significantly larger LLMs.
- Latency vs. Accuracy Trade-off: While not explicitly detailed, the paper implies that the "right chunk" size (∆) influences latency, and further optimization of this trade-off is likely an area for future exploration.
Summary updated