Skip to main content
QUICK REVIEW

[Paper Review] Long-span language modeling for speech recognition

Sarangarajan Parthasarathy, William A. Gale|arXiv (Cornell University)|Nov 11, 2019
Speech Recognition and SynthesisComputer Science23 references8 citations
TL;DR

This paper proposes training neural language models (LSTM, Transformer, and an LSTM-attention hybrid) on paragraph-level text to improve speech recognition by leveraging long-span context beyond single sentences. It demonstrates that training on continuous paragraph sequences reduces perplexity by ~20% and achieves 4–9% relative WER reduction in second-pass re-ranking by implicitly capturing cross-sentence dependencies without architectural modifications.

ABSTRACT

We explore neural language modeling for speech recognition where the context spans multiple sentences. Rather than encode history beyond the current sentence using a cache of words or document-level features, we focus our study on the ability of LSTM and Transformer language models to implicitly learn to carry over context across sentence boundaries. We introduce a new architecture that incorporates an attention mechanism into LSTM to combine the benefits of recurrent and attention architectures. We conduct language modeling and speech recognition experiments on the publicly available LibriSpeech corpus. We show that conventional training on a paragraph-level corpus results in significant reductions in perplexity compared to training on a sentence-level corpus. We also describe speech recognition experiments using long-span language models in second-pass re-ranking, and provide insights into the ability of such models to take advantage of context beyond the current sentence.

Motivation & Objective

  • To investigate whether neural language models can implicitly learn and utilize long-span context across sentence boundaries in speech recognition.
  • To evaluate the effectiveness of paragraph-level training on standard neural language model architectures (LSTM, Transformer, and an LSTM-attention variant).
  • To determine whether such models can reduce perplexity and word error rate (WER) without explicit architectural changes or external context injection.
  • To compare the performance of sentence-level versus paragraph-level language modeling in both language modeling and speech recognition tasks.

Proposed method

  • Train standard LSTM, Transformer, and a novel LSTM-attention model on a paragraph-level corpus by concatenating sentences with a sentence boundary token.
  • Use noise-contrastive estimation (NCE) loss during training to enable efficient inference with self-normalized probability estimation.
  • Integrate multi-head dot-product attention over LSTM hidden states to enhance long-sequence context representation.
  • Apply relative position embeddings in the Transformer model to improve positional awareness in long sequences.
  • Conduct second-pass re-ranking in speech recognition using n-best hypotheses, scoring with both sentence-level and paragraph-level language models.
  • Compute perplexity and WER using cross-entropy and WER metrics, with reference transcriptions added to n-best lists to isolate context effects.

Experimental results

Research questions

  • RQ1Can neural language models implicitly learn and utilize context spanning multiple sentences when trained on paragraph-level text?
  • RQ2How does paragraph-level language modeling affect perplexity and word error rate (WER) in speech recognition compared to sentence-level training?
  • RQ3To what extent do different architectures (LSTM, Transformer, LSTM-attention) benefit from long-span context in language modeling and ASR?
  • RQ4Does the use of paragraph-level context in re-ranking significantly reduce WER when no search error is present?

Key findings

  • Paragraph-level language modeling reduces perplexity by approximately 20% compared to sentence-level training across all model architectures.
  • The LSTM-attention model achieves the highest WER reduction in re-ranking, with a 9% relative improvement on dev-other when using paragraph context.
  • On dev-clean, the LSTM-para model reduces WER from 5.68 to 4.79 when context from previous sentences is available, indicating strong long-span dependency learning.
  • Even without explicit context injection, the paragraph-level models outperform sentence-level models in WER, demonstrating that long-span context can be learned implicitly through training data structure.
  • The results show that training on paragraph-level data improves performance without architectural changes, suggesting that data-level reorganization alone can yield significant gains.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.