Adversarially Improving NMT Robustness to ASR Errors with Confusion Sets

Shuaibo Wang, Yufeng Chen, Songming Zhang, Deyi Xiong, Jinan XuAACL/IJCNLP 2022

Introduction

Neural Machine Translation (NMT) systems are increasingly deployed in real-world pipelines where input is generated by Automatic Speech Recognition (ASR). However, NMT models are notoriously fragile when faced with the substitution errors common in ASR output. While previous research has addressed homophone errors (words that sound identical), real-world ASR errors often involve complex acoustic similarities that are not strictly homophonous. This paper proposes a novel adversarial training method utilizing "confusion sets"—groups of words frequently misidentified by ASR systems—to enhance NMT robustness.

Methodology: Adversarial Confusion Sets

The core of the proposed approach is an adversarial example generation method that leverages ASR-specific error patterns to create "hard" training examples.

1. Constructing Confusion Sets

Confusion sets are built by aligning ASR hypotheses with manual transcripts using Levenshtein distance. This process identifies specific word-level substitutions that the ASR system is prone to making, capturing the "acoustic-linguistic" quirks of the recognizer.

2. Adversarial Generation and Training

During training, the model generates adversarial examples by selecting substitutions from the confusion set. The selection criterion combines two factors:

  • Gradient Information: The gradient of the NMT loss with respect to the input token identifies substitutions that most severely degrade performance.
  • Embedding Distance: The method prioritizes tokens in the confusion set that are distant from the original token in the embedding space to ensure "aggressive" perturbations.
Overview of the adversarial training framework using ASR confusion sets and embedding space analysis.

The model is trained on these noisy examples, forcing it to learn robust representations that are invariant to acoustically plausible substitutions.

Experimental Evaluation

The method was evaluated on three major benchmarks: the NIST Chinese-English translation task, the WMT17 Chinese-English dataset, and the Baidu Speech Translation Corpus (BSTC). The BSTC dataset is particularly significant as it contains authentic ASR hypotheses rather than simulated noise.

Results and Discussion

The proposed method consistently outperformed vanilla Transformers and existing robustness techniques. As shown in the performance data, the model achieved a significant +4.84 BLEU improvement on noisy NIST test sets and a +3.00 BLEU gain on WMT17 noisy data compared to the baseline.

Performance comparison (BLEU) on NIST and WMT17 datasets under clean and noisy conditions.

Key Insights

  • Adversarial Regularization: Beyond improving robustness to noise, the method also enhanced performance on clean test sets. This suggests that adversarial training with confusion sets acts as a powerful regularizer, helping the model learn more generalized word representations.
  • Acoustic Rationality: Optimal results were achieved by balancing gradient-based loss with embedding distance. Maintaining "acoustic rationality"—ensuring noise mimics actual ASR behavior—is more effective than purely mathematical adversarial attacks.

Conclusion

This work demonstrates that training NMT models on acoustically-related "hard" examples derived from ASR confusion sets significantly boosts robustness to real-world speech errors. While currently focused on substitution errors, the approach is orthogonal to other robustness methods and offers a promising path toward more reliable speech-to-text translation systems.

Summary updated

BibTeX
@inproceedings{wang2022adversarially,
  author = {Shuaibo Wang and Yufeng Chen and Songming Zhang and Deyi Xiong and Jinan Xu},
  title = {{Adversarially Improving NMT Robustness to ASR Errors with Confusion Sets}},
  booktitle = {AACL/IJCNLP},
  year = {2022},
  doi = {10.18653/v1/2022.aacl-short.28},
}
Figure