Future Word Contexts in Neural Network Language Models

Xie Chen, Xunying Liu, Anton Ragni, Yu Wang, Mark J. F. GalesASRU 2017

Abstract: Recurrent Neural Network Language Models (RNNLMs) have significantly advanced Automatic Speech Recognition (ASR) by capturing long-range dependencies in word sequences. However, standard unidirectional RNNLMs are limited to historical context, while bidirectional variants (bi-RNNLMs) are computationally prohibitive for real-time decoding and lattice rescoring. This paper presents succeeding word RNNLMs (su-RNNLMs), a novel architecture that incorporates a fixed-length future context through a feedforward component. Experimental results on the AMI and Fisher corpora demonstrate that su-RNNLMs achieve word error rate (WER) reductions comparable to bi-RNNLMs while maintaining training efficiency and compatibility with advanced lattice rescoring techniques.

1. Introduction

In ASR systems, the language model (LM) plays a critical role in disambiguating acoustic signals by assigning probabilities to word sequences. While unidirectional RNNLMs effectively model the "past" history of a sentence, they ignore the "future" context, which contains vital information for predicting the current word. Bidirectional RNNLMs address this by processing the entire sentence in both directions, but their global dependency on the future makes them slow to train and incompatible with the local context requirements of lattice rescoring algorithms.

2. Succeeding Word RNNLMs (su-RNNLMs)

To bridge the gap between unidirectional and bidirectional models, the authors propose the su-RNNLM. This architecture decomposes the context into two parts: a complete history modeled by a standard recurrent unit (e.g., LSTM) and a finite look-ahead window of $k$ succeeding words modeled by a feedforward unit.

Architecture of a su-RNNLM with a 2-word lookahead context ($k=2$).

By limiting the future context to a fixed window, the su-RNNLM behaves similarly to an n-gram model regarding the future, which facilitates efficient integration into existing ASR decoders. The model uses log-linear interpolation to combine its predictions with standard n-gram LMs, and a smoothing factor ($\alpha=0.7$) is applied to the output distribution to prevent over-fitting to the training data.

3. Lattice Rescoring and Compatibility

A key advantage of the su-RNNLM is its compatibility with lattice rescoring. Most ASR systems represent the search space as a lattice—a directed acyclic graph of word hypotheses. Rescoring these lattices with bi-RNNLMs typically requires N-best list extraction, which is computationally expensive and potentially loses information. In contrast, the fixed look-ahead of the su-RNNLM allows for local lattice expansion.

Lattice expansion and state merging during su-RNNLM rescoring.

As shown in the lattice diagrams, the $k$-word constraint allows the system to expand only the necessary paths, enabling sophisticated confusion network decoding. This approach yields significant accuracy gains over traditional N-best rescoring.

4. Experimental Evaluation

The proposed models were evaluated on two primary datasets:

  • AMI IHM Meeting Corpus: A challenging 78-hour dataset of meeting transcriptions (approx. 1M words).
  • Fisher Corpus: A larger 13M-word dataset used for robust LM training.

A 49k-word vocabulary was employed for all decoding experiments.

5. Results and Discussion

The su-RNNLM demonstrated a superior balance of speed and accuracy. In terms of training throughput, the su-RNNLM reached 3.8K–4.5K words/second, nearly matching unidirectional models and outperforming bi-RNNLMs (0.8K words/second) by a factor of five.

On the AMI task, the su-RNNLM with a 3-word lookahead achieved a WER of 21.3%, significantly better than the 21.7% of the unidirectional baseline and approaching the 21.2% of the full bi-RNNLM. Furthermore, lattice rescoring with su-RNNLMs provided an additional 0.3% to 0.4% absolute WER reduction compared to N-best methods.

6. Conclusion

Succeeding word RNNLMs offer a practical solution for incorporating future context into ASR. While they slightly trail full bidirectional models in raw accuracy, their training efficiency and lattice compatibility make them highly suitable for real-world deployment. Future research will explore improved pruning strategies to handle larger look-ahead windows without increasing the computational overhead of lattice expansion.

Summary updated

BibTeX
@inproceedings{chen2017future,
  author = {Xie Chen and Xunying Liu and Anton Ragni and Yu Wang and Mark J. F. Gales},
  title = {{Future Word Contexts in Neural Network Language Models}},
  booktitle = {ASRU},
  year = {2017},
  url = {https://openreview.net/forum?id=4PtRlEmUSBk},
}
Figure