Beyond Inference-Time Search: Reinforcement Learning Synthesizes Reusable Solvers
On the map: Deep reinforcement learning methods → RL training of language and agent models
Abstract (arXiv)
Large language models (LLMs) typically approach combinatorial optimization as an inference-time procedure, solving each instance separately through sampling, search, or repeated prompting. We ask whether reinforcement learning can instead shift part of this reasoning cost into the weights of a code LLM, so that the model synthesizes a reusable solver for an entire problem family. We study this question on Synergistic Dependency Selection (SDS), a controlled variant of constrained Quadratic Knapsack designed to expose a specific failure mode: local signals and strict feasibility constraints make greedy heuristics attractive but unreliable. Under identical scaffolding, Best-of-64 base-model sampling saturates at an approximately 28.7% gap to the global Virtual Best Solver (VBS); code audits show that the base model often retrieves Simulated Annealing templates but misimplements the Metropolis acceptance rule. We fine-tune Qwen2.5-Coder-14B-Instruct with Group Relative Policy Optimization (GRPO) using a feasibility-gated reward and light structural scaffolding. The resulting policy converges to a constraint-aware Simulated Annealing template in 99.8% of feasible SDS outputs, achieves a 5.0% gap to that VBS, and is 91 times cheaper in post-generation execution/search cost than cumulative Best-of-64 evaluation. A compile-once check shows that one best frozen solver per seed remains highly competitive when reused unchanged across the SDS test set, while an additional-domain evaluation on Job Shop Scheduling provides narrower but positive evidence that the scaffold transfers beyond SDS. Negative ablations reveal the limits of this recipe: standard stabilizers degrade performance, a soft feasibility gate fails, and results remain sensitive to reward normalization and domain-specific design choices.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in RL training of language and agent models, one of 15 directions in Deep reinforcement learning methods. Builds on 11 of its 24 references that are in the map. First posted on arXiv 18 May 2026.
Builds on
11 of 24 references.
References · 11
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 2,810
- 2023Large Language Models Cannot Self-Correct Reasoning Yetcited by 1,017
- 2025Does Reinforcement Learning Really Incentivize Reasoning Capacity in LLMs Beyond the Base Model?cited by 982
- 2023Logic-LM: Empowering Large Language Models with Symbolic Solvers for Faithful Logical Reasoningcited by 391
- 2022PlanBench: An Extensible Benchmark for Evaluating Large Language Models on Planning and Reasoning about Changecited by 382
- 2022CodeRL: Mastering Code Generation through Pretrained Models and Deep Reinforcement Learningcited by 358
- 2024ReEvo: Large Language Models as Hyper-Heuristics with Reflective Evolutioncited by 276
- 2025AutoTriton: Automatic Triton Programming with Reinforcement Learning in LLMscited by 40
- 2025Alps, a versatile research infrastructurecited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Solver-Informed RL: Grounding Large Language Models for Authentic Optimization Modeling
- 2025Knapsack RL: Unlocking Exploration of LLMs via Optimizing Budget Allocation
- 2026Exploration-Driven Optimization for Test-Time Large Language Model Reasoning
- 2026MiniOpt: Reasoning to Model and Solve General Optimization Problems with Limited Resources
- 2025Large Language Models as End-to-end Combinatorial Optimization Solvers
- 2026Re2: Unlocking LLM Reasoning via Reinforcement Learning with Re-solving
- 2026Learning When to Think: Adaptive Reasoning for Test-Time Compute Allocation
- 2025From Data-Centric to Sample-Centric: Enhancing LLM Reasoning via Progressive Optimization