mlsanityData to 7 Oct 2026

LLM-as-RNN: A Recurrent Language Model for Memory Updates and Sequence Prediction

arXiv 2601.13352 ↗First posted 19 Jan 2026cs.CL cs.AI cs.MAcited by 1

Not on the map. Why?

Abstract (arXiv)

Large language models are strong sequence predictors, yet standard inference relies on immutable context histories. After making an error at generation step t, the model lacks an updatable memory mechanism that improves predictions for step t+1. We propose LLM-as-RNN, an inference-only framework that turns a frozen LLM into a recurrent predictor by representing its hidden state as natural-language memory. This state, implemented as a structured system-prompt summary, is updated at each timestep via feedback-driven text rewrites, enabling learning without parameter updates. Under a fixed token budget, LLM-as-RNN corrects errors and retains task-relevant patterns, effectively performing online learning through language. We evaluate the method on three sequential benchmarks in healthcare, meteorology, and finance across Llama, Gemma, and GPT model families. LLM-as-RNN significantly outperforms zero-shot, full-history, and MemPrompt baselines, improving predictive accuracy by 6.5% on average, while producing interpretable, human-readable learning traces absent in standard context accumulation.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 27 of its 46 references that are in the map. First posted on arXiv 19 Jan 2026.

Builds on

27 of 46 references.

References · 27

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  4. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  5. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
  6. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
  7. 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,016
  8. 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,500
  9. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  10. 2014Sequence to Sequence Learning with Neural Networkscited by 2,974
  11. 2014Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modelingcited by 2,341
  12. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
15 more
  1. 2021Improving language models by retrieving from trillions of tokenscited by 1,278
  2. 2023Language Models Don't Always Say What They Think: Unfaithful Explanations in Chain-of-Thought Promptingcited by 1,081
  3. 2022Atlas: Few-shot Learning with Retrieval Augmented Language Modelscited by 940
  4. 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 788
  5. 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
  6. 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 671
  7. 2013Speech Recognition with Deep Recurrent Neural Networkscited by 666
  8. 2014Neural Turing Machinescited by 630
  9. 2014Memory Networkscited by 354
  10. 2023How Language Model Hallucinations Can Snowballcited by 310
  11. 2024Simple linear attention language models balance the recall-throughput tradeoffcited by 197
  12. 2025From Human Memory to AI Memory: A Survey on Memory Mechanisms in the Era of LLMscited by 119
  13. 2024Large Language Models for Time Series: A Surveycited by 113
  14. 2024Empowering Time Series Analysis with Large Language Models: A Surveycited by 60
  15. 2024Larimar: Large Language Models with Episodic Memory Controlcited by 53

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.