[Paper Review] Developing Real-time Streaming Transformer Transducer for Speech Recognition on Large-scale Dataset
This paper proposes a real-time streaming Transformer Transducer (T-T) and Conformer Transducer (C-T) model for large-scale speech recognition, combining Transformer-XL and chunk-wise processing to enable low-latency inference without sacrificing accuracy. The method achieves 0.25 real-time factor on CPU with 360ms lookahead, outperforming RNN-T and streaming Transformer AED models by over 10% relative WER while maintaining efficient computation.
Recently, Transformer based end-to-end models have achieved great success in many areas including speech recognition. However, compared to LSTM models, the heavy computational cost of the Transformer during inference is a key issue to prevent their applications. In this work, we explored the potential of Transformer Transducer (T-T) models for the fist pass decoding with low latency and fast speed on a large-scale dataset. We combine the idea of Transformer-XL and chunk-wise streaming processing to design a streamable Transformer Transducer model. We demonstrate that T-T outperforms the hybrid model, RNN Transducer (RNN-T), and streamable Transformer attention-based encoder-decoder model in the streaming scenario. Furthermore, the runtime cost and latency can be optimized with a relatively small look-ahead.
Motivation & Objective
- Address the high computational cost and latency of Transformer Transducer (T-T) models in streaming speech recognition.
- Enable real-time inference on large-scale datasets with low latency and high accuracy.
- Balance training efficiency, runtime cost, and model performance in streaming ASR systems.
- Overcome limitations of existing streaming methods such as time-restricted masking, chunk-wise processing, and memory-based approaches.
Proposed method
- Integrate Transformer-XL's recurrence mechanism with chunk-wise streaming processing to limit context dependency and reduce latency growth.
- Use a fixed history length (e.g., 60 frames) to maintain training efficiency and avoid overlapping chunks.
- Apply a small lookahead (e.g., 24 frames, 720ms) to enable natural chunk-wise decoding and reduce latency.
- Employ a hybrid architecture with Transformer encoder and LSTM predictor to balance speed and accuracy.
- Use mixed-precision training on 32 V100 GPUs to complete 65k hours of training in 2 days.
- Apply INT8 quantization to accelerate inference, especially on CPU, with minimal WER degradation.
Experimental results
Research questions
- RQ1Can a streaming Transformer Transducer model achieve real-time inference with low latency on large-scale speech recognition datasets?
- RQ2How does combining Transformer-XL and chunk-wise processing improve latency and computational efficiency in T-T models?
- RQ3What is the trade-off between latency, inference speed, and accuracy when introducing a small lookahead in streaming T-T and C-T models?
- RQ4Can INT8 quantization significantly accelerate inference without degrading performance on CPU for streaming T-T and C-T models?
Key findings
- T-T and C-T outperform hybrid models, RNN-T, and streaming Transformer AED models by over 10% relative WER in streaming scenarios.
- With a 360ms lookahead, T-T achieves 0.25 real-time factor on CPU, meeting industrial real-time requirements.
- T-T with 60-frame history and 24-frame lookahead achieves 8.28% WER and 0.16 RTF with 4 threads, outperforming RNN-T in both accuracy and efficiency.
- INT8 quantization yields 3.6x speedup for RNN-T and ~2x speedup for T-T and C-T, with only 0.22% WER degradation for T-T.
- The model maintains near-offline performance (7.78% WER) even with small lookahead, indicating minimal accuracy drop compared to full-utterance inference.
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.