# Multi-Head Recurrent Memory Agents

*Jiatong Li, Samuel, Sharon Li*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/154453) · [OpenReview](https://openreview.net/forum?id=DSY0xstaO3) · [Open on the map](../papers.html#p154453)

Category: [LLM Reasoning, Memory & RAG](../pcat/19.md) › [Reasoning Trace Memory Systems](../pgroup/31.md) · Type: new method · Keywords: recurrent memory agents, memory retention, architectural optimization, long-context language models, parameter-efficient memory

Areas: [Memory](../areas/memory.md) › Agent Memory Systems › Memory Augmentation; [Long Context](../areas/longcontext.md) › Long-context mechanisms › Agent memory representations

## Summary
Multi-Head Recurrent Memory (MHM) partitions memory into independent heads to prevent overwriting and improve retention, with a lightweight instantiation MHM-LRU that boosts long-context performance.

## Explained to a 5-year-old
Some computer helpers called memory agents let big language models remember lots of information. When they remember too much, the old information can get lost like crumbs falling off a plate. The new idea splits the memory into many small boxes so only one box updates at a time. This way the old boxes stay safe and the helper can remember things for a long time. Because of this, the helper works better on long tasks and remembers more.

## Explained to a 5-year-old, longer
Imagine you have a super-smart robot that can read a story and remember everything in it. To do that, the robot uses a special place called memory where it stores all the facts. When the story gets really long, the robot has to keep adding new facts, but sometimes the old ones disappear. This happens because the robot keeps all its memory in one big bucket, and when it pours in new water, the old water can splash out. The researchers noticed this problem and called it a reliability issue. They decided to split the big bucket into many small buckets, each called a head. Only one of these heads is opened to add new information at each step. The other heads stay closed, so the information inside them stays safe. This way, the robot can keep old facts while still learning new ones. They also made a simple version called MHM-LRU that makes sure each head is used equally. This design change helps the robot remember much more of the story, even when the story is extremely long. As a result, the robot’s performance improves and it can handle long-range tasks better.

## For a technical reader
The paper identifies that recurrent memory agents, which allow large language models to handle arbitrarily long contexts, suffer from a reliability drop as context length increases because memory retention collapses. By analyzing performance into capture and retention components, the authors show that retention is the main bottleneck, caused by monolithic memory blocks that risk overwriting previous content on each update. They propose Multi-Head Recurrent Memory (MHM), a training-free framework that partitions memory into independent heads and uses a select-then-update strategy where only one head is modified at a time, protecting the others. A lightweight instantiation, MHM-LRU, guarantees uniform head utilization without extra token overhead, effectively mitigating the retention problem. Experiments on long-context benchmarks, including RULER-HQA, demonstrate substantial improvements in retention (up to 73.96% at 896K tokens) and end-to-end accuracy across a wide range of model sizes and tasks.

## Problem
Recurrent memory agents that extend LLMs to long contexts suffer from degraded performance as context length grows, primarily because memory retention collapses when updates overwrite previously retained content.

## Method
The approach partitions memory into multiple independent heads and uses a select-then-update strategy where only one head is updated at each step, leaving other heads protected from overwriting. This architectural design shifts the burden of retention from model behavior to structure, and a lightweight instantiation ensures uniform head usage without extra tokens.

## Results
The approach improves memory retention from under 30% to 73.96% on RULER-HQA at 896K tokens and yields substantial gains in end-to-end accuracy across the 100K-1 M token range, where baselines degrade sharply.

## Contributions
It identifies retention as the dominant bottleneck, proposes a general training-free framework that partitions memory into independent heads with a select-then-update strategy, and introduces a lightweight instantiation that guarantees uniform head utilization without extra token overhead.

## Practical relevance
It provides a cost-efficient architectural solution that makes long-context recurrent memory practical for real-world applications requiring very long inputs.

## Research questions this paper is counted under

- [How can LLM agents effectively store, retrieve, and reuse past experiences while preserving fidelity, provenance, and adaptability over long interaction histories?](../q/14.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/154453)
