Skip to main content
QUICK REVIEW

[Paper Review] On Training Recurrent Networks with Truncated Backpropagation Through Time in Speech Recognition

Hao Tang, James Glass|arXiv (Cornell University)|Jul 9, 2018
Speech Recognition and SynthesisComputer Science19 references5 citations
TL;DR

This paper investigates how training and decoding strategies—specifically online vs. batch decoding—affect recurrent networks' ability to learn long-term dependencies in speech recognition. It demonstrates that batch decoding restricts LSTMs to learning Markov-like functions, while online decoding enables recursive function learning; crucially, training and decoding modes must align for optimal performance, with vanishing gradients serving as a key indicator of Markov behavior.

ABSTRACT

Recurrent neural networks have been the dominant models for many speech and language processing tasks. However, we understand little about the behavior and the class of functions recurrent networks can realize. Moreover, the heuristics used during training complicate the analyses. In this paper, we study recurrent networks' ability to learn long-term dependency in the context of speech recognition. We consider two decoding approaches, online and batch decoding, and show the classes of functions to which the decoding approaches correspond. We then draw a connection between batch decoding and a popular training approach for recurrent networks, truncated backpropagation through time. Changing the decoding approach restricts the amount of past history recurrent networks can use for prediction, allowing us to analyze their ability to remember. Empirically, we utilize long-term dependency in subphonetic states, phonemes, and words, and show how the design decisions, such as the decoding approach, lookahead, context frames, and consecutive prediction, characterize the behavior of recurrent networks. Finally, we draw a connection between Markov processes and vanishing gradients. These results have implications for studying the long-term dependency in speech data and how these properties are learned by recurrent networks.

Motivation & Objective

  • To understand how different decoding strategies (online vs. batch) constrain the functional classes recurrent networks can learn.
  • To investigate the impact of training with truncated backpropagation through time (BPTT) on model performance and generalization.
  • To examine how design choices—such as lookahead, context frames, and consecutive prediction—affect long-term dependency learning in LSTMs.
  • To establish a connection between the Markov assumption, Lipschitz continuity, and vanishing gradients in recurrent networks.
  • To determine whether LSTMs trained with batch decoding can effectively generalize to online inference, and vice versa.

Proposed method

  • Compares two decoding approaches: online (single recurrent chain predicting at each time step) and batch (multiple independent chains with fixed context windows).
  • Employs truncated backpropagation through time (BPTT) with fixed unfolding lengths during training to approximate long-term dependencies.
  • Uses a lookahead mechanism (e.g., 20 frames) to allow models to condition on future context during training.
  • Applies context frames to limit the effective history accessible during prediction, simulating fixed-order Markov processes.
  • Introduces consecutive prediction, where the model predicts multiple outputs in sequence, to approximate recursive function learning.
  • Empirically evaluates gradient norms to the input at distant time steps (e.g., t−20) as a proxy for Lipschitz continuity and Markov behavior.

Experimental results

Research questions

  • RQ1How do online and batch decoding strategies constrain the functional classes that recurrent networks can learn?
  • RQ2Does training with truncated BPTT preserve the ability to model long-term dependencies, and how does it relate to the Markov assumption?
  • RQ3Can LSTMs trained with batch decoding generalize to online inference, and vice versa?
  • RQ4How do hyperparameters like lookahead, context frames, and consecutive prediction affect model performance and functional capacity?
  • RQ5Is the vanishing gradient phenomenon a necessary condition for Markov functions in recurrent networks?

Key findings

  • LSTMs trained with batch decoding exhibit vanishing gradient norms at distant time steps (e.g., t−20), confirming they behave like Markov processes.
  • LSTMs trained with online decoding maintain non-zero gradient norms at distant inputs, indicating they can learn recursive functions beyond fixed-order Markov models.
  • Best performance is achieved when training and decoding modes match: LSTMs trained with online decoding perform poorly under batch decoding, and vice versa.
  • With online decoding, increasing lookahead (e.g., 20 frames) significantly reduces training error, highlighting its importance for long-context learning.
  • Increasing consecutive prediction (e.g., 15 steps) improves performance on words (FER dropped from 56.96% to 30.93%) by pushing models toward recursive function learning.
  • The number of context frames strictly limits the history accessible for prediction, and performance degrades when context is too short (e.g., 30 frames vs. 40 frames).

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.