MemoryAthena: Adaptive Routing over Latent and Generated Memories
Mingyuan Li, Guangsheng Yu, Juyuan Zhang, Xu Wang, Zhibo Man, Haonan Zhang, Shaoxiong Ji
ELLIS Institute of Finland · University of Turku · University of Technology Sydney · University of Science and Technology of China · Shanghai Jiao Tong University
Published September 22, 2026 · on the feed September 24, 2026 · ▲ 4 · arXiv 2609.25853
The abstract
Learned-memory methods store information in an explicit table and consume it through a separate reader, allowing addressing, storage, and reading to be modified independently. We study whether useful memory can also be generated rather than only retrieved. MemoryAthena uses three pathways: direct Engram retrieval (E), generation from retrieved Engram cues (GE), and generation from causal backbone states without consulting the memory table (GH). Generated memory is conditionally useful: it can complement E in one context but interfere with it in another. MemoryAthena therefore treats E as an anchor and learns when a generated representation should intervene. With the backbone, memory, generators, and readers frozen, a lightweight causal routing head is trained from counterfactual future-token likelihood advantages of GE and GH relative to E. At inference time, an admitted candidate modifies the E residual through bounded interpolation, while rejection recovers the direct pathway exactly. On question answering, MemoryAthena raises the five-task average from 37.65 to 39.28 over the direct pathway of the same checkpoint, while the six-task general-NLP average increases from 76.73 to 79.13. The complete memory-side system contains approximately 201M parameters, excluding the frozen backbone. Further analyses show complementary strengths among E, GE, and GH across tasks and inputs. These results support generated memory as a selective correction to direct retrieval and highlight routing when, which, and how strongly to intervene as the central challenge.
The Brief
2:49A short podcast summary of the paper. Written and voiced by AI.
Transcript
MemoryAthena. Adaptive Routing over Latent and Generated Memories. By Mingyuan Li and six others, from the ELLIS Institute of Finland, the University of Turku, and three other institutions. Published on the twenty-second of September. Its code repository is worked out: about one hundred and sixty source files, with a readme and a licence.
Learned-memory methods keep information in an explicit table and read it through a separate reader. That separation lets addressing, storage and reading each be modified independently. The question the authors study is whether useful memory has to be retrieved from such a table, or whether it can also be generated. Retrieval can only return what was stored. Generation could, in principle, produce a memory suited to the moment, but it could also produce one that gets in the way.
MemoryAthena runs three pathways. The first is direct Engram retrieval, labelled E. The second generates memory from retrieved Engram cues, labelled GE. The third generates memory from the backbone's causal states without consulting the memory table at all, labelled GH. The difficulty is that generated memory is only conditionally useful. In one context it complements direct retrieval; in another it interferes with it. So MemoryAthena treats direct retrieval as the anchor, and learns when a generated representation should intervene.
Almost everything is frozen: the backbone, the memory, the generators, and the readers. The only part trained is a lightweight causal routing head. Its training signal is counterfactual, the advantage in future-token likelihood that each generated pathway has relative to direct retrieval. At inference, a candidate the router admits modifies the direct pathway's residual through bounded interpolation. A rejected candidate leaves the direct pathway exactly as it was. The whole memory-side system has about two hundred and one million parameters, not counting the frozen backbone. The consequence of freezing so much is safety by construction. The router can only choose whether and how far to move away from direct retrieval, and saying no always returns the original behavior.
On question answering, MemoryAthena raises the five-task average from thirty- seven point six five to thirty-nine point two eight, against the direct pathway of the same checkpoint. On general language tasks, the six-task average goes from seventy-six point seven three to seventy-nine point one three. Further analyses find complementary strengths among the three pathways, varying across tasks and across inputs. No single pathway wins everywhere, which is the reason a router is needed at all. If one of them always helped, it could simply be switched on.
The picture that emerges is generated memory as a selective correction to direct retrieval, not a replacement for it. Retrieval stays the default, and it can always be recovered exactly. The central challenge, as the authors frame it, is the routing itself: deciding when to intervene, which generated pathway to use, and how strongly.
Paper Quest · 7 chapters · about 41 min
Play this paper
Learn it by doing: make the calls the authors made, guess the result before you see it, and defend it in a viva graded on your own words. Chapter 1 is right here.
Chapter 1 🧩 · The problem
Memory you can only look up, and a generator you cannot fully trust. That is the wall.
Your language model reads facts from a learned memory table: it looks up an entry and a small reader passes it in unchanged. That works, but a lookup can only return what was stored.
The road ahead
- 1 · The problem ~7 min A memory table can only hand back what it stored, and a generator that builds memory on the fly helps on some inputs but hurts on others.
- 2 · What came before ~3 min
- 3 · The key idea ~9 min Keep direct retrieval as the default and let a small router admit a generated memory, partly blended in, only when it predicts a gain.
- 4 · Choose your own research ~3 min
- 5 · Build the method ~8 min Build three memory pathways, freeze them with the backbone, train only a small router on likelihood advantages, then blend admitted candidates into the direct residual.
- 6 · The experiment ~6 min You’ll guess: Against the direct pathway of the same checkpoint, how did MemoryAthena change the five-task question-answering average?
- 7 · The viva ~5 min Three questions from the examiners, answered in your own words. Win it for the paper’s trophy.
Free, with Google or an email address. Your stars and progress are kept.