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

Improving Sequence-To-Sequence Speech Recognition Training with On-The-Fly Data Augmentation

Thai-Son Nguyen, Sebastian Stüker, Jan Niehues, Alex Waibel

TL;DR

This paper introduces three "on-the-fly" data augmentation techniques—Dynamic Time Stretching, SpecAugment, and Sub-sequence Sampling—to combat overfitting in Sequence-to-Sequence (S2S) speech recognition. By applying these methods, the researchers achieved state-of-the-art performance (5.2% WER on Switchboard) using only speech data, matching human-level accuracy without the need for massive external text corpora.

What Problem Does This Paper Address?

In Automatic Speech Recognition (ASR), Sequence-to-Sequence (S2S) models have become the gold standard. However, these models are notoriously "data-hungry" and prone to overfitting. Because they are so deep and complex, they often memorize the training data rather than learning generalizable speech patterns.

While many researchers try to fix this by designing more complex neural architectures, the authors of this paper argue that the bottleneck isn't the architecture—it's the data. Specifically, they address how to increase the variety and volume of training data without the high cost of manual transcription or the need for external language modeling data.

Methods

The authors evaluate three primary augmentation methods that can be performed during training (on-the-fly) to save storage space and increase variability:

  1. Dynamic Time Stretching (New): Instead of perturbing the raw audio speed (which is computationally expensive), this method manipulates the log-mel spectrogram directly. It stretches windows of feature vectors using nearest-neighbor interpolation. This makes the model robust to different speaking rates.
  2. SpecAugment (Existing): Borrowed from recent literature, this technique applies random masks to the spectrogram in both the frequency and time domains. It essentially "blanks out" parts of the input, forcing the model to rely on surrounding context.
  3. Sub-sequence Sampling (New): This targets the decoder (the part of the model that predicts text). By creating three variants of sub-sequences from the original training utterances (e.g., keeping the start, keeping the end, or taking a middle chunk), the authors provide the decoder with more diverse linguistic contexts to learn from.

The team tested these methods on two popular architectures: a traditional LSTM-based S2S and a modern Self-Attention (Transformer) S2S.

Datasets

The models were trained and evaluated on two standard benchmarks:

  • Switchboard (300h): A collection of about 300 hours of telephone conversations.
  • Fisher + Switchboard (2000h): A much larger dataset totaling 2,000 hours to test how the methods scale.
  • Evaluation: Performance was measured on the Hub5’00 evaluation set, which includes both Switchboard (SWB) and CallHome (CH) subsets.

Key Insights and Ideas

  • Architecture Matters for Augmentation: Interestingly, LSTMs and Transformers reacted differently to the same augmentations. For example, LSTMs were more prone to overfitting when using dynamic sub-sequence sampling, whereas static sub-sequence sampling (pre-generating the chunks) provided a significant boost.
  • Synergy is Key: The best results came from combining methods. Applying Time Stretching followed by SpecAugment allowed the models to generalize across different "axes" of the data (speed and spectral content).
  • No Text, No Problem: Most state-of-the-art ASR systems rely heavily on massive external text-only datasets to train a separate Language Model. This paper shows that with smart augmentation, you can reach human-level performance using only the transcripts provided with the audio data.
  • Efficiency: Because these augmentations are "on-the-fly" and computationally cheap, they can be integrated into the training pipeline on a CPU while the GPU handles the heavy lifting of model training.

Key Results

The quantitative improvements were substantial:

  • Baseline vs. Augmented: On the 300h Switchboard task, the baseline Transformer had a Word Error Rate (WER) of 13.2%. Adding Time Stretching and SpecAugment dropped that to 10.2%.
  • State-of-the-Art: When scaled to the 2000h dataset, an ensemble of their models achieved a WER of 5.2% on Switchboard and 10.2% on CallHome.
  • Human Parity: These numbers are considered on par with human performance for these specific telephone conversation tasks.

Limitations and Future Work

The authors note that while Dynamic Time Stretching is effective, they only used a simple nearest-neighbor interpolation. They suggest that exploring more sophisticated stretching algorithms might yield even better results.

Additionally, the "Sub-sequence Sampling" results were mixed depending on the model type and whether the sampling was static or dynamic. Future work will likely focus on refining these sampling strategies to ensure they consistently benefit both recurrent and self-attention-based architectures.

Summary updated

BibTeX
@inproceedings{nguyen2020improving,
  author = {Thai-Son Nguyen and Sebastian Stüker and Jan Niehues and Alex Waibel},
  title = {{Improving Sequence-To-Sequence Speech Recognition Training with On-The-Fly Data Augmentation}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2020},
  url = {https://openreview.net/forum?id=m-4sQYLJuO},
}
Figure