Introduction
As Automatic Speech Recognition (ASR) models scale to billions of parameters, computational efficiency becomes a critical bottleneck. State-of-the-art architectures like Conformer or Transformer encoders exhibit quadratic complexity $O(T^2)$ relative to input sequence length $T$. Standard models typically operate at a 40ms frame rate, leading to long sequences that are memory-intensive and slow to process. This research investigates aggressive "time reduction" (downsampling) in massive models to mitigate these overheads without sacrificing accuracy.
Methodology
The researchers employed several key techniques to enable significant sequence compression while maintaining high performance:
- Funnel Pooling: Strided-average pooling is applied to query vectors in Multi-Head Self-Attention (MHSA) layers while maintaining high resolution for key and value sequences. This allows the model to attend to fine-grained details while producing a compressed output.
- Rotary Positional Embeddings (RoPE): Adapted positional indices account for downsampling to maintain temporal awareness across compressed sequences.
- Encoder Frame Upsampling: Information is injected back in later layers (similar to a U-Net architecture) to help the model recover lost acoustic details.
- Internal Language Model (ILM) Fusion: By subtracting the model's internal prior before fusing with an external Neural Language Model, the researchers significantly boosted performance on rare words.
- Light-weight Decoder: A simplified RNN-T prediction network reduces computational costs by focusing only on the last two non-blank tokens.
Experimental Setup
The study utilized massive internal and public datasets, including 490,000 hours of Google voice search data and 600,000 hours of multi-domain data (including YouTube audio). Evaluation focused on "Rare Proper Noun" (RPN) sets across five domains to test the limits of the models on difficult vocabulary.
Key Findings
RNN-T vs. CTC and Time Tolerance
Unlike Connectionist Temporal Classification (CTC), which requires output sequences to be at least as long as label sequences, RNN-Transducer (RNN-T) models are more flexible. This allows RNN-T models to operate at extreme frame rates—up to 640ms (a 16x reduction)—while maintaining reasonable accuracy.
As shown in the table above, multi-domain training is essential for maintaining performance at lower frame rates, especially when generalizing to longer audio segments.
Scaling and Language Model Fusion
Scaling models to 1.8B parameters significantly improves baseline accuracy. When combined with LM fusion and aggressive time reduction, these models achieve state-of-the-art results on rare word benchmarks.
The results indicate that a 1.8B parameter model at a 160ms frame rate, when fused with a 1B parameter LM, can reduce the Word Error Rate (WER) on rare proper nouns (e.g., Maps) from 14.2% to 9.8%.
Discussion
- Training Efficiency: Moving from a 40ms to a 160ms frame rate yielded a 4x training speedup for a 1.8B parameter CTC model with no loss in accuracy.
- Vocabulary Synergy: Increasing the word-piece vocabulary size (e.g., to 16k or 32k) results in shorter label sequences, which complements the encoder's coarser time resolution.
- Inference Speed: For a 900M RNN-T model, an 8x funnel reduction led to a 60% reduction in encoder runtime (from 153ms to 53ms per batch).
Conclusion
Aggressive time reduction in massive end-to-end ASR models is a viable path toward efficient scaling. By leveraging funnel pooling, RoPE, and multi-domain training, researchers can achieve significant computational savings in both training and inference with minimal impact on word error rates, even at frame rates as high as 640ms.
Summary updated