AlgoPilot: Choosing the Right Reasoning Paradigm Beats a Bigger Model
The bottleneck in cross-domain reasoning is not model size but two untrained steps: picking the right solving paradigm, and formulating the problem correctly inside it.
On this page
You have an 8B model that fits on one node, a mixed evaluation set of coding, constraint, planning and scheduling problems, and an average accuracy stuck in the thirties; your team has to decide whether to buy a bigger model or first find out which solving approach the model picks for each problem. This paper takes the second road: it keeps the executor fixed, trains a model to choose the paradigm and a second model to draft the formulation, and moves the same 8B model from 38.4% to 72.9% average accuracy [1].
Five ways to solve one problem, and the model can pick wrong at step one
The paper splits solving approaches into five paradigms, each backed by a different executor. CoT has the model write its reasoning out in natural language, step by step. Code has it write a program and run it. SMT turns the conditions into logical formulas handed to a satisfiability solver. PDDL writes a planning problem as states, actions and transitions for a planner. MILP writes an optimization problem as variables, an objective and constraints. The paper calls this cross-paradigm reasoning: the question itself never states which one to use.
Two challenges follow. First, the paradigm is unspecified; it has to be inferred from natural-language input that carries no field telling you the answer. Second, formulation inside a paradigm is hard: optimization needs decision variables, objective and constraints; planning needs states, actions and transitions; constraint satisfaction needs logical formulas. General-purpose LLMs, in the paper's words, "tend to struggle in obtaining the correct problem formulations" [1].
| Paradigm | What the model must produce | Failure type listed in the appendix |
|---|---|---|
| CoT | Natural-language reasoning steps | Prompt-pipeline interaction issues |
| Code | Executable program | High reliability with residual issues |
| SMT | Logical constraint formulas | Runtime errors and namespace issues |
| PDDL | Domain and problem files | Domain generation failures |
| MILP | Variables, objective, constraints | Timeout and solver errors |
The third column is not invented; it mirrors the failure-case analysis the appendix organizes paradigm by paradigm. That matters operationally: switching paradigms does not just switch notation, it switches the entire error surface, so "picked the wrong paradigm" and "wrote it wrong" have to be handled separately.
Three stages: pick the paradigm, draft the formulation, then execute
AlgoPilot cuts solving into three stages. First, SteerLM reads the problem and outputs a pair: a paradigm p from CoT, Code, SMT, PDDL or MILP, and a mode m from Guided or Direct. Direct means the executor writes everything itself; Guided means a paradigm-specific GuideLM is called first to produce a structured formulation draft.
Second, guidance: under Guided mode the matching GuideLM fills in that paradigm's template; the appendix ships templates for Code, CoT, MILP, PDDL and SMT. Third, execution: ExecuteLM receives the problem, the chosen paradigm and the optional draft, then generates and runs the program or solver input.
- SteerLM: chooses paradigm and mode, trained with SFT followed by GRPO
- GuideLM: one per paradigm, SFT only, produces the structured formulation
- ExecuteLM: solves and executes, left completely unmodified in this work (Qwen3-8B)
Where the supervision comes from: search guidance first, paradigms second
The hard part is not architecture but labels. Paradigm selection is a multi-label problem: one problem may be solvable by several paradigms, and searching over paradigm-mode pairs jointly explodes combinatorially. The paper splits the search in two.
Step one builds an initial dataset D0 where each problem carries a single paradigm label but several valid guidance entries. For each problem the base Qwen3-8B samples K=5 candidate guidance texts, each is executed 5 times, guidance is kept only if at least 3 runs succeed, and at most 3 such problem-guidance pairs are retained per problem. Step two fine-tunes the five GuideLMs on D0 with SFT.
Step three expands to D1: now the trained GuideLMs generate the guidance, so only alternative paradigms are searched, not multiple guidance texts per paradigm. Step four trains SteerLM on D1 with SFT and then GRPO, with reward derived from downstream execution outcomes rather than human labels of the correct paradigm.
- K=5 candidate guidance samples per problem
- 5 executions per guidance sample
- at least 3 successful runs to count as useful
- at most 3 problem-guidance pairs kept per problem
- SFT + GRPO for SteerLM; SFT only for GuideLM
One assumption is worth flagging: execution results are the judge. Answers must be automatically checkable for guidance to get a useful/not-useful label and for SteerLM to get a reward. On subjective tasks, or tasks without an executable verifier, this data pipeline needs a different judge [1].
The numbers: 13 benchmarks, 66 domains, 38.4% to 72.9%
Experiments use Qwen3-8B as the base, covering 5 problem categories, 13 benchmarks and 66 distinct domains, compared against both similarly scaled small models and larger LLMs under prompting baselines. On training data, the paper gives the example of merging training tasks from MILP benchmarks such as OptiGuide and assigning them the single paradigm label MILP.
| Item | Number reported in the paper |
|---|---|
| Base model | Qwen3-8B |
| Categories / benchmarks / domains | 5 / 13 / 66 |
| Same-model average accuracy (baseline to AlgoPilot) | 38.4% to 72.9% |
| Best large-LLM prompting baseline (GLM-5) | 11.7% higher for AlgoPilot |
| Candidate guidance K / runs per guidance | 5 / 5 |
| Guidance acceptance threshold | at least 3 successful runs |
Two readings need care. The 38.4% and 72.9% figures are the same model before and after, not two different models. The 11.7% refers to the gap over GLM-5, the strongest large-model prompting baseline, meaning an 8B executor whose weights were untouched beats a prompting-only large model once strategy selection and structured formulation sit in front of it. Ablations are reported to confirm each component, and the steering and formulation modules are shown to transfer to another execution model.
The boundary: it cannot rescue tasks without a verifier
First, the whole data pipeline hangs on execution feedback: guidance is scored by running it 5 times, and SteerLM's GRPO reward also comes from execution outcomes. Tasks without automatically checkable answers cannot close this loop. Second, the paradigm set is fixed at five; a problem outside them forces SteerLM to pick the least-bad option among five.
Third, ExecuteLM is not fine-tuned, so the framework improves the decision made before execution, not execution ability itself; if the executor simply cannot write correct MILP, a better draft will not save it. Fourth, the headline is an aggregate: the abstract does not break results down per benchmark, nor does it state whether the 11.7% gap is measured in absolute points or relative terms, so anyone using this for procurement should check the tables in the paper.
One scope reminder: this article relies solely on this paper [1]. Which 13 benchmarks, and the per-domain scores, require the paper's benchmark list and appendix; they cannot be extrapolated from the abstract. The appendix's five failure categories also show that even with the right paradigm, four of the five still produce domain generation failures, namespace errors or solver timeouts, which no routing layer removes.
