Input Length Matters: An Empirical Study Of RNN-T And MWER Training For Long-form Telephony Speech Recognition

Zhiyun Lu, Yanwei Pan, Thibault Doutre, Liangliang Cao, Rohit Prabhavalkar, Chao Zhang, Trevor StrohmanarXiv 2021

Abstract

End-to-end (E2E) speech recognition models, specifically the RNN-Transducer (RNN-T), frequently exhibit performance degradation when processing long-form audio. This study identifies a significant spike in deletion errors as the primary cause. By systematically increasing the length of training examples through segment concatenation and preserving acoustic context, we demonstrate substantial improvements in Word Error Rate (WER). Furthermore, we propose a two-stage training recipe that leverages the speed of log-loss training on long segments followed by fine-tuning with Minimum Word Error Rate (MWER) on short segments, achieving high performance with significantly reduced computational overhead.

Introduction

While E2E models like the RNN-T have set new benchmarks for speech recognition, they often struggle with long-form audio, such as multi-minute telephone conversations. When these models encounter long inputs, they frequently suffer from high deletion errors—essentially "forgetting" to transcribe large chunks of speech. The standard industry workaround involves segmenting long audio into short snippets before inference, but this adds complexity and loses vital acoustic context. This paper investigates whether the failure on long-form audio is a result of models only seeing short utterances during training.

Methodology

Model Architecture and Training Objectives

The researchers utilized a Conformer RNN-T architecture and compared two primary training objectives:

  1. Log Loss (RNN-T Loss): The standard approach maximizing the probability of the correct label sequence.
  2. MWER (Minimum Word Error Rate) Loss: A discriminative approach that directly minimizes expected word errors by comparing the ground truth against a beam of top hypotheses.

Training Regimes

To test the impact of input length, four training regimes were created by merging consecutive speech segments from raw transcripts while retaining non-speech audio (silence, background noise) between them:

  • Raw: ~2-3 seconds
  • Short: ~6-8 seconds
  • Medium: ~15-24 seconds
  • Long: ~20-50 seconds

Datasets

The study utilized telephony datasets across four languages: Australian English (En), French (Fr), Mexican Spanish (Es), and Brazilian Portuguese (Pt). Recordings ranged from 30 seconds to over 10 minutes. Generalization was tested using an Out-of-Domain (OOD) YouTube dataset for each language.

Results

The Deletion Trap and Length Impact

Visualizing error types revealed that on long audio, models trained on short clips stop transcribing entirely, with deletions accounting for up to 50% of total errors. Increasing training length led to an average relative WER reduction of 15.7% for log loss and 8.8% for MWER. In the Mexican Spanish task, training on "long" segments with log loss reduced WER by 38% relative compared to "raw" segments.

Figure 1: (a) Deletion errors increase with test length; (b) WER decreases as training length increases.

Efficiency of the Two-Stage Recipe

The proposed two-stage recipe—training on long segments using log loss (fast), then fine-tuning the decoder on short segments using MWER (accurate)—achieved WERs that matched or beat the best single-stage models. Crucially, this was done at 1/4 the computational cost of full MWER training on long segments.

Discussion

Exposure Bias and MWER

MWER helps mitigate "exposure bias"—the mismatch between training (perfect ground-truth history) and inference (potentially erroneous history). This explains why MWER outperforms log loss significantly when training data is short. However, as training utterances get longer, the gap between log loss and MWER narrows. This may be because the N-best list used in MWER training lacks enough diversity for very long sequences, making the discriminative signal less effective.

Figure 2: Breakdown of WER components (deletion, substitution, insertion) across training lengths for log-loss and MWER.

Context Preservation

Simply concatenating text is insufficient; maintaining the "non-speech" audio between segments is vital for robustness against the noisy nature of real-world telephony. Importantly, training on longer utterances did not degrade performance on short-form speech, suggesting that long-form training is a superior strategy for general-purpose ASR.

Conclusion

This empirical study demonstrates that input length is a critical factor in the robustness of E2E models for long-form speech. By increasing training utterance length and utilizing an efficient two-stage training objective, researchers can significantly reduce deletion errors and improve overall WER. Future work will focus on improving MWER's scaling for long-form audio and exploring the integration of external language models.

Summary updated

BibTeX
@misc{lu2021input,
  author = {Zhiyun Lu and Yanwei Pan and Thibault Doutre and Liangliang Cao and Rohit Prabhavalkar and Chao Zhang and Trevor Strohman},
  title = {{Input Length Matters: An Empirical Study Of RNN-T And MWER Training For Long-form Telephony Speech Recognition}},
  year = {2021},
  eprint = {2110.03841},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2110.03841},
}
Figure