Text Generation with Speech Synthesis for ASR Data Augmentation

Zhuangqun Huang, Gil Keren, Ziran Jiang, Shashank Jain, David Goss-Grubbs, Nelson Cheng, Farnaz Abtahi, Duc Le, David Zhang, Antony D'Avirro, Ethan Campbell-Taylor, Jessie Salas, Irina-Elena Veliche, Xi ChenarXiv 2023 · DOI

Introduction

Training high-performance Automatic Speech Recognition (ASR) models typically requires thousands of hours of human-transcribed audio. Collecting and labeling such data is a significant bottleneck in the development of speech-enabled technologies. While researchers often use Text-to-Speech (TTS) systems to synthesize additional training audio, the effectiveness of this "Speech Synthesis" augmentation is fundamentally limited by the diversity of the input text.

If the available "seed" text corpus is small or repetitive, the resulting synthetic audio will lack the linguistic variety necessary to improve model robustness. Traditional methods for expanding these text corpora rely on rigid, rule-based grammars that are labor-intensive to build and often fail to capture the natural nuances of human speech. Researchers at Meta AI have proposed a new approach: leveraging Large Language Models (LLMs) like BART to generate diverse, high-quality synthetic scripts for ASR data augmentation.

Methodology

The proposed pipeline follows a straightforward sequence: Seed Text → Text Augmentation (TA) → TTS → ASR Training. The core innovation lies in the Text Augmentation stage, where the researchers compared three distinct strategies:

  1. NLX (Rule-based): A traditional context-free grammar approach. This requires human experts to analyze seed data and write syntax rules (e.g., "show me [Time] photos of [Entity]").
  2. BART Random Masking (BART R.M.): A neural approach using the BART model. Random tokens in seed sentences are replaced with a <mask> tag, and the model predicts the most likely replacements based on its extensive pre-training.
  3. BART Custom Masking (BART C.M.): A more targeted neural approach where only specific parts of speech, such as nouns and verbs, are masked. This aims to preserve the sentence's functional structure while varying its content.
Examples of Random vs. Custom Masking for text augmentation.

The resulting augmented text is processed through a multi-speaker TTS system to generate synthetic audio. Finally, an RNN-Transducer (RNN-T) ASR model is trained on a combination of original human-transcribed data and this new synthetic dataset.

Experimental Results

The study evaluated these methods across three distinct domains: LibriSpeech (open-domain audiobooks), Photo Search (structured queries), and Question and Answering (Q&A) (free-style dictation).

The neural augmentation strategies consistently outperformed both the baseline and the rule-based NLX method. As shown in the results table below, the BART-based methods provided substantial reductions in Word Error Rate (WER).

WER results across LibriSpeech, Photo Search, and Q&A datasets.

Key quantitative findings include:

  • LibriSpeech: On the "test-other" set, the baseline WER of 9.02% was reduced to 8.14% using BART Random Masking.
  • Q&A Domain: The most significant gains were seen when combining multiple augmentation methods, where the WER dropped from 7.91% to 6.67% on one of the internal test sets.
  • Relative Improvement: Overall, neural text augmentation achieved a 9% to 15% relative improvement in WER across the various test sets.

Key Insights

Neural Diversity vs. Hand-Crafted Rules

The BART-based approach proved superior to the rule-based NLX method. Because BART is pre-trained on massive datasets, it can generate a wider variety of linguistically plausible sentences than a human developer can manually encode. Furthermore, the BART method is significantly more efficient; it can generate millions of utterances in just two days on a single GPU, whereas rule-based systems require days of expert labor.

The Value of Randomness

Interestingly, "Random Masking" often outperformed "Custom Masking." While Custom Masking is more surgical, Random Masking produces more diverse and sometimes less predictable variations. This suggests that for ASR training, linguistic diversity is more valuable than strict adherence to specific grammatical templates.

Domain Sensitivity and Saturation

The impact of text augmentation varies by domain. It is most effective for "open" or "diverse" domains like Q&A. For highly rigid domains like Photo Search, the gains were smaller because the linguistic space is naturally more constrained. Additionally, the researchers noted a "saturation point" where improvements tend to plateau after an 8x to 100x augmentation factor.

Conclusion and Future Work

This research demonstrates that modern LLMs can significantly enhance ASR performance by providing high-quality, diverse synthetic scripts for TTS-based data augmentation. By moving away from labor-intensive rule-based systems toward automated neural generation, developers can build more robust speech models more efficiently. Future work will likely focus on increasing acoustic diversity and exploring how synthetic data interacts with external language models during the decoding phase.

Summary updated

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
LibriSpeech · test-otherBART R.M.WER8.14%split: test-other · params=2.3M · mixing-ratio=up to 50% · augmentation-scale=8.2x · synthetic-utterances=2.3M
Source quote
L122: BART R.M. │ \multicolumn{1}{c|}{8.14} │ 3.13 │ 3.94 │ \multicolumn{1}{c|}{8.32} │ 7.07
Photo Search in-domainBART R.M.WER3.94%split: test · params=1.0M · mixing-ratio=up to 10% · augmentation-scale=300x · synthetic-utterances=1.0M
Source quote
L122: BART R.M. │ \multicolumn{1}{c|}{8.14} │ 3.13 │ 3.94 │ \multicolumn{1}{c|}{8.32} │ 7.07
Q&A · in-domain-2BART R.M.WER6.67%split: test · mixing-ratio=up to 10% · augmentation-scale=8.0x · synthetic-utterances=800k
Source quote
L126: \makecell[l]{NLX + BART R.M. + BART C.M.} │ \multicolumn{1}{c|}{8.26} │ 3.18 │ 3.99 │ \multicolumn{1}{c|}{7.97} │ 6.67
BibTeX
@misc{huang2023text,
  author = {Zhuangqun Huang and Gil Keren and Ziran Jiang and Shashank Jain and David Goss-Grubbs and Nelson Cheng and Farnaz Abtahi and Duc Le and David Zhang and Antony D'Avirro and Ethan Campbell-Taylor and Jessie Salas and Irina-Elena Veliche and Xi Chen},
  title = {{Text Generation with Speech Synthesis for ASR Data Augmentation}},
  year = {2023},
  eprint = {2305.16333},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.16333},
}
Figure