Knapsack RL: Unlocking Exploration of LLMs via Optimizing Budget Allocation
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) can self-improve through reinforcement learning, where they generate trajectories to explore and discover better solutions. However, this exploration process is computationally expensive, often forcing current methods to assign limited exploration budgets to each task. This uniform allocation creates problematic edge cases: easy tasks consistently succeed while difficult tasks consistently fail, both producing zero gradients during training updates for the widely used Group Relative Policy Optimization (GRPO). We address this problem from the lens of exploration budget allocation. Viewing each task's exploration as an "item" with a distinct "value" and "cost", we establish a connection to the classical knapsack problem. This formulation allows us to derive an optimal assignment rule that adaptively distributes resources based on the model's current learning status. When applied to GRPO, our method increases the effective ratio of non-zero policy gradients by 20-40% during training. Acting as a computational "free lunch", our approach could reallocate exploration budgets from tasks where learning is saturated to those where it is most impactful. This enables significantly larger budgets (e.g., 93 rollouts) for especially challenging problems, which would be computationally prohibitive under a uniform allocation. These improvements translate to meaningful gains on mathematical reasoning benchmarks, with average improvements of 2-4 points and peak gains of 9 points on specific tasks. Notably, achieving comparable performance with traditional homogeneous allocation would require about 2x the computational resources.
Key facts. Cited by 22 papers in the map (data through 14 Oct 2026). Builds on 32 of its 50 references that are in the map. First posted on arXiv 30 Sep 2025.
Builds on
32 of 50 references.
References · 32
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2025Qwen3 Technical Reportcited by 8,820
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
- 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 3,796
- 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 2,810
- 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 2,057
- 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameterscited by 1,986
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,868
- 2025Kimi k1.5: Scaling Reinforcement Learning with LLMscited by 1,210
20 more
- 2024Qwen2.5-Math Technical Report: Toward Mathematical Expert Model via Self-Improvementcited by 1,090
- 2024Tulu 3: Pushing Frontiers in Open Language Model Post-Trainingcited by 1,053
- 2024Large Language Monkeys: Scaling Inference Compute with Repeated Samplingcited by 991
- 2023RAFT: Reward rAnked FineTuning for Generative Foundation Model Alignmentcited by 686
- 2023PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallelcited by 660
- 2025Reinforcement Learning with Verifiable Rewards Implicitly Incentivizes Correct Reasoning in Base LLMscited by 289
- 2025ProRL: Prolonged Reinforcement Learning Expands Reasoning Boundaries in Large Language Modelscited by 194
- 2023ReMax: A Simple, Effective, and Efficient Reinforcement Learning Method for Aligning Large Language Modelscited by 187
- 2025A Survey of Reinforcement Learning for Large Reasoning Modelscited by 180
- 2025Seed1.5-Thinking: Advancing Superb Reasoning Models with Reinforcement Learningcited by 161
- 2024Rho-1: Not All Tokens Are What You Needcited by 133
- 2025Self-Evolving Curriculum for LLM Reasoningcited by 112
- 2025TreeRL: LLM Reinforcement Learning with On-Policy Tree Searchcited by 80
- 2025TreePO: Bridging the Gap of Policy Optimization and Efficacy and Inference Efficiency with Heuristic Tree-based Modelingcited by 61
- 2025A Survey on Large Language Models for Mathematical Reasoningcited by 52
- 2020Constrained episodic reinforcement learning in concave-convex and knapsack settingscited by 34
- 2025Optimizing Chain-of-Thought Reasoners via Gradient Variance Minimization in Rejection Sampling and RLcited by 24
- 2024Policy Filtration for RLHF to Mitigate Noise in Reward Modelscited by 22
- 2020Efficient Reinforcement Learning in Factored MDPs with Application to Constrained RLcited by 16
- 2025Every Rollout Counts: Optimal Resource Allocation for Efficient Test-Time Scalingcited by 15
Built on by
Citing papers per year: 2025: 3; 2026: 19.
22 papers.
Sort:
By area:
- 2026Self-Hinting Language Models Enhance Reinforcement Learningcited by 20
- 2025XRPO: Pushing the limits of GRPO with Targeted Exploration and Exploitationcited by 18
- 2026Train Less, Learn More: Adaptive Efficient Rollout Optimization for Group-Based Reinforcement Learningcited by 14
- 2026CoBA-RL: Capability-Oriented Budget Allocation for Reinforcement Learning in LLMscited by 12
- 2026Learn Hard Problems During RL with Reference Guided Fine-tuningcited by 12
- 2026Learning to Hint for Reinforcement Learningcited by 12
- 2026V0: A Generalist Value Model for Any Policy at State Zerocited by 7
- 2026Composition-RL: Compose Your Verifiable Prompts for Reinforcement Learning of Large Language Modelscited by 6
- 2026IsoCompute Playbook: Optimally Scaling Sampling Compute for LLM RLcited by 6
- 2026ERPO: Token-Level Entropy-Regulated Policy Optimization for Large Reasoning Modelscited by 6
- 2025Teaching Language Models to Reason with Toolscited by 5
- 2026GOPO: Policy Optimization using Ranked Rewardscited by 5
10 more
- 2026Goldilocks RL: Tuning Task Difficulty to Escape Sparse Rewards for Reasoningcited by 4
- 2025Do Not Step Into the Same River Twice: Learning to Reason from Trial and Errorcited by 3
- 2026Nonsense Helps: Prompt Space Perturbation Broadens Reasoning Explorationcited by 1
- 2026Selective Off-Policy Reference Tuning with Plan Guidancecited by 1
- 2026Manifold Bandits: Bayesian Curriculum Learning over the Latent Geometry of Large Language Modelscited by 0
- 2026LIMBO: Lifelong Inference-Time Memory and Budget Optimization for LLM Agentscited by 0
- 2026Video-HopChain: Multi-Hop Questions and Confidence-Gated Exploration for Video Reasoning Modelscited by 0
- 2026Frontier Learning: Training LLM Reasoners at the Edge of Capabilitycited by 0
- 2026Prompts Live on an Arc: Gaussian Curricula in Fisher--Rao Coordinates for Rollout-Efficient GRPOcited by 0
- 2026CERO: Where and When to Allocate Rollouts for RL Post-Trainingcited by 0
- 2026CERO: Where and When to Allocate Rollouts for RL Post-Training7 Oct 2026
- 2026Prompts Live on an Arc: Gaussian Curricula in Fisher--Rao Coordinates for Rollout-Efficient GRPO29 Sep 2026
- 2026Frontier Learning: Training LLM Reasoners at the Edge of Capability28 Sep 2026
- 2026Video-HopChain: Multi-Hop Questions and Confidence-Gated Exploration for Video Reasoning Models22 Sep 2026
- 2026LIMBO: Lifelong Inference-Time Memory and Budget Optimization for LLM Agents12 Sep 2026
- 2026Manifold Bandits: Bayesian Curriculum Learning over the Latent Geometry of Large Language Models18 Jun 2026
- 2026Selective Off-Policy Reference Tuning with Plan Guidance12 May 2026
- 2026Nonsense Helps: Prompt Space Perturbation Broadens Reasoning Exploration7 May 2026
- 2026Learning to Hint for Reinforcement Learning1 Apr 2026
- 2026ERPO: Token-Level Entropy-Regulated Policy Optimization for Large Reasoning Models30 Mar 2026
- 2026IsoCompute Playbook: Optimally Scaling Sampling Compute for LLM RL12 Mar 2026
- 2026Learn Hard Problems During RL with Reference Guided Fine-tuning1 Mar 2026
10 more
- 2026Goldilocks RL: Tuning Task Difficulty to Escape Sparse Rewards for Reasoning16 Feb 2026
- 2026Train Less, Learn More: Adaptive Efficient Rollout Optimization for Group-Based Reinforcement Learning15 Feb 2026
- 2026Composition-RL: Compose Your Verifiable Prompts for Reinforcement Learning of Large Language Models12 Feb 2026
- 2026V0: A Generalist Value Model for Any Policy at State Zero3 Feb 2026
- 2026Self-Hinting Language Models Enhance Reinforcement Learning3 Feb 2026
- 2026CoBA-RL: Capability-Oriented Budget Allocation for Reinforcement Learning in LLMs3 Feb 2026
- 2026GOPO: Policy Optimization using Ranked Rewards1 Feb 2026
- 2025Do Not Step Into the Same River Twice: Learning to Reason from Trial and Error30 Oct 2025
- 2025Teaching Language Models to Reason with Tools23 Oct 2025
- 2025XRPO: Pushing the limits of GRPO with Targeted Exploration and Exploitation8 Oct 2025
- 2026Self-Hinting Language Models Enhance Reinforcement Learningcited by 20
- 2025XRPO: Pushing the limits of GRPO with Targeted Exploration and Exploitationcited by 18
- 2026Train Less, Learn More: Adaptive Efficient Rollout Optimization for Group-Based Reinforcement Learningcited by 14
- 2026CoBA-RL: Capability-Oriented Budget Allocation for Reinforcement Learning in LLMscited by 12
- 2026Learn Hard Problems During RL with Reference Guided Fine-tuningcited by 12
- 2026Learning to Hint for Reinforcement Learningcited by 12
- 2026ERPO: Token-Level Entropy-Regulated Policy Optimization for Large Reasoning Modelscited by 6
- 2025Teaching Language Models to Reason with Toolscited by 5
- 2026Goldilocks RL: Tuning Task Difficulty to Escape Sparse Rewards for Reasoningcited by 4
- 2025Do Not Step Into the Same River Twice: Learning to Reason from Trial and Errorcited by 3
- 2026Nonsense Helps: Prompt Space Perturbation Broadens Reasoning Explorationcited by 1
- 2026Selective Off-Policy Reference Tuning with Plan Guidancecited by 1
12 most cited of 16 All 16 (JSON)
- 2026Prompts Live on an Arc: Gaussian Curricula in Fisher--Rao Coordinates for Rollout-Efficient GRPO29 Sep 2026
- 2026Frontier Learning: Training LLM Reasoners at the Edge of Capability28 Sep 2026
- 2026Video-HopChain: Multi-Hop Questions and Confidence-Gated Exploration for Video Reasoning Models22 Sep 2026
- 2026Manifold Bandits: Bayesian Curriculum Learning over the Latent Geometry of Large Language Models18 Jun 2026
- 2026Selective Off-Policy Reference Tuning with Plan Guidance12 May 2026
- 2026Nonsense Helps: Prompt Space Perturbation Broadens Reasoning Exploration7 May 2026
- 2026Learning to Hint for Reinforcement Learning1 Apr 2026
- 2026ERPO: Token-Level Entropy-Regulated Policy Optimization for Large Reasoning Models30 Mar 2026
- 2026Learn Hard Problems During RL with Reference Guided Fine-tuning1 Mar 2026
- 2026Goldilocks RL: Tuning Task Difficulty to Escape Sparse Rewards for Reasoning16 Feb 2026
- 2026Train Less, Learn More: Adaptive Efficient Rollout Optimization for Group-Based Reinforcement Learning15 Feb 2026
- 2026Self-Hinting Language Models Enhance Reinforcement Learning3 Feb 2026
12 newest of 16 All 16 (JSON)
- 2026GOPO: Policy Optimization using Ranked Rewardscited by 5
- 2026GOPO: Policy Optimization using Ranked Rewards1 Feb 2026
Similar, not cited
Close in wording, no citation either way
- 2026Beyond Inference-Time Search: Reinforcement Learning Synthesizes Reusable Solvers
- 2026Enhancing LLM-based Search Agents via Contribution Weighted Group Relative Policy Optimization
- 2025Enhancing Efficiency and Exploration in Reinforcement Learning for LLMs
- 2025ToolExpander: Extending the Frontiers of Tool-Using Reinforcement Learning to Weak LLMs
- 2024EVOLvE: Evaluating and Optimizing LLMs For In-Context Exploration
- 2025EEPO: Exploration-Enhanced Policy Optimization via Sample-Then-Forget
- 2026Distribution-Centric Policy Optimization Dominates Exploration-Exploitation Trade-off
- 2025Unlocking Reasoning Capabilities in LLMs via Reinforcement Learning Exploration