[论文解读] HeaPA: Difficulty-Aware Heap Sampling and On-Policy Query Augmentation for LLM Reinforcement Learning
HeaPA 提出一个有界、演化的查询池,结合基于堆的边界采样和在策略增强,以提升在LLM推理任务中的RLVR效率和准确性,并在不同模型和数据集上呈现持续提升。
RLVR is now a standard way to train LLMs on reasoning tasks with verifiable outcomes, but when rollout generation dominates the cost, efficiency depends heavily on which prompts you sample and when. In practice, prompt pools are often static or only loosely tied to the model's learning progress, so uniform sampling can't keep up with the shifting capability frontier and ends up wasting rollouts on prompts that are already solved or still out of reach. Existing approaches improve efficiency through filtering, curricula, adaptive rollout allocation, or teacher guidance, but they typically assume a fixed pool-which makes it hard to support stable on-policy pool growth-or they add extra teacher cost and latency. We introduce HeaPA (Heap Sampling and On-Policy Query Augmentation), which maintains a bounded, evolving pool, tracks the frontier using heap-based boundary sampling, expands the pool via on-policy augmentation with lightweight asynchronous validation, and stabilizes correlated queries through topology-aware re-estimation of pool statistics and controlled reinsertion. Across two training corpora, two training recipes, and seven benchmarks, HeaPA consistently improves accuracy and reaches target performance with fewer computations while keeping wall-clock time comparable. Our analyses suggest these gains come from frontier-focused sampling and on-policy pool growth, with the benefits becoming larger as model scale increases. Our code is available at https://github.com/horizon-rl/HeaPA.
研究动机与目标
- 通过将提示对齐到不断移动的能力前沿来提升 RLVR 的样本效率的动机。
- 开发一个有界、演化的查询池,跟踪难度和前沿进度。
- 引入在策略查询增强,通过异步验证来扩展查询池。
- 通过拓扑感知的池统计重新估计和受控再插入来稳定增强效果。
- 展示与现有 RLVR 配方与骨干的即插即用兼容性。
提出的方法
- 使用带有每条记录统计 tilde{r}_{k} 的低难度/高难度双堆提示池对齐采样,保持有界性。
- 使用边界采样优先考虑靠近前沿的中等难度带,必要时混入易项以提高稳定性。
- 通过让当前策略生成候选提示,异步由教师验证,并将验证通过的对插入池中来实现在策略增强。
- 构建增强血统关系图,以拓扑方式传播带有难度调整的统计信息,在相关增强之间稳定采样优先级。
- 将训练记录归档并通过受控再插入机制重用,以平滑池的演化并保持吞吐量。
- 对接 GRPO 和 DAPO RLVR 配方,而不改变底层策略更新规则。
实验结果
研究问题
- RQ1边界聚焦的堆采样是否能提升 LLMSRLVR 的样本效率和最终准确性?
- RQ2在策略增强下,异步验证能否安全地扩大提示池而不产生过高的教师成本或延迟?
- RQ3拓扑感知的池统计重新估计在增强相关联时是否能稳定学习?
- RQ4与基线相比,HeaPA 在不同模型规模与训练语料上的扩展性如何?
- RQ5HeaPA 能否作为现有 RLVR 流程(GRPO/DAPO)的即插组件,与不同骨干兼容?
主要发现
- HeaPA 在两套训练语料、两种训练配方和七个基准上持续提升平均性能。
- 在 DAPO-Math 上,HeaPA 达到 51.1 (GRPO) 与 49.3 (DAPO),相对于基线分别为 46.5 和 46.1。
- 在 OpenR1-Math 上,HeaPA 达到 44.0 (GRPO) 与 48.5 (DAPO),相对于基线分别为 39.9 和 45.0。
- 消融研究显示,将前沿聚焦采样与在策略池增长结合时,带来比任一单独组件更大的提升。
- 拓扑感知路径聚合(PathAgg)达到或超越 ChildAgg,表明通过稳定的池统计获益。
- HeaPA 将训练计算量(PFLOPs)降至达到基线目标性能,且由于异步验证额外的每步时钟时间仅约增加 2.1%。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。