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.
- 1Train
- 2Reflect
- 3Revise harness
- 4Keep if better
Learning Self-Improving Memory Agents via Recursive Policy–Harness Evolution
*Equal contribution · †Project lead
A fixed harness can't keep up with an improving policy
- The harnessDecides how memory is built and read, what feedback is measured, and how it updates the policy.
- The mismatchAs the policy improves, its bottlenecks shift. A harness fixed in advance stops fitting.
- MemRSIThe manager revises its own harness and keeps the new pair only if validation improves.
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.
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.
SC-GRPO
After SFT, compare transactions sampled from the same memory state.
Recursive policy–harness evolution
Once SC-GRPO saturates, the policy θ and harness H evolve together. Any of three harness components can be revised.
↺ 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.
Revision beats extra training
Two controls get the same extra training without revision. Neither reaches E4.
- < 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
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.
Show the full table
Zero-shot transfer
One Mem-Gallery-trained policy, no target training or checkpoint selection.
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 (%)
What makes it work
Good revisions refine credit; memory edits hurt
All retained revisions touch Hsig or Hopt. Searching only Hmem lowered the score.
Every component contributes
Structure alone: 78.2 → 83.8. Recursive evolution adds +2.4 over saturated SC-GRPO.
Smaller bank, better answers
Fewer tokens in 12 of 14 histories. MemEye keeps more fine visual detail (Guo et al., 2026) yet still scores ~10% higher.
Sparse memory wins when declining is right
FIFO answers almost no direct question yet tops open–robustness, where refusing is correct.