paper-with-me

홈 › Papers

Scaling LLM Multi-turn RL with End-to-end Summarization-based Context Management

2025-10-08 · Miao Lu, Weiwei Sun, Weihua Du, Zhan Ling, Xuesong Yao, Kang Liu, Jiecao Chen arxiv

We study reinforcement learning (RL) fine-tuning of large language model (LLM) agents for long-horizon multi-turn tool use, where context length quickly becomes a fundamental bottleneck. Existing RL pipelines can suffer from degraded instruction following, excessive rollout costs, and most importantly, strict context limits. To address these challenges, we introduce summarization-based context management to training. In specific, it periodically compresses the tool using history by LLM-generated summaries that retain task-relevant information to keep a compact context while enabling the agent to scale beyond the fixed context window. Building on this formulation, we derive a policy gradient representation that seamlessly enables standard LLM RL infrastructures to optimize both tool-use behaviors as well as summarization strategies in an end-to-end fashion. We instantiate this framework with \underline{SU}mmarization augmented \underline{P}olicy \underline{O}ptimization (\texttt{SUPO}), an LLM RL algorithm that enables long-horizon training beyond a fixed context limit. Experiments on interactive function calling and searching tasks demonstrate that \texttt{SUPO} significantly improves the success rate while maintaining the same or even lower working context length compared to baselines. We also demonstrate that for complex searching tasks, \texttt{SUPO} can further improve the evaluation performance when scaling test-time maximum round of summarization beyond that of training time. Our results establish summarization-based context management as a principled and scalable approach for training RL agents beyond a fixed context length limit.

📄 PDF Abstract BibTeX arXiv:2510.06727

Code (0)

등록된 구현이 없습니다.

Tasks

Reinforcement LearningInstruction Following

Similar Papers 제목 키워드 기반

Beyond Turn Limits: Training Deep Search Agents with Dynamic Context Window

2025-10-09 · Qiaoyu Tang, Hao Xiang, Le Yu, Bowen Yu 외 arxiv

While recent advances in reasoning models have demonstrated cognitive behaviors through reinforcement learning, existing approaches struggle to invoke deep reasoning capabilities in multi-turn agents with long-horizon in…

Reinforcement Learning

SPARC-RAG: Adaptive Sequential-Parallel Scaling with Context Management for Retrieval-Augmented Generation

2026-01-22 · Yuxin Yang, Gangda Deng, Ömer Faruk Akgül, Nima Chitsazan 외 arxiv

Retrieval-Augmented Generation (RAG) grounds large language model outputs in external evidence, but remains challenged on multi-hop question answering that requires long reasoning. Recent works scale RAG at inference tim…

Multi-hop Question Answering

Scaling Long-Horizon LLM Agent via Context-Folding

2025-10-13 · Weiwei Sun, Miao Lu, Zhan Ling, Kang Liu 외 arxiv

Large language model (LLM) agents are fundamentally constrained by context length on long-horizon tasks. We introduce Context-Folding, a framework that empowers agents to actively manage their working context. An agent c…

Reinforcement Learning

Towards Adaptive Context Management for Intelligent Conversational Question Answering

2025-09-22 · Manoj Madushanka Perera, Adnan Mahmood, Kasun Eranda Wijethilake, Quan Z. Sheng arxiv

This particular paper introduces an Adaptive Context Management (ACM) framework for the Conversational Question Answering (ConvQA) systems. The key objective of the ACM framework is to optimize the use of the conversatio…

Conversational Question Answering

ContextPilot: Teaching Agents for Proactive Context Management via Fine-grained RL

2026-08-28 · Zhuoshi Pan, Qizhi Pei, Junru Lu, Honglin Lin 외 arxiv

Long-horizon agentic tasks require large language models (LLMs) to iteratively retrieve, integrate, and maintain dispersed information across multi-turn interactions, but preserving all interaction histories leads to a c…