Dual Learning for Large Vocabulary On-Device ASR

Cal Peyser, W. Ronny Huang, Tara N. Sainath, Rohit Prabhavalkar, Michael Picheny, Kyunghyun Cho

Introduction

Building high-quality Automatic Speech Recognition (ASR) systems typically requires massive amounts of paired data—audio matched with precise transcripts. While semi-supervised techniques using unpaired data (audio-only or text-only) have shown promise in low-resource settings, their utility in high-resource, production-scale environments has been less clear.

This paper explores dual learning—a paradigm where ASR and Text-to-Speech (TTS) models "teach" each other using unlabeled data—applied to an on-device, streaming Conformer model. The authors demonstrate that this approach can achieve relative Word Error Rate (WER) improvements of up to 16.4% on Librispeech, effectively integrating language model knowledge directly into the ASR decoder.

Methodology

The authors implement a dual learning framework that treats ASR (audio-to-text) and TTS (text-to-audio) as symmetric tasks. The architecture is centered around a Cascading Conformer, which utilizes a small "streaming" encoder for low-latency results and a larger "delayed" encoder (900ms look-ahead) for higher accuracy.

The dual learning framework connecting ASR and TTS components through shared loops and reconstruction tasks.

Dual Learning Loops

The framework operates through two primary cycles:

  1. Unpaired Text ($U_T$): The TTS model generates synthetic audio from text, which the ASR model then learns to transcribe.
  2. Unpaired Audio ($U_A$): The ASR model generates "pseudo-labels" (transcripts) for raw audio, which the TTS model then learns to synthesize.

To ensure effective communication between the models, the researchers added reconstruction loops (e.g., Audio → ASR Encoder → TTS Decoder → Audio). A critical finding was that a simple linear transformation layer between the ASR and TTS components was necessary for the models to converge during these tasks.

Experimental Setup

The models were trained using a combination of supervised and unsupervised datasets:

  • Supervised ($S$): The standard Librispeech 960-hour corpus.
  • Unpaired Audio ($U_A$): 60,000 hours of unlabeled audio from LibriLight.
  • Unpaired Text ($U_T$): 80 million transcripts from the Librispeech LM corpus.
  • Tail Analysis: A custom-synthesized "Tail" test set containing rare words underrepresented in the supervised set but present in the larger text corpus.

Training batches were split equally between supervised data, unpaired audio, and unpaired text to prevent the model from forgetting one task while learning another.

Key Results and Insights

The dual learning approach yielded significant improvements over a strong supervised baseline. One of the most striking findings is the "Internal LM" effect: by training on 80M sentences of unpaired text via the TTS loop, the ASR decoder learns the structure of the language so well that it acts as a powerful internal language model, reducing the need for an external LM at inference time.

WER heatmaps comparing baseline and dual learning models across different Internal (ILM) and External (ELM) language model weights.

Performance Metrics

Comparing the "E-ALL" (Dual Learning + Reconstruction) model against the supervised baseline:

  • Without an external LM: Relative WER improvements of 10.7% on test-clean and 5.2% on test-other.
  • With Shallow Fusion (External LM): Relative WER improvements of 11.1% on test-clean and 16.4% on test-other.
  • Tail Accuracy: Performance on rare words improved by 8.7% (with shallow fusion), proving that dual learning is highly effective at addressing the "long tail" of vocabulary.

The final ASR component remains efficient for on-device use, totaling approximately 164M parameters.

Conclusion and Future Work

This research proves that semi-supervised dual learning provides significant returns even when nearly 1,000 hours of supervised data are available. While the training process is complex and requires careful initialization and hyperparameter tuning, the benefits for on-device streaming ASR are substantial. Future work may involve integrating modern generative speech pre-training methods, such as discretization or masked language modeling, to further enhance the quality of the audio representations in the dual learning loop.

Summary updated

BibTeX
@inproceedings{peyser2023dual,
  author = {Cal Peyser and W. Ronny Huang and Tara N. Sainath and Rohit Prabhavalkar and Michael Picheny and Kyunghyun Cho},
  title = {{Dual Learning for Large Vocabulary On-Device ASR}},
  booktitle = {2022},
  year = {2023},
  doi = {10.1109/slt54892.2023.10023407},
}
Figure