mlsanityData to 14 Oct 2026

Knapsack RL: Unlocking Exploration of LLMs via Optimizing Budget Allocation

arXiv 2509.25849 ↗First posted 30 Sep 2025cs.LG cs.AI cs.CLcited by 22

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

  1. 2022Training language models to follow instructions with human feedbackcited by 15,971
  2. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  3. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
  4. 2025Qwen3 Technical Reportcited by 8,820
  5. 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
  6. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  7. 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 3,796
  8. 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 2,810
  9. 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 2,057
  10. 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameterscited by 1,986
  11. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,868
  12. 2025Kimi k1.5: Scaling Reinforcement Learning with LLMscited by 1,210
20 more
  1. 2024Qwen2.5-Math Technical Report: Toward Mathematical Expert Model via Self-Improvementcited by 1,090
  2. 2024Tulu 3: Pushing Frontiers in Open Language Model Post-Trainingcited by 1,053
  3. 2024Large Language Monkeys: Scaling Inference Compute with Repeated Samplingcited by 991
  4. 2023RAFT: Reward rAnked FineTuning for Generative Foundation Model Alignmentcited by 686
  5. 2023PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallelcited by 660
  6. 2025Reinforcement Learning with Verifiable Rewards Implicitly Incentivizes Correct Reasoning in Base LLMscited by 289
  7. 2025ProRL: Prolonged Reinforcement Learning Expands Reasoning Boundaries in Large Language Modelscited by 194
  8. 2023ReMax: A Simple, Effective, and Efficient Reinforcement Learning Method for Aligning Large Language Modelscited by 187
  9. 2025A Survey of Reinforcement Learning for Large Reasoning Modelscited by 180
  10. 2025Seed1.5-Thinking: Advancing Superb Reasoning Models with Reinforcement Learningcited by 161
  11. 2024Rho-1: Not All Tokens Are What You Needcited by 133
  12. 2025Self-Evolving Curriculum for LLM Reasoningcited by 112
  13. 2025TreeRL: LLM Reinforcement Learning with On-Policy Tree Searchcited by 80
  14. 2025TreePO: Bridging the Gap of Policy Optimization and Efficacy and Inference Efficiency with Heuristic Tree-based Modelingcited by 61
  15. 2025A Survey on Large Language Models for Mathematical Reasoningcited by 52
  16. 2020Constrained episodic reinforcement learning in concave-convex and knapsack settingscited by 34
  17. 2025Optimizing Chain-of-Thought Reasoners via Gradient Variance Minimization in Rejection Sampling and RLcited by 24
  18. 2024Policy Filtration for RLHF to Mitigate Noise in Reward Modelscited by 22
  19. 2020Efficient Reinforcement Learning in Factored MDPs with Application to Constrained RLcited by 16
  20. 2025Every Rollout Counts: Optimal Resource Allocation for Efficient Test-Time Scalingcited by 15

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 3; 2026: 19.

22 papers.

Sort:

By area:

  1. 2026Self-Hinting Language Models Enhance Reinforcement Learningcited by 20
  2. 2025XRPO: Pushing the limits of GRPO with Targeted Exploration and Exploitationcited by 18
  3. 2026Train Less, Learn More: Adaptive Efficient Rollout Optimization for Group-Based Reinforcement Learningcited by 14
  4. 2026CoBA-RL: Capability-Oriented Budget Allocation for Reinforcement Learning in LLMscited by 12
  5. 2026Learn Hard Problems During RL with Reference Guided Fine-tuningcited by 12
  6. 2026Learning to Hint for Reinforcement Learningcited by 12
  7. 2026V0: A Generalist Value Model for Any Policy at State Zerocited by 7
  8. 2026Composition-RL: Compose Your Verifiable Prompts for Reinforcement Learning of Large Language Modelscited by 6
  9. 2026IsoCompute Playbook: Optimally Scaling Sampling Compute for LLM RLcited by 6
  10. 2026ERPO: Token-Level Entropy-Regulated Policy Optimization for Large Reasoning Modelscited by 6
  11. 2025Teaching Language Models to Reason with Toolscited by 5
  12. 2026GOPO: Policy Optimization using Ranked Rewardscited by 5
10 more
  1. 2026Goldilocks RL: Tuning Task Difficulty to Escape Sparse Rewards for Reasoningcited by 4
  2. 2025Do Not Step Into the Same River Twice: Learning to Reason from Trial and Errorcited by 3
  3. 2026Nonsense Helps: Prompt Space Perturbation Broadens Reasoning Explorationcited by 1
  4. 2026Selective Off-Policy Reference Tuning with Plan Guidancecited by 1
  5. 2026Manifold Bandits: Bayesian Curriculum Learning over the Latent Geometry of Large Language Modelscited by 0
  6. 2026LIMBO: Lifelong Inference-Time Memory and Budget Optimization for LLM Agentscited by 0
  7. 2026Video-HopChain: Multi-Hop Questions and Confidence-Gated Exploration for Video Reasoning Modelscited by 0
  8. 2026Frontier Learning: Training LLM Reasoners at the Edge of Capabilitycited by 0
  9. 2026Prompts Live on an Arc: Gaussian Curricula in Fisher--Rao Coordinates for Rollout-Efficient GRPOcited by 0
  10. 2026CERO: Where and When to Allocate Rollouts for RL Post-Trainingcited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2026Beyond Inference-Time Search: Reinforcement Learning Synthesizes Reusable Solvers
  2. 2026Enhancing LLM-based Search Agents via Contribution Weighted Group Relative Policy Optimization
  3. 2025Enhancing Efficiency and Exploration in Reinforcement Learning for LLMs
  4. 2025ToolExpander: Extending the Frontiers of Tool-Using Reinforcement Learning to Weak LLMs
  5. 2024EVOLvE: Evaluating and Optimizing LLMs For In-Context Exploration
  6. 2025EEPO: Exploration-Enhanced Policy Optimization via Sample-Then-Forget
  7. 2026Distribution-Centric Policy Optimization Dominates Exploration-Exploitation Trade-off
  8. 2025Unlocking Reasoning Capabilities in LLMs via Reinforcement Learning Exploration