Paper Overview
Field: NLP Authors: Siyu Xia, Chenheng Zhang, Yanting Wu, Haoxuan Li, Jiajun Chai, Xiaohan Wang, Guojun Yin, Wei Lin, Zhouchen Lin, Haifeng Zhang, Jun Wang Published: 2026-07-28 arXiv: 2607.26017
Abstract (English)
Memory is essential for LLM agents to accumulate task experience and reuse task-specific execution strategies. However, real-world deployment over boundary-agnostic and evolving task streams exposes a fundamental stability-plasticity dilemma. External retrieval-based memory can rapidly absorb new evidence, but it often fails to internalize recurring execution patterns and incurs inference-time retrieval overhead. Parametric memory enables stable and efficient execution once learned, but typically relies on explicit task boundaries and fixed parameter budgets.
Inspired by the human brain, which balances plasticity and stability through complementary episodic storage and gradual consolidation, the authors propose UniMem, a self-routing framework for autonomous memory management. UniMem uses learnable routing tokens as memory controllers to enable adaptive coordination of complementary memory pathways: novel or sparse tasks are retained in an episodic buffer for retrieval-augmented execution, while recurring and reliable patterns are consolidated into expandable parametric memory.
Key Contributions
- Learnable routing tokens act as memory controllers, adaptively routing tasks between episodic retrieval and parametric consolidation.
- By decoupling task identification from task execution (via routing tokens and parametric memory blocks), UniMem expands memory on demand during deployment—no task labels required, and no uncontrolled parameter growth.
- Experiments on long-horizon streaming task sequences show UniMem consistently outperforms baselines while maintaining execution fidelity, achieving an average improvement of 4.0 EM points across three backbone models.
- arXiv page: https://arxiv.org/abs/2607.26017