Work done by Weiqi Wang¹², Xin Liu²

¹ HKUST ² Amazon

📄 arXiv:2601.22448 💻 GitHub: horizon-rl/HeaPA


📄 Abstract

Reinforcement learning from verifiable rewards (RLVR) has emerged as a powerful paradigm for improving LLM reasoning, yet its efficiency is bottlenecked by rollout generation on a static, uniformly-sampled prompt pool. As training progresses, prompts that were once informative become either trivially solved or persistently unsolvable — both yielding near-zero gradient signal. We present HeaPA (Heap-based Prioritized sampling and on-policy Augmentation), a data curriculum framework that maintains a bounded, dynamically-evolving prompt pool via heap-based boundary sampling, on-policy pool expansion with lightweight asynchronous teacher verification, and topology-aware reward re-estimation along an augmentation lineage graph. Across GRPO and DAPO optimizers, two training corpora (DAPO-Math-17k and OpenR1-Math), and seven benchmarks, HeaPA delivers consistent +3–5 accuracy points while requiring 12–16% fewer FLOPs to reach baseline performance, at only ~2.1% additional wall-clock overhead on average — with gains that increase with model scale.


🔍 TL;DR

Problem

Idea: HeaPA. Turn a static dataset into a living curriculum by:

  1. Dual-heap query pool
  2. On-policy query augmentation
  3. Teacher-guided verification
  4. Reward propagation via a lineage graph

Results (Qwen2.5-7B, math RL)

Plug-and-play