中文

Mem-$\pi$: Adaptive Memory through Learning When and What to Generate

计算与语言 2026-05-21 v1 人工智能

摘要

We present Mem-π\pi, a framework for adaptive memory in large language model (LLM) agents, where useful guidance is generated on demand rather than retrieved from external memory stores. Existing memory-augmented agents typically rely on similarity-based retrieval from episodic memory banks or skill libraries, returning static entries that often misalign with the current context. In contrast, Mem-π\pi uses a dedicated language or vision-language model with its own parameters, separate from the downstream agent, to generate context-specific guidance for complex tasks. Conditioned on the current agent context, the model jointly decides when to produce guidance and what guidance to produce. We train it with a decision-content decoupled reinforcement learning (RL) objective, enabling it to abstain when generation would not help and otherwise produce concise, useful guidance. Across diverse agentic benchmarks spanning web navigation, terminal-based tool use, and text-based embodied interaction, Mem-π\pi consistently outperforms retrieval-based and prior RL-optimized memory baselines, achieving over 30% relative improvement on web navigation tasks.

关键词

引用

@article{arxiv.2605.21463,
  title  = {Mem-$\pi$: Adaptive Memory through Learning When and What to Generate},
  author = {Xiaoqiang Wang and Chao Wang and Hadi Nekoei and Christopher Pal and Alexandre Lacoste and Spandana Gella and Bang Liu and Perouz Taslakian},
  journal= {arXiv preprint arXiv:2605.21463},
  year   = {2026}
}

备注

Work in progress