Abstract
Large-scale end-to-end automatic speech recognition (ASR) models achieve high accuracy but suffer from significant computational latency, particularly during decoding. This paper explores extreme encoder output frame rate reduction using funnel reduction layers within a Conformer-based Hybrid Autoregressive Transducer (HAT) architecture. By strategically placing these layers, the authors achieve a frame rate as low as one frame per 2.56 seconds. Experimental results on massive real-world datasets demonstrate an 82% reduction in total computational latency with only a marginal relative increase in word error rate (WER), effectively shifting the computational bottleneck and enabling faster-than-real-time performance for large-scale models.
Introduction
Modern Automatic Speech Recognition (ASR) models are increasingly reaching billions of parameters to achieve state-of-the-art accuracy. However, these "End-to-End" (E2E) models come with a heavy computational tax. In real-time applications like voice search, the bottleneck often lies in the decoding process. In popular architectures like the Hybrid Autoregressive Transducer (HAT), the cost of decoding is directly proportional to the number of output frames generated by the encoder. Standard models typically produce a frame every 40 milliseconds; for a 10-second clip, this requires the decoder to process 250 frames. This research investigates how far this frame count can be reduced without compromising the model's recognition capabilities.
Architecture and Methodology
The researchers utilize a Conformer-based HAT model, introducing several key architectural modifications to achieve "extreme" frame reduction:
- Funnel Reduction Layers: Instead of standard sub-sampling (like frame skipping), the model employs funnel layers that apply pooling (average or max) to the "query" in the Multi-Headed Self-Attention mechanism. This compresses the sequence length while retaining essential acoustic information.
- Strategic Layer Placement: Experiments revealed that placing reduction layers later in the 16-layer Conformer stack, or distributing them gradually, provides the optimal balance between recognition accuracy and encoder speed.
- Enhanced Prediction Network: As the encoder's output is compressed, the decoder receives less temporal information. To compensate, the authors replaced simple embedding-based prediction networks with more powerful LSTM-based versions, providing the necessary linguistic context to bridge the gaps in the compressed encoder stream.
Experimental Results
The models were evaluated on a Google voice search dataset containing 520 million utterances. The primary metric for success was the reduction in computational latency relative to the Word Error Rate (WER).
Massive Latency Reduction
The "E6" configuration, which produces only one frame per 2.56 seconds, reduced total computational latency from 670ms to 118ms—an 82% improvement. This shift is fundamental; in 95% of test utterances, the model required decoding 3 frames or fewer to transcribe an entire sentence. As shown in the performance data, the most significant gains come from the decoder, where latency dropped by a staggering 92%.
Accuracy Trade-offs
Despite the extreme compression, the accuracy trade-off remained minimal. On the Voice Search (VS) task, the WER only moved from 3.6% to 3.7% after applying Minimum Word Error Rate (MWER) training. This suggests a "Context Compensation" effect where the stronger LSTM prediction network effectively "imagines" missing pieces when the encoder provides updates only once every few seconds.
Conclusion and Future Work
The study identifies a clear "breaking point" at a reduction of one frame every 5.12 seconds (E7), where WER degrades significantly (from 3.6% to 5.4%). This indicates a floor to how much acoustic information can be compressed while maintaining high-fidelity recognition. Future research will focus on combining these frame reduction techniques with other optimizations like quantization and distillation to further enhance efficiency for mobile and edge device deployment.
Summary updated