arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2603.04135cs.LGcs.AI
收藏

无偏动态剪枝用于高效基于群体的策略优化

Unbiased Dynamic Pruning for Efficient Group-Based Policy Optimization

Beihang University(北航大学);Zhongguancun Academy(中关村学院);Communication University of China(中国通信大学)

Haodong Zhu, Yangyang Ren, Yanjing Li, Mingbao Lin, Linlin Yang, Xuhui Liu, Xiantong Zhen, Haiguang Liu, Baochang Zhang

AI总结:

DPPO通过动态剪枝和重要性采样修正,实现高效基于群体的策略优化,提升训练速度并提高准确率。

摘要:

基于群体的策略优化(GRPO)能够有效扩展大语言模型的推理能力,但其广泛的群体采样需求导致了巨大的计算成本。尽管最近的有选择的数据利用方法可以缓解这一开销,但它们可能会通过改变底层采样分布引入估计偏差,从而影响理论严谨性和收敛行为。为了解决这一限制,我们提出了动态剪枝策略优化(DPPO),这是一种框架,它通过重要性采样进行修正,能够在动态剪枝的同时保持无偏梯度估计。通过引入数学推导出的重缩放因子,DPPO显著加快了GRPO的训练速度,而不会改变全批量基线的优化目标。此外,为了缓解剪枝引起的数据显示稀疏性,我们引入了密集提示打包,这是一种基于窗口的贪心策略,旨在最大化有效令牌密度和硬件利用率。广泛的实验表明,DPPO在各种模型和基准上都一致地加快了训练速度。例如,在Qwen3-4B在MATH上训练时,DPPO实现了2.37倍的训练加速,并在六个数学推理基准上平均准确率上优于GRPO 3.36%。

英文摘要:

Group Relative Policy Optimization (GRPO) effectively scales LLM reasoning but incurs prohibitive computational costs due to its extensive group-based sampling requirement. While recent selective data utilization methods can mitigate this overhead, they could induce estimation bias by altering the underlying sampling distribution, compromising theoretical rigor and convergence behavior. To address this limitation, we propose Dynamic Pruning Policy Optimization (DPPO), a framework that enables dynamic pruning while preserving unbiased gradient estimation through importance sampling-based correction. By incorporating mathematically derived rescaling factors, DPPO significantly accelerates GRPO training without altering the optimization objective of the full-batch baseline. Furthermore, to mitigate the data sparsity induced by pruning, we introduce Dense Prompt Packing, a window-based greedy strategy that maximizes valid token density and hardware utilization. Extensive experiments demonstrate that DPPO consistently accelerates training across diverse models and benchmarks. For instance, on Qwen3-4B trained on MATH, DPPO achieves 2.37$\times$ training speedup and outperforms GRPO by 3.36% in average accuracy across six mathematical reasoning benchmarks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑