Lune

ICLR2021Top-tier venue

Multi-timescale Representation Learning in LSTM Language Models

Shivangi Mahto, Vy Ai Vo, Javier S. Turek, Alexander Huth

Abstract

Language models must capture statistical dependencies between words at timescales ranging from very short to very long. Earlier work has demonstrated that dependencies in natural language tend to decay with distance between words according to a power law. However, it is unclear how this knowledge can be used for analyzing or designing neural network language models. In this work, we derived a theory for how the memory gating mechanism in long short-term memory (LSTM) language models can capture power law decay. We found that unit timescales within an LSTM, which are determined by the forget gate bias, should follow an Inverse Gamma distribution. Experiments then showed that LSTM language models trained on natural English text learn to approximate this theoretical distribution. Further, we found that explicitly imposing the theoretical distribution upon the model during training yielded better language model perplexity overall, with particular improvements for predicting low-frequency (rare) words. Moreover, the explicit multi-timescale model selectively routes information about different types of words through units with different timescales, potentially improving model interpretability. These results demonstrate the importance of careful, theoretically-motivated analysis of memory and timescale in language models.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

9 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Large language models transition from integrating across position-yoked, exponential windows to structure-yoked, power-law windows cites Understanding Adaptive, Multiscale Temporal Integration In Deep Speech Recognition Systems
  • The Expressive Leaky Memory Neuron: an Efficient and Expressive Phenomenological Neuron Model Can Solve Long-Horizon Tasks cites Emergent mechanisms for long timescales depend on training curriculum and affect performance in memory tasks
  • Emergent mechanisms for long timescales depend on training curriculum and affect performance in memory tasks cites Interpretable multi-timescale models for predicting fMRI responses to continuous natural speech
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers9

  1. Interpretable multi-timescale models for predicting fMRI responses to continuous natural speechShailee Jain, Vy A. Vo, Shivangi Mahto, Amanda LeBel et al.NeurIPS 2020 · 58 citations
  2. Understanding Adaptive, Multiscale Temporal Integration In Deep Speech Recognition SystemsMenoua Keshishian, Samuel Norman-Haignere, Nima MesgaraniNeurIPS 2021 · 16 citations
  3. Emergent mechanisms for long timescales depend on training curriculum and affect performance in memory tasksSina Khajehabdollahi, Roxana Zeraati, Emmanouil Giannakakis, Tim Jakob Schäfer et al.ICLR 2024 · 8 citations
  4. Large language models transition from integrating across position-yoked, exponential windows to structure-yoked, power-law windowsDavid Skrill, Samuel Norman-HaignereNeurIPS 2023 · 7 citations
  5. The Expressive Leaky Memory Neuron: an Efficient and Expressive Phenomenological Neuron Model Can Solve Long-Horizon TasksAaron Spieler, Nasim Rahaman, Georg Martius, Bernhard Schölkopf et al.ICLR 2024 · 7 citations

Builds on4

  1. On the Relationship between Self-Attention and Convolutional LayersJean-Baptiste Cordonnier, Andreas Loukas, Martin JaggiICLR 2020 · 629 citations
  2. Interpretable multi-timescale models for predicting fMRI responses to continuous natural speechShailee Jain, Vy A. Vo, Shivangi Mahto, Amanda LeBel et al.NeurIPS 2020 · 58 citations
  3. Approximating Stacked and Bidirectional Recurrent Architectures with the Delayed Recurrent Neural NetworkJavier Turek, Shailee Jain, Vy A. Vo, Mihai Capota et al.ICML 2020 · 13 citations
  4. Mogrifier LSTMGábor Melis, Tomás Kociský, Phil BlunsomICLR 2020

Related papers

  1. Bivariate Beta-LSTMKyungwoo Song, JoonHo Jang, Seungjae Shin, Il-Chul MoonAAAI 2020 · 6 citations
  2. xLSTM: Extended Long Short-Term MemoryMaximilian Beck, Korbinian Pöppel, Markus Spanring, Andreas Auer et al.NeurIPS 2024 · 703 citations
  3. LSTMS Compose - and Learn - Bottom-UpNaomi Saphra, Adam LopezEMNLP Findings 2020 · 10 citations
  4. Deriving Neural Scaling Laws from the Statistics of Natural LanguageFrancesco Cagnetta, Allan Raventos, Surya Ganguli, Matthieu WyartICML 2026
  5. Unlocking the Power of LSTM for Long Term Time Series ForecastingYaxuan Kong, Zepu Wang, Yuqi Nie, Tian Zhou et al.AAAI 2025 · 92 citations
Dusk over the sea between two cliffs drawn in fine vertical lines