Integrating context compaction techniques into agentic reinforcement learning (RL) allows large-language-model (LLM)-based agents to overcome the limit of the context window and to explore and learn more thoroughly on long-horizon tasks. However, current compaction-integrated agentic RL supervises trajectories only with sparse outcome rewards, which cannot tell whether a failed task results from errors or omissions in a summary or from incorrect decisions. This difficulty in credit assignment leads to a cold-start problem, making it hard for the model to learn to produce good summaries from scratch. In this work, we propose Suffix-Compatibility Estimation (SuffiCE). SuffiCE uses deferred summarization to postpone the application of a summary and obtain reference actions under the original context, and then uses compatibility scoring to compare the likelihoods of these actions under the original and compacted contexts, which provides a local reward for the summary without additional supervision. Experiments across various benchmarks and backbones show that SuffiCE outperforms all baselines, overcoming the cold-start problem to learn a distinct summarization pattern.
翻译:暂无翻译