atlas

Research map / Large language models / Reasoning and chain of thought

When to Memorize and When to Stop: Gated Recurrent Memory for Long-Context Reasoning

ICML 2026 · Large language models › Reasoning and chain of thought · approach: Efficient LLM serving · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes GRU-Mem, which adds text-controlled update and exit gates to MemAgent's recurrent chunk-by-chunk memory and trains them end-to-end with RL, reducing memory explosion and inference time for long-context QA.

Problem

Recurrent textual-memory approaches for long-context reasoning (MemAgent) indiscriminately update memory on evidence-free chunks, causing memory explosion, and lack an early-exit mechanism, wasting computation.

Approach

Augment the memory agent's output with an update gate (whether to overwrite memory with a candidate) and an exit gate (whether to stop reading), trained with separate update and exit rewards plus disentangled trajectory-level and turn-level advantages in multi-turn RL.

Key results

Surprising findings

Limitations

Experimental setup

Datasets: MemAgent training data HotpotQA SQuAD RULER

Benchmarks: HotpotQA SQuAD RULER NIAH (SK-1/2/3, MK-1/2/3, MQ, MV)

Metrics: accuracy (Perf. %) inference time (s)

Baselines: MemAgent

Builds on: MemAgent GRU GRPO DAPO

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy