Seedlabs
Source research

MEM1: Learning to Synergize Memory and Reasoning for Efficient Long-Horizon Agents

Zhou, Zijian, Ao Qu, Zhaoxuan Wu, Sunghwan Kim, Alok Prakash, Daniela L. Rus et al. · 2026 · 304 citationsRead the paper

All 9 authors

Jinhua Zhao, Bryan Kian Hsiang Low, Paul Pu Liang

Modern language agents must operate over long-horizon, multi-turn interactions, where they retrieve external information, adapt to observations, and answer interdependent queries. Yet, most LLM systems rely on full-context prompting, appending all past turns regardless of their relevance. This leads to unbounded memory growth, increased computational costs, and degraded reasoning performance on out-of-distribution input lengths. We introduce MEM1, an end-to-end reinforcement learning framework that enables agents to operate with constant memory across long multi-turn tasks. At each turn, MEM1 updates a compact shared internal state that jointly supports memory consolidation and reasoning. This state integrates prior memory with new observations from the environment while strategically discarding irrelevant or redundant information. To support training in more realistic and compositional settings, we propose a simple yet effective and scalable approach to constructing multi-turn environments by composing existing datasets into arbitrarily complex task sequences. Experiments across three domains, including internal retrieval QA, open-domain web QA, and multi-turn web shopping, show that MEM1-7B improves performance by 3.5x while reducing memory usage by 3.7x compared to Qwen2.5-14B-Instruct on a 16-objective multi-hop QA task, and generalizes beyond the training horizon. Our results demonstrate the promise of reasoning-driven memory consolidation as a scalable alternative to existing solutions for training long-horizon interactive agents, where both efficiency and performance are optimized.

What the full text shows

Working prototype
  • MEM1-7B outperformed Qwen2.5-14B-Instruct on a 16-objective multi-hop QA task in both performance and efficiency. — 3.5x performance improvement, 3.7x memory reduction (16-objective multi-hop QA task)
  • MEM1 maintains a near-constant-sized memory state across long multi-turn tasks. — constant memory (multi-turn tasks)
  • MEM1 generalizes to tasks with more questions than were present in the training set. (out-of-distribution input lengths)
Setup
Trained on RAG (Wikipedia Corpus) and WebShop environments; evaluated against baselines including Qwen2.5-14B-Instruct, Search-R1, and Agent-FLAN.
How
The researchers developed an end-to-end reinforcement learning framework using PPO to train a Qwen2.5-7B base model to update a compact internal state (<IS>) that consolidates memory and reasoning. They also implemented a task augmentation method to compose existing datasets into complex multi-turn sequences.
Limitations
Requires environments with well-defined and verifiable rewards. · Not yet tested on open-ended tasks with ambiguous or noisy reward structures.

Summarized by Gemma 4 from the open-access full text · 27 Nov 2026. Read it