Saved in:
Bibliographic Details
Main Authors: Hu, Zhexin, Wang, Li, Wang, Xiaohan, Chai, Jiajun, Guo, Xiaojun, Lin, Wei, Yin, Guojun
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2605.28069
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917538440413184
author Hu, Zhexin
Wang, Li
Wang, Xiaohan
Chai, Jiajun
Guo, Xiaojun
Lin, Wei
Yin, Guojun
author_facet Hu, Zhexin
Wang, Li
Wang, Xiaohan
Chai, Jiajun
Guo, Xiaojun
Lin, Wei
Yin, Guojun
contents Adaptive context compression is vital for scaling Large Language Models (LLMs) to complex, multi-turn agent tasks. However, rule-based compression methods may discard task-critical nuances, while Reinforcement Learning (RL) approaches usually struggle to balance information retention and token efficiency under the sparse rewards inherent to long-horizon workflows. To bridge this gap, we propose ZipRL, a novel adaptive compression framework tailored for Reinforcement Learning from Verifiable Rewards (RLVR). ZipRL features a multi-granularity compression mechanism for active, non-uniform information reduction, coupled with Hindsight Response Replay (HRR), a technique designed to densify training signals during RLVR optimization. Theoretically, we prove ZipRL's superior task-relevant utility over uniform methods. Concretely, ZipRL utilizes coarse-to-fine prompts for macro-compression and incorporates HRR into GRPO via generalized advantage reshaping. Multiple models of varying versions and parameter scales validate the effectiveness of our approach. Benchmarks on five agent tasks show ZipRL outperforms state-of-the-art approaches by 27.9% and 34.7% across Qwen3-4B and Qwen3-8B models, while maintaining exceptional token efficiency and robustness under extreme 256-turn extrapolation stress tests.
format Preprint
id arxiv_https___arxiv_org_abs_2605_28069
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle ZipRL: Adaptive Multi-Turn Context Compression with Hindsight Response Replay
Hu, Zhexin
Wang, Li
Wang, Xiaohan
Chai, Jiajun
Guo, Xiaojun
Lin, Wei
Yin, Guojun
Artificial Intelligence
Adaptive context compression is vital for scaling Large Language Models (LLMs) to complex, multi-turn agent tasks. However, rule-based compression methods may discard task-critical nuances, while Reinforcement Learning (RL) approaches usually struggle to balance information retention and token efficiency under the sparse rewards inherent to long-horizon workflows. To bridge this gap, we propose ZipRL, a novel adaptive compression framework tailored for Reinforcement Learning from Verifiable Rewards (RLVR). ZipRL features a multi-granularity compression mechanism for active, non-uniform information reduction, coupled with Hindsight Response Replay (HRR), a technique designed to densify training signals during RLVR optimization. Theoretically, we prove ZipRL's superior task-relevant utility over uniform methods. Concretely, ZipRL utilizes coarse-to-fine prompts for macro-compression and incorporates HRR into GRPO via generalized advantage reshaping. Multiple models of varying versions and parameter scales validate the effectiveness of our approach. Benchmarks on five agent tasks show ZipRL outperforms state-of-the-art approaches by 27.9% and 34.7% across Qwen3-4B and Qwen3-8B models, while maintaining exceptional token efficiency and robustness under extreme 256-turn extrapolation stress tests.
title ZipRL: Adaptive Multi-Turn Context Compression with Hindsight Response Replay
topic Artificial Intelligence
url https://arxiv.org/abs/2605.28069