NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Improving the Performance of Online Neural Transducer Models

Tara N. Sainath, Chung-Cheng Chiu, Rohit Prabhavalkar, Anjuli Kannan, Yonghui Wu, Patrick Nguyen, Zhifeng Chen

TL;DR

This paper bridges the performance gap between "streaming" (online) and "full-sequence" (offline) speech recognition models. By introducing techniques like extended attention windows, pre-training with offline models, and wordpiece-based decoding, the authors enable a Neural Transducer (NT) to match the accuracy of the state-of-the-art Listen, Attend and Spell (LAS) model while maintaining a low latency of just 300ms.

What Problem Does This Paper Address?

In Automatic Speech Recognition (ASR), there is a classic trade-off between latency and accuracy.

  • Full-sequence models (like LAS) are highly accurate because they look at the entire audio clip before transcribing. However, they are "offline"—you can't see the text until the speaker finishes talking, which is a dealbreaker for real-time applications like Voice Search.
  • Streaming models (like the Neural Transducer) process audio in small "chunks," allowing for real-time transcription. Historically, these models have suffered from significantly higher Word Error Rates (WER) because they lack the global context and stable alignments that offline models enjoy.

The authors set out to find if they could make a streaming NT model perform as well as an offline LAS model without sacrificing the "online" requirement.

Methods

The authors propose four primary improvements to the basic Neural Transducer algorithm:

  1. Extending Attention Range: In the original NT, the model only looks at the current chunk of audio. The authors modified this to allow the model to "look back" at many previous chunks (which adds no latency) and "look ahead" by a tiny amount (5 frames, or ~150ms).
  2. Pre-training with LAS: Aligning audio to text is hard for streaming models. The authors found that by first training a standard LAS model (which learns a high-quality, monotonic alignment) and using its parameters to initialize the NT model, the NT model starts with a much better "understanding" of where to look in the audio.
  3. Wordpiece Models: Instead of predicting individual characters (graphemes), the model predicts "wordpieces" (sub-word units). This increases the linguistic "memory" of the decoder, allowing it to capture more context per prediction.
  4. External Language Model (LM) Integration: They experimented with "shallow fusion," where a separate, large language model (trained on billions of text queries) is used to help guide the ASR model's predictions during the final search process.

Datasets

The experiments were conducted on a massive, industrial-scale dataset:

  • Training Set: ~12,500 hours of English Voice Search utterances (approx. 15 million utterances). This data was artificially corrupted with noise and reverberation to simulate real-world conditions.
  • Evaluation Set: ~14,800 hand-transcribed utterances from Google Voice Search traffic.

Key Insights and Ideas

  • Alignment is the Bottleneck: The most significant "aha moment" was that the NT's struggle wasn't just about missing future context; it was about failing to learn a good alignment between audio and text. Pre-training with an offline model effectively "teaches" the streaming model how to align.
  • Look-Back is "Free" Context: Since previous audio frames have already been processed, looking back at them doesn't add any latency. Maximizing this look-back window is an easy win for performance.
  • Wordpieces > Graphemes: Moving from characters to wordpieces significantly reduced language modeling errors. Because wordpieces are longer units, the attention mechanism doesn't have to "jump" as frequently, leading to a more stable decoding process.
  • Diminishing Returns of Multi-Head Attention: Interestingly, while Multi-Head Attention (MHA) helps offline LAS models significantly, it provided almost no benefit to the streaming NT model. This suggests that the constraints of streaming might limit the utility of attending to multiple different parts of the audio simultaneously.

Key Results

  • Closing the Gap: A basic NT model was roughly 25% worse than LAS. With the proposed improvements (look-back/ahead and LAS pre-training), a NT model with a 450ms latency matched the performance of the offline LAS model (11.4% vs 11.7% WER).
  • Low Latency Performance: At the target latency of 300ms (a chunk size of 5), the improved NT model achieved a WER of 8.7% (using Wordpieces and Multi-head attention), coming within 1% relative of the best offline systems.
  • Qualitative Fixes: The authors showed that errors where the model would hallucinate words (e.g., changing "parma" to "parma for tomorrow") were largely fixed by the stronger language modeling provided by wordpieces.

Limitations and Future Work

  • Multi-Head Attention Mystery: The authors noted that MHA didn't help NT as expected. They hypothesize that because NT ignores encoder space that comes after the current prediction, the "heads" have fewer useful places to look.
  • External LM Efficiency: While the external LM helped slightly, the Wordpiece Model (WPM) did most of the heavy lifting. Future work might explore more sophisticated ways to integrate external LMs (like "cold fusion") to see if further gains are possible for very short-latency models.
  • Fixed Chunk Sizes: The model uses fixed-size blocks; exploring adaptive chunk sizes based on audio content could be a potential next step.

Summary updated

BibTeX
@inproceedings{sainath2018improving,
  author = {Tara N. Sainath and Chung-Cheng Chiu and Rohit Prabhavalkar and Anjuli Kannan and Yonghui Wu and Patrick Nguyen and Zhifeng Chen},
  title = {{Improving the Performance of Online Neural Transducer Models}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2018},
  url = {https://openreview.net/forum?id=6b5u_A4HR2},
}
Figure