Abstract
This paper evaluates two leading architectures for on-device streaming speech recognition—RNN-Transducer (RNN-T) and Monotonic Chunkwise Attention (MoChA)—against various data augmentation strategies. The authors find that while MoChA excels in clean conditions, RNN-T is the superior choice for real-world on-device use due to its significantly lower latency, training stability, and inherent robustness to noise and reverberation.
Introduction
As Automatic Speech Recognition (ASR) moves from the cloud to "on-device" (running directly on your phone or smart speaker), two major challenges emerge: the requirement for real-time streaming and environmental robustness. On-device ASR often operates in "far-field" conditions, where background noise and room echoes (reverberation) can drastically degrade accuracy. This study compares how different streaming architectures respond to data augmentation techniques designed to combat these real-world conditions.
Methods and Architectures
The researchers compared two primary "End-to-End" (E2E) streaming architectures:
- RNN-T: A popular model that uses an encoder and a prediction network joined by a joint network. It processes input frame-by-frame, making it naturally streaming-friendly.
- MoChA: An attention-based model that uses a monotonic mechanism to look at small chunks of audio at a time, allowing for streaming unlike standard global attention models.
To improve robustness, three data augmentation methods were tested: Acoustic Simulator (AS) for adding noise/reverb, Vocal Tract Length Perturbation (VTLP) for speaker diversity, and SpecAugment for feature robustness.
Experimental Setup
Models were trained on the 960-hour LibriSpeech corpus. Evaluation utilized standard LibriSpeech benchmarks, a "Noisy LibriSpeech" variant created with the acoustic simulator, and the VOiCES dataset, which features challenging real-world acoustic conditions.
Key Insights
Stability and Fragility
MoChA is notoriously difficult to train, requiring specific linear learning rate warm-up strategies to converge. Furthermore, MoChA's attention mechanism is fragile; if noise levels are too high, the attention probability can drop, causing the model to stop outputting labels entirely. RNN-T proved much more stable and did not suffer from this failure mode.
The Clean vs. Noisy Trade-off
Data augmentation involves a trade-off. While the Acoustic Simulator (AS) massively improved performance on noisy data, it caused a slight regression in Word Error Rate (WER) on clean speech, illustrating a "no free lunch" scenario in model training.
Results
RNN-T emerged as the clear winner for on-device deployment due to its stable latency and superior robustness in noisy environments.
- Accuracy: MoChA performed slightly better on clean speech (6.18% WER vs. 7.86% for RNN-T). However, on the noisy VOiCES data, RNN-T was often more robust.
- Augmentation Impact: The Acoustic Simulator was the most effective tool. For MoChA, adding AS reduced the WER on noisy speech from 64.32% to approximately 25%.
- Latency and Speed: RNN-T latency remained low and stable (~4ms to 7ms), whereas MoChA’s latency increased drastically with beam size (~15ms to 119ms). RNN-T inference was 2x to 3x faster than MoChA.
- Model Size: RNN-T was slightly more efficient at 313MB compared to MoChA’s 326MB.
Conclusion and Future Work
While MoChA offers high accuracy in clean environments, RNN-T's stability, low latency, and inherent robustness make it the preferred architecture for on-device streaming ASR. Future work could explore "look-ahead" mechanisms to bridge the accuracy gap without sacrificing the real-time streaming experience.
Summary updated