Long Short-Term Memory (1997) › Variations and Refinements
History of Language AIAll chapters Long Short-Term Memory (1997) › Variations and RefinementsOne section · Sections in this chapter10 / 14 ↓
Reading tools Definitions & inline links
Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.
Article links
Make inline references clickable
The LSTM architecture inspired numerous variations as researchers explored modifications that might address its limitations or improve its performance for specific tasks. These variants provide insight into what aspects of the LSTM design proved most essential and what could be simplified or modified.
One of the most successful modifications came from Kyunghyun Cho and colleagues in 2014 with the Gated Recurrent Unit, or GRU. This architecture simplified the LSTM by combining the forget and input gates into a single update gate, and merging the cell state and hidden state into a single state vector. The GRU achieved comparable performance to LSTMs on many tasks while using fewer parameters and less computation. Its success suggested that some of the LSTM's complexity could be reduced without sacrificing effectiveness, though debate continued about whether LSTMs or GRUs performed better for specific applications.
Other researchers experimented with modifications to how the gates operated or what information they received. Peephole connections, introduced by Felix Gers and Jürgen Schmidhuber, allowed the gates to look directly at the cell state in addition to the hidden state and input. This gave the gates more information for their decisions about what to remember or forget. Coupled input and forget gates simplified the architecture by forcing the network to forget exactly what it adds and add what it forgets, reducing parameters while maintaining the basic gating mechanism.
Bidirectional LSTMs addressed the fact that for many tasks, context from both past and future is relevant. These architectures ran two LSTMs in parallel on the same sequence, one processing forward through time and one processing backward, then combined their outputs. This proved particularly valuable for tasks like named entity recognition or part-of-speech tagging, where the identity or category of a word depends on both what came before and what comes after.
The principle of stacking multiple LSTM layers on top of each other, creating deep recurrent networks, became another important refinement. Just as deep feedforward networks learn hierarchical representations with early layers extracting low-level features and deeper layers learning more abstract patterns, stacked LSTMs could learn hierarchical sequential patterns. Lower layers might learn about local sequential structure within words or short phrases, while higher layers captured longer-range dependencies and more abstract relationships.
Despite these many variations, successful variants retained the original LSTM's core principles: gated information flow and a separate pathway for memory. Most modified the implementation details while preserving these essential insights.