Factorized Neural Transducer for Efficient Language Model Adaptation

Xie Chen, Zhong Meng, Sarangarajan Parthasarathy, Jinyu Li

TL;DR

Researchers at Microsoft have developed a "Factorized Neural Transducer" that decouples the prediction of words from the prediction of "blank" symbols (used for timing) in speech recognition. This architecture allows the model to be easily adapted using only text data, leading to up to a 19.4% relative improvement in word error rate (WER) on new domains without requiring expensive new audio-transcript pairs.

What Problem Does This Paper Address?

End-to-end (E2E) automatic speech recognition (ASR) systems, particularly Neural Transducers (like RNN-T), are the gold standard for streaming applications because they process audio in real-time. However, they have a major "black box" problem: the acoustic model and the language model (LM) are baked together into a single neural network.

In traditional systems, if you wanted to recognize medical terms or legal jargon, you could simply swap in a new language model trained on text. In a standard Neural Transducer, the "predictor" network (the part that acts like an LM) is forced to coordinate closely with the acoustic encoder to predict "blank" symbols—placeholders that tell the system when to wait for more audio. Because this predictor is busy managing timing and alignment, it doesn't function as a "pure" language model. This makes it incredibly difficult to adapt the system to new domains using only text data; usually, you'd need to synthesize massive amounts of audio (TTS), which is computationally expensive and slow.

Methods

The authors propose the Factorized Neural Transducer. The core innovation is splitting the prediction task into two specialized branches:

  1. Blank Predictor: A network dedicated solely to predicting the probability of the "blank" symbol ($\phi$). This handles the temporal alignment between audio and text.
  2. Vocabulary Predictor: A standalone language model that predicts the actual words/tokens. Because it never sees a "blank" symbol, it functions exactly like a standard neural LM.

The Training Process: The model is trained using a joint loss function: the standard Transducer loss plus a cross-entropy LM loss specifically for the vocabulary predictor. This forces the vocabulary predictor to learn linguistic patterns independently of acoustic timing.

The Adaptation Process: When moving to a new domain (e.g., from general dictation to a specific call center task), the researchers simply fine-tune the Vocabulary Predictor using target-domain text. The rest of the model (the encoder and blank predictor) remains untouched.

Datasets

  • Pre-training: 64,000 hours of anonymized, transcribed Microsoft internal data.
  • General Evaluation: A "general test set" of 1.8 million words covering 13 scenarios (dictation, far-field, etc.).
  • Adaptation Benchmarks:
    • LibriSpeech: A standard public corpus. The authors used the 960-hour transcriptions as adaptation text.
  • Internal Call Center Task: An anonymized dataset used to test real-world domain shifts.

Key Insights and Ideas

  • The "Blank" is the Barrier: The paper identifies that the inclusion of the blank symbol in the output vocabulary is what prevents standard Transducer predictors from acting as true LMs. By factorizing it out, they "un-pollute" the linguistic component.
  • Disentanglement: This architecture effectively disentangles the Acoustic Model (AM) and Language Model (LM) within an E2E framework. It provides the flexibility of old-school hybrid systems with the performance and simplicity of modern E2E models.
  • Correlation between PPL and WER: The authors found that improvements in the Vocabulary Predictor’s perplexity (PPL)—a measure of how well an LM predicts text—correlate strongly with improvements in the final ASR Word Error Rate. This confirms the factorized predictor is truly behaving like an LM.

Key Results

  • Massive Adaptation Gains: On the LibriSpeech "test-other" set, adapting the factorized model with text led to a 15.4% to 19.4% relative WER improvement.
  • Outperforming Shallow Fusion: The factorized approach outperformed "shallow fusion" (a common technique where an external LM is "bolted on" during decoding) on most test sets.
  • Real-World Success: On the internal call center task, the model achieved a 15.6% relative WER reduction through text-only adaptation.
  • The Trade-off: There is a small "tax" for this flexibility. On the general test set (before adaptation), the factorized model performed slightly worse than the standard model (8.32% vs 8.10% WER), likely due to the constraints of the factorized architecture.

Limitations and Future Work

  • Model Size: The factorized architecture is slightly larger than a standard Transducer (103M parameters vs 84M) because of the additional predictor network.
  • Baseline Performance: As noted, there is a minor degradation in general-domain performance compared to a standard, fully-coupled Transducer.
  • Future Directions: The authors suggest that because the vocabulary predictor is now a "pure" LM, it could potentially be replaced entirely by even more powerful, pre-trained large language models (LLMs) in the future to further boost recognition of rare words and complex domains.

Summary updated

BibTeX
@inproceedings{chen2022factorized,
  author = {Xie Chen and Zhong Meng and Sarangarajan Parthasarathy and Jinyu Li},
  title = {{Factorized Neural Transducer for Efficient Language Model Adaptation}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2022},
  doi = {10.1109/icassp43922.2022.9746908},
}
Figure