Layer Trajectory LSTM

Jinyu Li, Changliang Liu, Yifan Gong

Introduction

In Automatic Speech Recognition (ASR), the standard approach to increasing model capacity involves stacking multiple Long Short-Term Memory (LSTM) layers. While effective, this architecture faces significant challenges as depth increases, specifically gradient vanishing and "functional overload." The Layer Trajectory LSTM (ltLSTM) addresses these issues by decoupling temporal modeling from depth-based classification, allowing for deeper networks that maintain low computational latency.

The Problem: Functional Overload and Gradient Vanishing

In a traditional stacked LSTM, each hidden unit is tasked with two distinct roles simultaneously:

  1. Temporal Modeling: Acting as the recurrent input for the subsequent time step ($t+1$).
  2. Hierarchical Discrimination: Acting as the input for the next layer in the stack to extract higher-level features for classification.

These two roles—tracking information across time versus extracting hierarchical features for senone classification—are fundamentally different. When forced into a single structure, the model's efficiency is compromised. Furthermore, as these stacks grow deeper, the gradient vanishing problem makes it increasingly difficult to train the lower layers effectively.

The Layer Trajectory LSTM (ltLSTM) Architecture

The ltLSTM architecture separates these concerns by introducing two specialized components:

  • Time-LSTM (T-LSTM): A standard multi-layer LSTM stack that focuses exclusively on temporal recurrence across the input sequence.
  • Layer-LSTM (L-LSTM): A separate LSTM structure that "scans" the outputs of all T-LSTM layers at a single time step. This L-LSTM summarizes the "trajectory" of information across the layers to produce the final classification labels.

Parallelization and Latency

A key advantage of the ltLSTM is its ability to maintain the parallel computational latency of a standard model. Because the T-LSTM at time step $t+1$ does not depend on the L-LSTM's output at time step $t$, these two processes can be executed in parallel threads. This allows the model to utilize a deeper, more complex classification trajectory without increasing the wall-clock time required to process each frame.

Factorized Gate LSTM

To manage the increased parameter count associated with adding an L-LSTM, the authors utilize a Factorized Gate LSTM. This technique involves decomposing large weight matrices within the LSTM gates into smaller matrices (e.g., using an outer product to represent a high-dimensional vector). This factorization can reduce the computational cost of gate calculations by up to 1/16th, ensuring the model remains efficient enough for production environments.

Experimental Results

The ltLSTM was evaluated using a massive 30,000-hour anonymized Microsoft EN-US speech dataset, encompassing voice search, commands (Cortana), and conversational data.

Accuracy Gains

The 6-layer ltLSTM demonstrated significant improvements over standard benchmarks:

  • Cortana Set: Achieved a 9.28% Word Error Rate (WER).
  • Conversation Set: Achieved a 17.47% WER.

These results represent a 5.8% to 9.0% relative WER reduction compared to a standard 6-layer LSTM and a 3.7% to 4.1% reduction over a 10-layer Residual LSTM (ResLSTM). While standard LSTMs often struggle to improve beyond 10 layers due to training instabilities, the ltLSTM architecture remains stable and continues to provide performance gains.

Efficiency and Complexity

By employing the Factorized Gate method, the researchers reduced the parallel computational cost to 25 million operations per frame. This is actually lower than the cost of a standard 6-layer LSTM, despite the ltLSTM's superior accuracy. However, it is noted that the total parameter count is higher (57M vs 31M), which may be a consideration for memory-constrained hardware.

Conclusion

The Layer Trajectory LSTM represents a significant shift in ASR architecture by recognizing that temporal and depth-based modeling are distinct tasks. By decoupling these axes, the ltLSTM achieves state-of-the-art accuracy with optimized latency. Future work includes exploring non-LSTM structures for the layer-trajectory component and integrating the architecture with Attention mechanisms and Connectionist Temporal Classification (CTC).

Summary updated

BibTeX
@inproceedings{li2018layer,
  author = {Jinyu Li and Changliang Liu and Yifan Gong},
  title = {{Layer Trajectory LSTM}},
  booktitle = {Interspeech},
  year = {2018},
  doi = {10.21437/interspeech.2018-1485},
}
Figure