cs.AINov 4, 2026

SUMONE: A Simple and Efficient Summarizer for Plug-and-Play Agent Memory

Authors: Jizhe Zhang, Ang Li, Chenheng Zhang, Yisen Wang

Organizations: State Key Lab of General Artificial Intelligence, School of Intelligence Science and Technology, Peking University

Abstract

Long-horizon language-model agents accumulate increasingly large interaction histories, making context compaction essential for efficient execution. Existing learned compaction methods often rely on downstream task outcomes or solver behavior, coupling training to specific tasks or agents. We introduce SumOne, a standalone summarizer trained to preserve information in agent histories through masked reconstruction. Given a summary of the expired history, a frozen reconstructor recovers randomly masked portions of the original trajectory; reconstruction quality, combined with a length penalty, provides a task-agnostic reward for optimizing the summarizer with GRPO. This yields self-supervision directly from raw trajectories, without reference summaries or downstream task execution. At inference time, only the lightweight summarizer is retained, enabling plug-and-play context compression for otherwise unchanged agents. We conduct a systematic evaluation of SumOne in long-horizon search and software-engineering tasks. SumOne reduces estimated inference cost by approximately 78% on DeepSearchQA and 75% on SWE-bench Verified relative to operating with full context, with absolute decreases of 0.04. The same checkpoint also transfers across downstream models and agent harnesses without additional fine-tuning.

Figures & tables

Explore similar work

CardsList
  1. StateComp: Learning When to Compress History in Long Horizon Agents

    Sep 23, 2026Mingxuan Wang, Hongyue Chen, Yinglong Guo +6Context CompressionLong-Horizon LLM Agents

  2. Compact-Bench: Measuring What Context Compaction Costs Long-Horizon Coding Agents

    Oct 22, 2026Ruopei Sun, Jianfeng Cai, Kangwen Zhao +2Context Compaction for LLM AgentsLLM Context Compression