Contextual Rollout Bandits for Reinforcement Learning with Verifiable Rewards
Xiaodong Lu, Xiaohan Wang, Jiajun Chai, Guojun Yin, Wei Lin, Zhijun Chen, Yu Luo, Fuzhen Zhuang, Yikun Ban, Deqing Wang
TL;DR
This work tackles RLVR by addressing two core issues: noisy, heterogeneous rollouts within groups and the short horizon with limited data reuse. It introduces Contextual Rollout Bandits (CBS), a neural scheduler that treats each rollout as a contextual bandit arm and performs both intra-group filtering and global reuse via a replay buffer. The authors establish a theoretical connection to contextual bandits, proving sublinear regret bounds, and demonstrate consistent performance and training-efficiency gains across six math benchmarks and multiple RLVR optimizers. The approach significantly improves data efficiency and final reasoning performance, enabling more scalable and reliable RLVR for large language models.
Abstract
Reinforcement Learning with Verifiable Rewards (RLVR) is an effective paradigm for improving the reasoning capabilities of large language models. However, existing RLVR methods utilize rollouts in an indiscriminate and short-horizon manner: responses of heterogeneous quality within each prompt are treated uniformly, and historical rollouts are discarded after a single use. This leads to noisy supervision, poor sample efficiency, and suboptimal policy updates. We address these issues by formulating rollout scheduling in RLVR as a contextual bandit problem and proposing a unified neural scheduling framework that adaptively selects high-value rollouts throughout training. Each rollout is treated as an arm whose reward is defined by the induced performance gain between consecutive optimization steps. The resulting scheduler supports both noise-aware intra-group selection and adaptive global reuse of historical rollouts within a single principled framework. We provide theoretical justification by deriving sublinear regret bounds and showing that enlarging the rollout buffer improves the achievable performance upper bound. Experiments on six mathematical reasoning benchmarks demonstrate consistent gains in performance and training efficiency across multiple RLVR optimization methods.
