mlsanityData to 14 Oct 2026

The RNN Homunculus: Learning to Gate Long-Term Memory

arXiv 2610.14279 ↗First posted 9 Oct 2026cs.LG cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Learning long-range dependencies with recurrent neural networks (RNNs) is difficult because of the vanishing gradient problem. Gated recurrent neural networks like GRUs and LSTMs address this problem and are commonly explained by their ability to create additive copy paths through time. This explanation is correct, but incomplete: useful RNN gate values must themselves be learned, which is typically done with another RNN. We study this gate-learning problem through carefully controlled sequence classification tasks. Our analysis shows that gated architectures struggle when all training samples require long-range memory and thus equally suffer from the vanishing gradient problem. We intervene by adding short-dependency samples which let gated models learn solutions that capture long-dependency samples, but also generalize across different class labels. When properly learned, gated RNNs match or even exceed the test accuracy of modern architectures like Mamba and xLSTM. Overall, our results highlight gate learning as a central part of learning long-range memory and show how training data can support this process by exposing the same task over shorter dependencies.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 13 of its 25 references that are in the map. First posted on arXiv 9 Oct 2026.

Builds on

13 of 25 references.

References · 13

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  4. 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,057
  5. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
  6. 2014Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modelingcited by 2,367
  7. 2023A Survey on Large Language Model based Autonomous Agentscited by 2,242
  8. 2016Assessing the Ability of LSTMs to Learn Syntax-Sensitive Dependenciescited by 354
  9. 2024xLSTM: Extended Long Short-Term Memorycited by 327
  10. 2018Colorless green recurrent networks dream hierarchicallycited by 213
  11. 2015Visualizing and Understanding Recurrent Networkscited by 160
  12. 2019The emergence of number and syntax units in LSTM language modelscited by 94
1 more
  1. 2024Were RNNs All We Needed?cited by 38

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2024Recurrent neural networks: vanishing and exploding gradients are not the end of the story
  2. 2023Resurrecting Recurrent Neural Networks for Long Sequences
  3. 2025Artificial Hippocampus Networks for Efficient Long-Context Modeling
  4. 2026GateSight: Recurrent Memory Anticipates Attention Memory for Query-Agnostic KV Eviction in Hybrid LLMs
  5. 2026When to Memorize and When to Stop: Gated Recurrent Memory for Long-Context Reasoning
  6. 2022Long Range Language Modeling via Gated State Spaces
  7. 2024Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models
  8. 2025Revisiting Reset Mechanisms in Spiking Neural Networks for Sequential Modeling: Specialized Discretization for Binary Activated RNN