[Paper Review] Universal ASR: Unifying Streaming and Non-Streaming ASR Using a Single Encoder-Decoder Model
This paper proposes Universal ASR, a unified end-to-end model that integrates streaming and non-streaming automatic speech recognition into a single architecture using a shared dynamic-chunk encoder and a dual-path decoder. The system achieves state-of-the-art performance with a 5.62% CER on the AISHELL-2 benchmark by enabling configurable latency in the streaming path and improved accuracy in the non-streaming path through joint training and shared computation.
Recently, online end-to-end ASR has gained increasing attention. However, the performance of online systems still lags far behind that of offline systems, with a large gap in quality of recognition. For specific scenarios, we can trade-off between performance and latency, and can train multiple systems with different delays to match the performance and latency requirements of various application scenarios. In this work, in contrast to trading-off between performance and latency, we envisage a single system that can match the needs of different scenarios. We propose a novel architecture, termed Universal ASR that can unify streaming and non-streaming ASR models into one system. The embedded streaming ASR model can configure different delays according to requirements to obtain real-time recognition results, while the non-streaming model is able to refresh the final recognition result for better performance. We have evaluated our approach on the public AISHELL-2 benchmark and an industrial-level 20,000-hour Mandarin speech recognition task. The experimental results show that the Universal ASR provides an efficient mechanism to integrate streaming and non-streaming models that can recognize speech quickly and accurately. On the AISHELL-2 task, Universal ASR comfortably outperforms other state-of-the-art systems.
Motivation & Objective
- Address the performance gap between streaming and non-streaming end-to-end ASR systems by unifying them into a single model.
- Reduce the operational and optimization overhead of maintaining multiple separate models for different latency requirements.
- Enable real-time inference with configurable latency in the streaming component while preserving high accuracy through a second-pass non-streaming refinement.
- Minimize computational cost by sharing the encoder between online and offline components.
- Improve recognition accuracy in non-streaming mode by leveraging full-context representations and semantic context from the online predictions.
Proposed method
- Propose a unified encoder-decoder architecture with a shared dynamic-chunk encoder based on LC-SAN-M, enabling both streaming and non-streaming inference.
- Implement a streaming decoder using Streaming Chunk-Aware Multihead Attention (SCAMA) with a predictor to control attention over local context, ensuring low-latency inference.
- Introduce Dynamic Latency Training (DLT) to allow a single online model to support multiple latency configurations (e.g., 300ms, 600ms, 900ms) during inference.
- Design a non-streaming component with a full-sequence encoder, a text encoder to inject predictions from the online model, and a full-sequence decoder for context-rich decoding.
- Use stride-convolutional downsampling (kernel=5, stride=2) in the offline path to reduce computational cost without sacrificing performance.
- Jointly train the entire model end-to-end, enabling parameter sharing and joint optimization of both streaming and non-streaming components.
Experimental results
Research questions
- RQ1Can a single end-to-end ASR model effectively unify streaming and non-streaming inference with configurable latency?
- RQ2Does sharing the encoder between streaming and non-streaming components reduce computational cost while maintaining or improving performance?
- RQ3Can the non-streaming component leverage predictions from the online component to improve final recognition accuracy?
- RQ4To what extent does Dynamic Latency Training (DLT) enhance model flexibility and performance across different latency constraints?
- RQ5How does the proposed unified model compare to separate streaming and non-streaming models in terms of accuracy and inference efficiency?
Key findings
- Universal ASR achieves a 5.62% CER on the AISHELL-2 test_ios set, setting a new state-of-the-art for this benchmark.
- The offline component of Universal ASR outperforms the offline baseline (Model0) by over 15% relative error reduction on common and far-field test sets.
- The online component with Dynamic Latency Training (DLT) achieves better performance than separately trained SCAMA models at the same latency settings.
- Removing the full-sequence encoder degrades performance significantly, confirming the importance of full-context modeling in non-streaming decoding.
- The text encoder in the offline path improves performance by incorporating semantic context from the online predictions, demonstrating the value of cross-path knowledge transfer.
- The shared encoder and stride-convolutional downsampling reduce computational cost in the offline path, enabling efficient second-pass decoding with acceptable latency.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.