arXiv2611.36706 · 2026

MemRSI

AI memory that evolves its own harness.

Most agents learn inside a training harness fixed in advance. MemRSI spots what holds it back, revises its own harness, and keeps a revision only when it truly remembers better.

↺ Training loop
  1. 1Train
  2. 2Reflect
  3. 3Revise harness
  4. 4Keep if better

Learning Self-Improving Memory Agents via Recursive Policy–Harness Evolution

Litong Liu*2, Tianxin Wei*†1, Yuanchen Bei3, Sikai Cheng2, Xuying Ning3, Zihao Li3, Zhining Liu3, Jiaru Zou4, Haonan Wang5, Zhenrui Yue3, Dongqi Fu1, Jianhui Sun1, Haixu Ma1, Yao Zhang1, Qifei Wang1, Ruiyi Li1, Serena Li1, Xiangjun Fan1, Bo Peng1, Weiwei Li1, Lizhu Zhang1

1Meta AI2Georgia Tech3UIUC4Stanford5NUS

*Equal contribution  ·  †Project lead

Mem-Gallery judge score (%)
Fixed-harness RL saturates at E0. Each retained harness revision (E1–E4) lifts it further.
+8.6
avg. points over the strongest baseline
7 / 7
unseen settings improved, zero adaptation
4B–27B
managers all benefit; transfers to GPT & Claude
−48%
median memory tokens vs. UniversalRAG
01Motivation

A fixed harness can't keep up with an improving policy

  1. The harnessDecides how memory is built and read, what feedback is measured, and how it updates the policy.
  2. The mismatchAs the policy improves, its bottlenecks shift. A harness fixed in advance stops fitting.
  3. MemRSIThe manager revises its own harness and keeps the new pair only if validation improves.
02Memory Environment

A structured, source-linked memory bank

Each session, the manager writes one transaction of ADD · UPDATE · DELETE · NOOP. A frozen answer agent reads the bank, and its answer quality is the reward.

Incoming session
Manager writes

State true now

    History what changed

      Records what was seen

        Based on the example in Figure 2.

        Provenance

        Every answer traces back to the memory decisions behind it.

        answer→entries read→operations→observations

        SC-GRPO

        After SFT, compare transactions sampled from the same memory state.

        Rj = RQA,j − Rfmt,j + λimg Rimg,j
        03Method

        Recursive policy–harness evolution

        Once SC-GRPO saturates, the policy θ and harness H evolve together. Any of three harness components can be revised.

        HmemMemory environmentHow the bank is built and retrieved.
        HsigLearning signalsWhich outcomes become rewards.
        HoptOptimizationHow rewards update the policy.

        ↺ The retained pair (θk+1, Hk+1) starts the next round.

        The 9B manager's search

        Each node is one proposed revision. Four were retained, all on learning signals or optimization. Hover a node.

        Hsig Hopt both · filled E: retained · hollow A: not retained · dashed: not scored

        Revision beats extra training

        Two controls get the same extra training without revision. Neither reaches E4.

        9B manager
        27B manager
        • < E0Matched continuation under the initial harness ends below where it started.
        • < E4The final harness, fixed from the start, trains unstably and falls short.
        • 89.8The 27B manager's own revisions beat GPT-proposed ones (89.3).
        Show values
        04Results

        8 settings. 11 baselines. One policy.

        Controlled methods share a frozen Qwen3.5-9B answer agent and a Llama-3.3 judge. GPT-5.6 Luna and Claude Sonnet 5 are frontier references.

        Main benchmarks

        Toggle benchmark, question family, and method groups.

        MemRSI MemRSI-Env / -Warmup controlled baselines frontier references

        Show the full table

        Zero-shot transfer

        One Mem-Gallery-trained policy, no target training or checkpoint selection.

        MemRSI-Env MemRSI SC-GRPO (E₀) UniversalRAG NGM

        Right column: gain over MemRSI-Env. *PersonaMem: normalized MCQ exact match.

        Across manager sizes

        Each manager trained on the evaluated benchmark.

        Hollow: Env manager · Filled: trained · Judge (%)

        Across answer agents

        Four readers of the same evolved 9B bank on Mem-Gallery.

        Hollow: Env bank · Filled: MemRSI bank · Judge (%)

        05Analysis

        What makes it work

        A · REVISIONS

        Good revisions refine credit; memory edits hurt

        Retained revisions: gain over parent (pts)
        Hmem-only searches: change after training (pts)

        All retained revisions touch Hsig or Hopt. Searching only Hmem lowered the score.

        B · ABLATION

        Every component contributes

        Structure alone: 78.2 → 83.8. Recursive evolution adds +2.4 over saturated SC-GRPO.

        C · EFFICIENCY

        Smaller bank, better answers

        Median token reduction vs. UniversalRAG
        Judge relative to UniversalRAG (100% = equal)

        Fewer tokens in 12 of 14 histories. MemEye keeps more fine visual detail (Guo et al., 2026) yet still scores ~10% higher.

        D · CAVEAT

        Sparse memory wins when declining is right

        FIFO answers almost no direct question yet tops open–robustness, where refusing is correct.

        06Cite

        BibTeX

        @article{liu2026memrsi,
          title   = {MemRSI: Learning Self-Improving Memory Agents via Recursive Policy--Harness Evolution},
          author  = {Liu, Litong and Wei, Tianxin and Bei, Yuanchen and Cheng, Sikai and Ning, Xuying and Li, Zihao and Liu, Zhining and Zou, Jiaru and Wang, Haonan and Yue, Zhenrui and Fu, Dongqi and Sun, Jianhui and Ma, Haixu and Zhang, Yao and Wang, Qifei and Li, Ruiyi and Li, Serena and Fan, Xiangjun and Peng, Bo and Li, Weiwei and Zhang, Lizhu},
          journal = {arXiv preprint arXiv:2611.36706},
          year    = {2026}
        }