Specaugment on Large Scale Datasets

Daniel S. Park, Yu Zhang, Chung-Cheng Chiu, Youzheng Chen, Bo Li, William Chan, Quoc V. Le, Yonghui Wu

TL;DR

This paper investigates the effectiveness of SpecAugment, a spectrogram-level data augmentation technique, on large-scale, multi-domain speech recognition datasets. They demonstrate that SpecAugment, especially when combined with other augmentation methods, significantly improves performance and can even outperform more complex techniques. The authors also introduce an adaptive version of SpecAugment to better handle varying utterance lengths in large datasets.

What Problem Does This Paper Address?

Automatic Speech Recognition (ASR) systems often struggle with generalization, especially when trained on limited or specific datasets. Data augmentation is a common technique to improve robustness by artificially increasing the diversity of training data. SpecAugment, a method that directly modifies spectrograms by masking frequency bands or time steps, has shown great promise on smaller, public datasets. However, its effectiveness on large-scale, multi-domain datasets, which are more representative of real-world ASR challenges, remained an open question. This paper aims to bridge that gap by evaluating SpecAugment on such datasets and exploring ways to adapt it for better performance.

Methods

The core of the paper revolves around applying and extending SpecAugment. SpecAugment itself consists of three main operations:

  • Time Warping: Distorting the temporal dimension of the spectrogram.
  • Frequency Masking: Masking out a contiguous block of frequency channels.
  • Time Masking: Masking out a contiguous block of time steps.

The authors apply these operations to the spectrograms of input audio. A key contribution is the introduction of adaptive time masking. Recognizing that large datasets often contain utterances of widely varying lengths, they propose making the time masking parameters (number of masks and/or mask size) dependent on the utterance's length. This is done by introducing multiplicity ratios ($p_M$) and size ratios ($p_S$). They also explore combining SpecAugment with existing augmentation techniques like Multistyle Training (MTR), which mixes clean audio with noisy audio.

Datasets

The paper uses two primary datasets:

  • Google Multidomain Dataset: A large-scale, multi-domain dataset with anonymized data and multiple test sets from diverse domains (Search, Search-Noisy, TTS-Audiobook, Telephony, YouTube). This dataset is used to evaluate SpecAugment on large-scale, real-world scenarios.
  • LibriSpeech 960h: A well-established ASR dataset, used to further evaluate SpecAugment, particularly its adaptive variants, and to achieve state-of-the-art results.

Key Insights and Ideas

  • SpecAugment Scales Up: The paper confirms that SpecAugment's effectiveness extends to large-scale, multi-domain ASR tasks, offering significant performance gains.
  • Synergy with Other Augmentations: Mixing SpecAugmented data with MTR data proved more beneficial than applying SpecAugment on top of MTR, suggesting a complementary relationship rather than a hierarchical one.
  • Adaptive Masking Potential: While adaptive time masking didn't outperform fixed policies on the Google Multidomain Dataset in this study, it showed promise on LibriSpeech, indicating its potential for large-scale tasks with significant length variance.
  • Computational Efficiency: SpecAugment is highlighted for its negligible computational cost and online applicability, making it highly scalable and a practical alternative to more resource-intensive augmentation methods.
  • Time Masking's Importance: The study suggests that time masking, in particular, plays a crucial role in improving performance, especially for streaming ASR models.

Key Results

  • On the Google Multidomain Dataset, SpecAugment applied to clean data outperformed the MTR baseline on all natural test sets. Mixing SpecAugmented data with MTR data also yielded improvements across all domains. Applying SpecAugment on top of MTR, however, degraded performance.
  • For the LibriSpeech 960h dataset, the proposed adaptive SpecAugment policy ("LibriFullAdapt") achieved a Word Error Rate (WER) of 2.2% on test-clean and 5.2% on test-other, outperforming previous results and demonstrating the benefit of adaptive masking.
  • The paper also shows that SpecAugment improves the performance of streaming models, which are crucial for real-time applications.

Limitations and Future Work

  • Adaptive Masking on Large Datasets: The authors note that they were unable to find an adaptive time masking policy that outperformed fixed policies on the Google Multidomain Dataset. They suggest that further exploration is needed to unlock the full potential of adaptive masking for large-scale tasks.
  • Exploration of Adaptive Policies: While they introduced adaptive multiplicity and size for time masks, they acknowledge that more sophisticated adaptive policies might exist and warrant further investigation.
  • Streaming Model Improvements: The paper suggests that adaptive masking could bring further improvements when SpecAugment is applied to large-scale tasks, especially for streaming models.

Summary updated

BibTeX
@inproceedings{park2020specaugment,
  author = {Daniel S. Park and Yu Zhang and Chung-Cheng Chiu and Youzheng Chen and Bo Li and William Chan and Quoc V. Le and Yonghui Wu},
  title = {{Specaugment on Large Scale Datasets}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2020},
  doi = {10.1109/icassp40776.2020.9053205},
}
Figure