LSTM Language Models for LVCSR in First-Pass Decoding and Lattice-Rescoring

Wei Zhou, Eugen Beck, Wei Zhou 0043, Ralf Schlüter, Hermann NeyarXiv 2019

Abstract: Integrating Long Short-Term Memory (LSTM) language models into the first-pass decoding of Large Vocabulary Continuous Speech Recognition (LVCSR) has long been a challenge due to the computational cost of maintaining infinite context. This study presents an efficient approach using GPGPU acceleration and "history recombination" to enable real-time LSTM decoding. Evaluations on Switchboard and Librispeech benchmarks demonstrate that this method achieves state-of-the-art accuracy while maintaining a Real-Time Factor (RTF) below 1.0 on standard hardware.

Introduction

In Large Vocabulary Continuous Speech Recognition (LVCSR), the Language Model (LM) is responsible for predicting word sequences. While traditional n-gram "backoff" models are computationally efficient, they are limited by a narrow context window. LSTM LMs provide a significant accuracy boost by utilizing an internal state to track long-range dependencies. However, this state makes standard search space pruning difficult; because every path has a unique history, paths cannot be easily merged (recombined), leading to a search space explosion.

Methodology

The researchers from RWTH Aachen University and AppTek proposed three primary strategies to facilitate efficient LSTM decoding:

  1. GPGPU Batching: By offloading heavy LSTM computations to GPUs and processing multiple search histories in parallel batches, the system achieves high throughput.
  2. Forced History Recombination: To prevent search space explosion, the decoder forces path merging if the last $n$ words match, even if the underlying LSTM states differ.
  3. Hybrid Two-Pass Decoding: The most efficient configuration involves a "lightweight" first pass with a low recombination threshold to generate a word lattice, followed by a high-precision second pass for lattice rescoring.
WER vs. RTF for various history recombination limits (n) on Switchboard.

Key Insights

A pivotal finding of this work is the impact of the context limit. While LSTMs theoretically benefit from infinite context, the experiments demonstrate that recombining histories after 5 to 9 words ($n=5$ or $9$) yields a Word Error Rate (WER) virtually identical to the infinite-history baseline. This allows for significant pruning without sacrificing accuracy.

Performance and Results

The methodology was validated on the Switchboard (300h) and Librispeech (1000h) corpora. On the Switchboard Hub5’00 task, the system achieved a WER of 11.7% while maintaining a Real-Time Factor (RTF) of less than 1.0, indicating faster-than-real-time processing. On Librispeech, the integrated LSTM approach improved the WER from 3.72% to 2.39% on the dev-clean set.

Comparison of integrated LSTM decoding and lattice rescoring performance on the Switchboard task.

Conclusion and Future Work

The study successfully demonstrates the feasibility of first-pass LSTM decoding for LVCSR. Challenges remain in scaling to very large vocabularies, where the softmax layer becomes a bottleneck. Future research will focus on Noise Contrastive Estimation (NCE) to accelerate large-vocabulary decoding and further exploration of "Full-sum" decoding to improve upon the standard Viterbi approximation.

Summary updated

BibTeX
@misc{zhou2019lstm,
  author = {Wei Zhou and Eugen Beck and Wei Zhou and Ralf Schlüter and Hermann Ney},
  title = {{LSTM Language Models for LVCSR in First-Pass Decoding and Lattice-Rescoring}},
  year = {2019},
  eprint = {1907.01030},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1907.01030},
}
Figure