Overview
MemCoE (https://arxiv.org/abs/2605.00702, code: https://github.com/Applied-Machine-Learning-Lab/ACL2026_MemCoE) is a two-stage memory evolution framework for LLM agents developed by teams from USTC and City University of Hong Kong. Its design borrows from Memory Schema Theory (Alba & Hasher, 1983): the prefrontal cortex decides *how* memories are organized, while the hippocampus encodes *what* is remembered. MemCoE maps this division onto LLM agents.
Key points
- Problem: Existing memory systems either use fixed hand-crafted templates (Mem0, A-MEM, LightMem) that never learn, or apply RL directly to memory editing (MemAgent, MEM-alpha) with sparse, delayed outcome-level rewards — a huge action space with weak constraints.
- Stage 1 — Memory Guideline Induction (MGI): Treats the memory guideline as a global natural-language parameter. Uses contrastive feedback as textual gradients (comparing correct vs. incorrect trajectories), batch-level aggregation for stable global signals, and natural-language optimization (S^(k+1) = Optim(S^(k), G^(k); P_o)) to induce a high-quality guideline — effectively meta-learning without touching model weights.
- Stage 2 — Guideline-Aligned Memory Policy Optimization (GMPO): Freezes the guideline and trains the memory-evolution policy with GRPO (no critic needed), using a combined reward:
R(τ) = (1-λ) * R_S(τ; S*) + λ * R_ans(τ), where R_S is a dense process reward scoring guideline compliance of each memory update. - Benchmarks: PersonaMem (32K/128K contexts), PrefEval (explicit/implicit preferences), PersonaBench (noisy corpora, F1). Backbone: Qwen2.5-7B-Instruct; 4x A6000 GPUs; ~300 training samples.
- MemCoE is best across all 8 evaluation settings. LongContext degrades sharply under noise; RL baselines trail due to sparse rewards.
- Ablations: Removing MGI hurts PrefEval most (-8.1 / -6.3); removing GMPO hurts PersonaMem most (-3.69); removing both collapses results fully — the two stages are complementary (guideline = structure, RL = adaptability).
- Efficiency: Faster than A-Mem/Mem0 (memory operations internalized into the model) and more accurate than MemAgent/MEM-alpha — a genuine design-level efficiency frontier.
- Cross-LLM transfer: Guidelines optimized on Qwen2.5-7B improve results when directly applied to gpt-4o-mini (52.56 vs 48.47 for A-Mem), gemini-2.5-flash (64.62), and GPT-5 (66.67) — and vice versa — suggesting the induced organization principles are model-agnostic meta-knowledge.
- Reliance on an LLM scorer for the guideline-alignment reward (noisy rewards if the scorer misreads the guideline).
- Error accumulation over chunked 4K-token history processing (unintended forgetting, over-generalized entries).
- Single-objective optimization; multi-objective control (stability vs. plasticity) is future work.
- Guideline induction still depends on training-data domain distribution.
- Decouple "how to organize" from "what to remember": induce a guideline first, then train a policy within it.
- Add dense process-level rewards to memory RL rather than waiting on final-answer correctness.
- Cheap approach to deployment: induce guidelines on a small model, execute on stronger ones.