Papers › Beyond Inference-Time Search: Reinforcement Learning Synthesizes Reusable Solvers

Beyond Inference-Time Search: Reinforcement Learning Synthesizes Reusable Solvers

18 May 2026arXiv:2605.18374added by Syntology

Soheyl Massoudi, Gabriel Apaza, Milad Habibi, Mark Fuge

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

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.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2605.18374")

Code

Syntology Ran 32 of 32 code samples harvested from 1 repository linked to this paper; 0 have no recorded run. Of those that ran: 32 ran with no contract checked.

By repository: found in paper text by Syntology: 32 samples from 1 repository, 32 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

IDEALLab/neural-solver-synthesis found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

32 samples harvested; 32 ran; 0 honoured the contract we drafted; 0 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

32ran

Licence: 32 of the 32 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from IDEALLab/neural-solver-synthesis. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

canonical_json IDEALLab/neural-solver-synthesis/evaluation/sds/adaptive_repair.py found in paper text by Syntology ran no licence file found · pointer only · 7ca269935c886500 · report
canonical_metrics_csv_for_seed IDEALLab/neural-solver-synthesis/evaluation/sds/extract_frozen_solver.py found in paper text by Syntology ran no licence file found · pointer only · cfdf4b0113f34bed · report
canonicalize_code IDEALLab/neural-solver-synthesis/evaluation/sds/universal_solver_search.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · e253beb124f166e7 · report
check_hero_structure IDEALLab/neural-solver-synthesis/evaluation/sds/analyze_base_model_codes.py found in paper text by Syntology ran no licence file found · pointer only · 0fcfaa30138d9111 · report
construct_wandb_run_name IDEALLab/neural-solver-synthesis/evaluation/bigcode/evaluate.py found in paper text by Syntology ran no licence file found · pointer only · 0a338119f2eea708 · report
detect_algorithm IDEALLab/neural-solver-synthesis/evaluation/sds/analyze_base_model_codes.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 89f5fcb6cf6d20b8 · report
extract_code IDEALLab/neural-solver-synthesis/evaluation/sds/universal_solver_search.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 5a3b15c8fcdee09d · report
extract_solver IDEALLab/neural-solver-synthesis/evaluation/sds/extract_frozen_solver.py found in paper text by Syntology ran no licence file found · pointer only · 3c7475c507730049 · report
family_from_uuid IDEALLab/neural-solver-synthesis/evaluation/sds/adaptive_repair.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · f08018d179b0897a · report
find_all_metrics_files IDEALLab/neural-solver-synthesis/evaluation/bigcode/aggregate_results.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · c2552101f7239100 · report
find_all_metrics_files IDEALLab/neural-solver-synthesis/evaluation/sds/aggregate_plots.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · a8ca1b298f61deae · report
find_all_metrics_files_from_roots IDEALLab/neural-solver-synthesis/evaluation/bigcode/aggregate_results.py found in paper text by Syntology ran no licence file found · pointer only · bcf4698ea2ba174a · report
find_hero_job_directories IDEALLab/neural-solver-synthesis/evaluation/sds/analyze_convergence.py found in paper text by Syntology ran no licence file found · pointer only · 248d66f6eb9d4c62 · report
find_hero_jobs IDEALLab/neural-solver-synthesis/evaluation/sds/analyze_convergence.py found in paper text by Syntology ran no licence file found · pointer only · 4381588fa7826aef · report
find_hero_jobs_fallback IDEALLab/neural-solver-synthesis/evaluation/sds/analyze_convergence.py found in paper text by Syntology ran no licence file found · pointer only · 3c36b6b6f1c34d09 · report
greet IDEALLab/neural-solver-synthesis/deps/syndeopt/src/example.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 4ca1c8406ecbb1d7 · report
hash_code IDEALLab/neural-solver-synthesis/evaluation/sds/universal_solver_search.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 494a7173ffae6e4f · report
infer_runtime_method_name IDEALLab/neural-solver-synthesis/evaluation/sds/aggregate_fixed_code_results.py found in paper text by Syntology ran no licence file found · pointer only · 5f039d0a1b4579d8 · report
load_certified_quality IDEALLab/neural-solver-synthesis/evaluation/sds/aggregate_program_audits.py found in paper text by Syntology ran no licence file found · pointer only · f35ceaf7e80dbb95 · report
load_final_topk IDEALLab/neural-solver-synthesis/evaluation/sds/aggregate_universal_search.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · cd31580733f52ae2 · report
load_report_set IDEALLab/neural-solver-synthesis/evaluation/bigcode/aggregate_results.py found in paper text by Syntology ran no licence file found · pointer only · fde9c342de768a35 · report
load_report_set IDEALLab/neural-solver-synthesis/evaluation/sds/aggregate_plots.py found in paper text by Syntology ran no licence file found · pointer only · 15e23e61db16cb96 · report
load_result_json IDEALLab/neural-solver-synthesis/evaluation/sds/aggregate_universal_search.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · b718230031b2a563 · report
method_from_config_name IDEALLab/neural-solver-synthesis/evaluation/bigcode/evaluate.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 6916406318a1ab24 · report
normalize_model_name IDEALLab/neural-solver-synthesis/evaluation/bigcode/evaluate.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 83fa161891bf2706 · report
parse_bool IDEALLab/neural-solver-synthesis/evaluation/sds/aggregate_program_audits.py found in paper text by Syntology ran no licence file found · pointer only · 358b643f6ac0a2d5 · report
parse_optional_float IDEALLab/neural-solver-synthesis/evaluation/sds/aggregate_program_audits.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 76ef119774249a8d · report
parse_path_metadata IDEALLab/neural-solver-synthesis/evaluation/sds/aggregate_plots.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 5907178e6b372710 · report
recompute_global_vbs IDEALLab/neural-solver-synthesis/evaluation/sds/aggregate_fixed_code_results.py found in paper text by Syntology ran no licence file found · pointer only · 0aad1e5e6b5ad783 · report
sha256_text IDEALLab/neural-solver-synthesis/evaluation/sds/adaptive_repair.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 819df9caf830923b · report
strip_clean IDEALLab/neural-solver-synthesis/evaluation/sds/analyze_base_model_codes.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 07b406a26178e65c · report
summarise_methods IDEALLab/neural-solver-synthesis/evaluation/sds/aggregate_fixed_code_results.py found in paper text by Syntology ran no licence file found · pointer only · e32429796b90ff9c · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2605.18374, was issued in May 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections