NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Select-then-Solve: Paradigm Routing as Inference-Time Optimization for LLM Agents

Heng Zhou, Zelin Tan, Zhemeng Zhang, Yutao Fan, Yibing Lin, Li Kang, Xiufeng Song, Rui Li, Songtao Huang, Ao Yu, Yuchen Fan, Yanxu Chen, Kaixin Xu, Xiaohong Liu, Yiran Qin, Philip Torr, Chen Zhang, Zhenfei YinarXiv 2026

TL;DR

Fixed reasoning scaffolds like Chain-of-Thought (CoT) or ReAct are often treated as universal upgrades for LLM agents, but this paper demonstrates that they can actively harm performance depending on the task. By introducing a "select-then-solve" framework, the authors use a lightweight embedding-based router to dynamically pick the optimal reasoning paradigm for each task. This approach beats any single fixed paradigm across multiple frontier models while slashing token costs in half compared to heavy agentic loops.

What Problem Does This Paper Address?

When an LLM-based agent successfully solves a complex problem, is the victory due to the raw capability of the underlying model, or the specific reasoning paradigm (e.g., CoT, ReAct, Reflection) wrapped around it?

While the AI community has cooked up a vibrant menu of inference-time strategies, controlled comparisons remain rare. Most papers introduce a new paradigm and evaluate it only on tasks tailored to its strengths, simultaneously changing the model, prompt format, and tool stack. This leaves a fundamental question unanswered: When does additional reasoning structure actually help, and when does it hurt? The authors tackle this gap by conducting a massive, controlled study of six prominent inference-time paradigms across four frontier LLMs and ten diverse benchmarks, totaling roughly 18,000 evaluation runs.

Methods

The authors first build PARADIGM, a unified evaluation framework where all reasoning strategies share the same model interface, evaluation code, and core tools (web search and a Python code execution environment). They evaluate six representative paradigms:

  1. Direct: Free-form answering without an explicit scaffold.
  2. Chain-of-Thought (CoT): Explicit step-by-step verbal reasoning.
  3. ReAct: Interleaved thought-action-observation loops using tools.
  4. Plan-Execute: Decomposing a task into a static plan before executing tool steps.
  5. Reflection: An iterative loop of generating an initial answer, critiquing it, and revising.
  6. ReCode: Solving problems through recursive code generation and execution.
Figure 2: The select-then-solve pipeline. A Paradigm Selector encodes, classifies, and routes each task to one of six paradigms. Only the selected paradigm is executed.

To exploit the fact that different tasks favor different paradigms, they propose a select-then-solve pipeline. Before a task is executed, a lightweight router analyzes the task text. The authors design a Combined Logistic Regression (LR) router that concatenates text embeddings (text-embedding-3-small) with 22 handcrafted features (such as text length, word count, and content flags like has_code). This router predicts and dispatches the task to the most token-efficient, successful paradigm. They compare this learned router against zero-shot self-routing, where the LLM itself is prompted to choose its own paradigm.

Datasets

The framework evaluates models across 10 established benchmarks covering five core domains:

  • Code Generation: HumanEval
  • Mathematics: MATH500, AIME
  • Question Answering: HotpotQA, Natural Questions (NQ)
  • Parametric Knowledge: MMLU
  • Hard Reasoning & Agentic Tasks: HLE (Humanity's Last Exam), GAIA, $\tau$-bench, SEAL

No new datasets were introduced; instead, the authors focused on creating a highly controlled, standardized subset of existing benchmarks (761 tasks per model-paradigm pair) to ensure a completely fair comparison.

Key Insights and Ideas

  • Reasoning Structure is Task-Conditional: Scaffolding is not a free lunch. While tool-augmented loops like ReAct provide transformative gains on information-seeking tasks (improving over Direct by 44 percentage points on GAIA), verbal step-by-step reasoning can actively degrade performance on others (CoT degrades GPT-5 performance by 15 percentage points on HumanEval because intermediate text disrupts code quality).
  • Structure as Capability Compensation: Complex reasoning structures primarily compensate for what a model cannot do alone. Weaker models (like Qwen3-30B) see massive performance jumps when forced to use structured paradigms on tasks that frontier models (like GPT-5) can easily solve using simple Direct prompting.
  • Self-Routing Fails Weaker Models: While GPT-5 can reasonably calibrate its own paradigm choice via zero-shot prompting, weaker models suffer from degenerate biases. They overwhelmingly over-select expensive tool-use paradigms like ReAct even for straightforward, knowledge-centric questions where Direct prompting suffices.
Figure 1: Direct prompting (gray), best single paradigm per dataset (colored), and oracle per-task selection (blue) for GPT-5. The best paradigm differs across tasks, and the oracle substantially exceeds any fixed choice, motivating our select-then-solve approach.

Key Results

  • The Oracle Gap: An oracle that perfectly selects the best paradigm for each individual task outperforms the single best fixed paradigm by 17.1 percentage points on average.
  • Router Superiority: The learned embedding router (Combined LR) consistently outperforms both the Direct baseline and the best-single fixed paradigm across all four models. It improves average accuracy from 47.6% (Direct) to 53.1%, recovering up to 37% of the oracle gap.
Figure 3: Router comparison across four models. The embedding router (green) consistently outperforms Direct and Best-single baselines. Self-routing (red) shows mixed results. The oracle (blue) shows substantial remaining headroom.
  • Halving Token Costs: Because the router frequently chooses the simple Direct paradigm when heavy scaffolding isn't needed, it achieves higher overall accuracy than an "always-ReAct" strategy at half the token cost (7.0k tokens vs. 14.0k tokens per task on GPT-5).

Limitations and Future Work

The authors note several limitations in their current framework:

  • They evaluate only one specific implementation per paradigm family rather than optimizing the entire prompt or search budget space.
  • Tool access is inherently bundled with the paradigm choice (e.g., ReAct uses tools, CoT does not) rather than being fully orthogonalized.
  • The router was trained on a modest dataset of roughly 400 tasks per model; larger training sets would likely yield better classification accuracy.

For future work, the authors suggest fine-tuning smaller open-source language models to act as specialized paradigm routers, optimizing for multi-objective trade-offs (balancing accuracy directly against token cost), and developing adaptive strategies that can dynamically shift or escalate paradigms mid-task.

Summary updated

BibTeX
@misc{zhou2026select,
  author = {Heng Zhou and Zelin Tan and Zhemeng Zhang and Yutao Fan and Yibing Lin and Li Kang and Xiufeng Song and Rui Li and Songtao Huang and Ao Yu and Yuchen Fan and Yanxu Chen and Kaixin Xu and Xiaohong Liu and Yiran Qin and Philip Torr and Chen Zhang and Zhenfei Yin},
  title = {{Select-then-Solve: Paradigm Routing as Inference-Time Optimization for LLM Agents}},
  year = {2026},
  eprint = {2604.06753},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.06753},
}
Figure