An Approach to Improve Robustness of NLP Systems against ASR Errors

Tong Cui, Jinghui Xiao, Liangyou Li, Xin Jiang, Qun LiuarXiv 2021

Abstract

Automatic Speech Recognition (ASR) systems frequently introduce errors that degrade the performance of downstream Natural Language Processing (NLP) tasks. Traditional data augmentation techniques often fail to capture the complex, context-dependent nature of these errors. This paper presents a novel Noise Generation Model (NGM) based on a fine-tuned GPT-2 architecture designed to produce realistic, phonetically plausible ASR noise. By training NLP models on this augmented data, we demonstrate significant improvements in robustness for Spoken Language Translation (SLT) and Spoken Language Understanding (SLU) tasks, achieving state-of-the-art results across multiple benchmarks.

Introduction

The integration of speech and text processing is central to modern voice assistants. However, the standard pipeline architecture—where an ASR module feeds text into an NLP module—is highly susceptible to error propagation. Minor acoustic misinterpretations by the ASR can lead to catastrophic failures in downstream tasks like translation or intent recognition. While data augmentation is a common remedy, existing methods typically rely on simple rule-based or statistical word substitutions that ignore linguistic context and the specific phonetic characteristics of ASR failures. This work addresses these gaps by using a generative approach to simulate realistic ASR noise.

Methodology

The proposed approach utilizes a four-stage pipeline to generate and utilize "plausible" ASR noise for robust training.

The four-stage pipeline for robust NLP model training: 1) pair collection, 2) NGM training, 3) noise generation/filtering, and 4) final robust model training.
  1. Clean-Noisy Pair Collection: Large-scale speech corpora are processed through commercial ASR systems. By comparing the ASR output with manual transcriptions, the system identifies and collects pairs of clean and noisy text.
  2. Noise Generation Model (NGM): A pre-trained GPT-2 model is fine-tuned on these pairs. Unlike simple substitution models, the transformer-based NGM learns to generate errors that are contextually appropriate for the sentence structure, mimicking the internal language models of real ASR systems.
  3. Phonetic Filtering: To ensure the generated noise remains phonetically similar to the original text, the authors employ a Phone Edit Rate (PER) metric. This metric calculates the Levenshtein distance between the phoneme sequences of the clean and generated noisy text, filtering out candidates that are phonetically unrecognizable.
  4. Robust Training: The NGM generates a noisy version of the task-specific training set. The final NLP model is then trained on a combination of clean and synthetic noisy data.
Examples of generated noisy text ($Text_{noisy}$) compared to the original ($Text_{clean}$), showing associated phonetic sequences and Phone Edit Rate (PER) scores used for filtering.

Experimental Setup and Datasets

The NGM was trained on approximately 930,000 clean/noisy pairs derived from Common Voice, Tatoeba, and LJSpeech. Evaluation spanned several critical domains:

  • Spoken Language Translation (SLT): Evaluated on CoVoST-2 (English-to-German and English-to-Chinese) and MSLT (English-to-Chinese).
  • Spoken Language Understanding (SLU): Evaluated on Fluent Speech Commands (FSC) and DSTC-2 (dialogue state tracking).

Key Results and Insights

The NGM-based augmentation consistently outperformed baseline methods (Rule-based and Statistic-based substitution):

  • Translation Performance: In SLT tasks on the MSLT English-to-Chinese dataset, the BLEU score improved from a baseline of 28.2 to 32.0.
  • Understanding Accuracy: In SLU tasks using the FSC dataset, intent recognition accuracy increased from 93.8% to 97.0%.
  • Generalization: Noise generated based on one ASR system effectively improved robustness against errors from different, unseen ASR systems, suggesting the NGM captures fundamental patterns of speech recognition failure.
  • Contextual Realism: Qualitative analysis showed that the robust model could recover the intended meaning of misrecognized phrases (e.g., "class. Sick" vs. "classic") that caused baseline models to fail.

Limitations and Future Work

While effective, the method introduces a slight performance trade-off on perfectly clean text. Additionally, the current study utilized GPT-2 Small; future iterations may benefit from larger architectures like BART or T5. Expanding the approach to a wider variety of source languages and more complex dialogue tasks remains a priority for future research.

Conclusion

This research demonstrates that context-aware, phonetically-filtered noise generation is a powerful tool for building robust speech-to-text pipelines. By moving beyond simple word swaps to sophisticated language model-based augmentation, NLP systems can better handle the inherent imperfections of speech recognition in real-world applications.

Summary updated

BibTeX
@misc{cui2021approach,
  author = {Tong Cui and Jinghui Xiao and Liangyou Li and Xin Jiang and Qun Liu},
  title = {{An Approach to Improve Robustness of NLP Systems against ASR Errors}},
  year = {2021},
  eprint = {2103.13610},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2103.13610},
}
Figure