MIGRO: A Decoupled and Portable Long-Term Memory System for Language Models

Mingxi Zou, Yinghui Xu, Jiaxiang Chen, Langzhang Liang, Wei Zhu +8 more
11/11/2026
cs.AI

Official code: zOUMINGXI/MIGRO (19 stars, Python, Apache-2.0, last commit 2026-11-13).

Abstract

Language models evolve, but the observations, revisions, and context accumulated through user interactions should remain usable. Each new model must be able to retrieve past evidence, track revisions, and add new observations.

Show full abstract

We present MIGRO, a decoupled long-term memory system that treats experience as a persistent state shared across successive language models. MIGRO follows a simple principle: preserve historical evidence exactly, organize it approximately, and decide what to retrieve only when the question is known. We call this asymmetric fidelity with deferred selectivity. A shared semantic index supports retrieval, while exact records retain observations and their historical relationships. Because models differ in vocabulary and tokenization, host-specific interfaces convert selected evidence into inputs the receiving model can use. Reversible encoding reduces archival storage while enabling exact recovery. The shared state and its access interfaces let successive hosts read and extend the accumulated experience. On matched LoCoMo states, MIGRO scores 7.3% higher and uses 99.3% less private memory than the strongest quality baseline. After handoff, continued writing retains 99.9% of full-history rebuilding quality by extending the inherited state. On million-token BEAM histories, MIGRO uses 57.5% less private storage on average than the most compact baseline. MIGRO combines high answer quality, continued memory growth across hosts, and low storage cost. Code is available at https://github.com/zOUMINGXI/MIGRO.

View on arXivView PDF

Code Implementations(1)

zOUMINGXI/MIGROOfficial100%
Apache-2.0

MIGRO — Portable long-term memory for language models. Preserve experience, transfer state, and keep writing across model upgrades.

191Python, C++Nov 1, 20262 weeks agoApache-2.0
agent-memoryai-agentscross-model-transferllmlong-term-memory+2 more

Similar Papers

Cite this paper

@article{zou2026migro,
  title  = {MIGRO: A Decoupled and Portable Long-Term Memory System for Language Models},
  author = {Mingxi Zou and Yinghui Xu and Jiaxiang Chen and Langzhang Liang and Wei Zhu and Peng Ye and Runkai Zhao and Ruoxi Jiang and Sijin Chen and Song Wang and Zhuo Wang and Lizhen Qu and Zenglin Xu},
  year   = {2026},
  eprint = {2611.15315},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.15315v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.15315.svg)](https://codeofpaper.com/paper/2611.15315)

Discussion