Long Short-Term Memory (1997) › 1997: Long Short-Term Memory (LSTM)
History of Language AIAll chapters Long Short-Term Memory (1997) › 1997: Long Short-Term Memory (LSTM)One section · Sections in this chapter1 / 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
In 1997, two researchers, Sepp Hochreiter and Jürgen Schmidhuber, published a paper that would fundamentally reshape how artificial neural networks process sequential information. Their innovation, the Long Short-Term Memory (LSTM) network, addressed one of the most vexing problems in machine learning: how can a system maintain relevant information across extended sequences while discarding irrelevant details? This breakthrough would establish the foundation for practical language modeling, machine translation, speech recognition, and countless other applications that require understanding context and dependencies across time.
The challenge they confronted had stymied researchers for years. Recurrent neural networks (RNNs), the natural architecture for processing sequences, possessed a fatal flaw that limited their practical utility. When trained on sequences of any substantial length, these networks exhibited what became known as the vanishing gradient problem. As error signals propagated backward through time during training, they would shrink exponentially with each time step, effectively preventing the network from learning relationships between events separated by more than a few steps. Sometimes the opposite would occur, with gradients exploding to unusable magnitudes. This meant that while RNNs theoretically could model long-range dependencies, in practice they could only capture relationships within a narrow temporal window.
This limitation directly constrained language processing because natural language contains dependencies that span dozens or even hundreds of words. The subject of a sentence might need to agree with a verb that appears much later. Pronouns refer back to nouns mentioned paragraphs earlier. The meaning of a passage often depends on context established at the beginning of a document. Any system that could only remember the last few words would be fundamentally incapable of true language understanding. LSTMs solved this problem not by trying to force traditional RNNs to remember longer, but by fundamentally redesigning how neural networks maintain and manipulate memory over time.