Abstract
While Transformer networks have become the standard in natural language processing, their application to industrial-scale automatic speech recognition (ASR) presents unique challenges. This paper investigates methods to scale Transformers using a 65,000-hour dataset, focusing on training stability for deep architectures and efficient low-latency streaming. By implementing Pre-Norm layers, depth-scale initialization, and a Transformer-XL based chunk-processing approach, we achieve a 6% relative word error rate (WER) reduction over traditional Bidirectional LSTMs.
Introduction: The Scaling Challenge
Most academic research on Transformers for ASR utilizes datasets like LibriSpeech (~1,000 hours). Transitioning to industrial scales (65,000+ hours) reveals two primary hurdles:
- Training Instability: Deep models trained across massive multi-GPU clusters often suffer from gradient issues when using standard "Post-Norm" configurations.
- The Streaming Gap: Standard self-attention mechanisms require the full sequence context. In real-time streaming, limiting lookahead with simple masks leads to "context expansion," where latency increases linearly with model depth.
Architectural Innovations for Stability and Streaming
To address these issues, several modifications were introduced:
Stability through Pre-Norm and Depth-scale Initialization
The researchers found that applying Layer Normalization before the sub-layer (Pre-Norm) significantly improved stability during large-scale training compared to the original Post-Norm design. Additionally, a depth-scale initialization strategy was employed to ensure effective gradient flow in models ranging from 24 to 100 layers.
Efficient Streaming with Transformer-XL
To solve the context expansion problem, the authors adopted the Transformer-XL architecture. Unlike standard masked Transformers where the lookahead window grows with each layer, Transformer-XL processes audio in fixed-size chunks and utilizes a cache for previous hidden states.
This approach maintains a constant lookahead latency regardless of model depth, which is critical for meeting strict real-time requirements.
Convolutional Encoders
Speech signals are inherently monotonic and local. To better capture this, the authors replaced or augmented standard positional encodings with VGG-style or interleaved 1D-convolutional layers. These convolutional front-ends help the model maintain temporal order more effectively than sinusoidal encodings.
Experimental Results
The models were trained on 65,000 hours of transcribed Microsoft data and evaluated on spontaneous conversational speech (dev) and far-field scenarios (eval).
Performance Comparison
The 12-layer Transformer model demonstrated superior performance compared to the industry-standard Bidirectional LSTM (BLSTM).
As shown in the table, the Transformer models consistently achieved lower WER (dev) than the 55M parameter BLSTM baseline (19.5). The best-performing Transformer configurations reached a WER of 18.4, representing a significant relative improvement.
Streaming and Depth Scaling
In streaming scenarios, the Transformer-XL model achieved a WER of 20.4 with an 800ms latency, matching the performance of Latency-Controlled BLSTMs (LC-BLSTM). While models were successfully scaled up to 48 layers (185M parameters), the most significant gains were observed up to 24 layers.
Conclusion
This work demonstrates that with proper initialization, normalization, and architectural choices like Transformer-XL and convolutional encoders, Transformers can be effectively scaled to massive speech datasets. While a small accuracy gap remains between streaming and offline models, the proposed techniques provide a robust framework for deploying high-performance Transformers in real-world ASR systems.
Summary updated