Apply to my task
arXiv:2604.06753 ★ 87 Apr 8, 2026

Select-then-Solve: Your Choice of Reasoning Strategy Shapes LLM Answer Quality — Sometimes More Than the Model Itself

Key result

“Think step by step” — the command people paste into every other prompt — drags down quality on coding tasks. Doesn’t improve it. Drags it down. Select-then-Solve lets you pick the right thinking mode for each task before you start solving. The trick: the mode isn’t prompt decoration — it’s choosing the architecture of the solution. The right choice adds +44 percentage points of accuracy. The wrong one takes away −15.

01

TL;DR

The strategy (paradigm) you use with an LLM — “think step by step,” “plan first,” “critique and improve” — affects the result dramatically: the right choice adds +44 percentage points of accuracy, the wrong one takes away −15. This isn’t a prompt detail; it’s choosing the thinking mode you set for the model.

The key finding: no single strategy wins everywhere. ChainofThought (“think step by step”) — one of the most popular commands in prompts — flat-out hurts when writing code: step-by-step reasoning breaks the program’s logic. And elaborate planning with critique on simple factual questions just adds extra tokens with no quality gain. Strong models already know how to reason on their own — extra instructions hold them back rather than help.

The researchers showed that if you pick the right strategy before each task, accuracy rises by 17 percentage points on average compared with a fixed choice. That’s Select-then-Solve — pick the mode first, then solve.

Want this for your own case? Apply this study to your task: AI adapts its method to what you are working on and writes the prompt.

02

Method Blueprint

STEP 1: Classify the task → type (code / search / analysis / knowledge)
         ↓
STEP 2: Pick a strategy from the matching table
         ↓
STEP 3: Open/create a prompt in that mode → ask your question
         ↓
STEP 4: Get the answer

All in one chat. The key choice is STEP 2, before you send the task.

Strategy selection map (extractable):

Task type Best strategy What to write in the prompt
Write code Direct — just ask Nothing extra; don’t add “think step by step”
Gather information / research ReAct / Plan-Execute “Find first, then reason” or “draw up a search plan”
Multi-step task with tools Plan-Execute “First break it down into steps, then execute each one”
Factual question / knowledge Direct Just ask
Hard math / computation-heavy task ReCode “Solve it with code” (if an interpreter is available)
Improving text / revision Reflection “Write → critique → improve”
03

Example in Action

⚠️ Where the method shines: tasks where people habitually add CoT (“think step by step”) even though the task doesn’t need it or actively suffers from it.


Task: You run a Discord bot for your online course. You ask Claude to write a Python script that pulls the list of participants from Google Sheets and sends each of them a welcome message via the API. Out of habit you add to the start of the prompt: “Think step by step before writing the code.”

What to do instead (according to the study):

Write a Python script that:
— Reads the participant list from Google Sheets (gspread)
— Sends each participant a welcome message via the Discord Bot API
— Handles errors: what if a user has blocked the bot

Use async if it speeds things up.
Return finished, working code.

DON’T add: “Think step by step,” “Explain your solution,” “Break the task into parts.”

Result: The model returns clean, working code with no extra reasoning. According to the study, adding CoT to coding tasks lowers code quality — the model starts “explaining” instead of “writing,” which wrecks the program’s syntax and structure.


Task 2 (Plan-Execute): You need a competitive analysis of three food delivery services in Chicago: DoorDash, Uber Eats, Grubhub. Prices, speed, coverage areas, reviews.

Prompt:

Task: competitive analysis of food delivery services in Chicago 
(DoorDash, Uber Eats, Grubhub).

Step 1 — Draw up an analysis plan: which criteria, in what order, 
what needs to be found for each service.

Step 2 — Execute each item of the plan in sequence.

Step 3 — Pull the results together into a comparison table.

Don't move on to step 2 until the plan is ready.

Result: The model first lays out the structure of the analysis (criteria, logic), then fills it in for each player, and finishes with a table. Plan-Execute wins here because the task is multi-step and requires accumulating information rather than a free-form answer.

04

Why It Works

An LLM isn’t a universal thinker — it’s a pattern matcher. When you add “think step by step,” the model literally starts generating text in a “step-by-step reasoning” format. For math that helps — the structure pulls out the right patterns. For code it gets in the way: step-by-step explanations break the program’s syntactic integrity.

Strong models already reason internally. GPT-4o and Claude Sonnet apply internal mechanisms to a simple question like “capital of France?” — without your command. By adding “think step by step,” you’re not improving the process, you’re adding noise to the output. CoT helps weak models: +46 percentage points on knowledge tasks. For strong ones it’s neutral or harmful.

Strategy control knobs in your prompt:

  • 🔧 Remove “think step by step” from coding tasks → cleaner code, less “explaining instead of solving”
  • 🔧 Add “draw up a plan first” → activates Plan-Execute, helps on multi-step research tasks
  • 🔧 Add “write an answer → find the weak spots → improve” → activates Reflection, good for texts and analysis
  • 🔧 Add nothing → Direct — often wins on factual questions even with strong models
  • 🔧 Don’t ask the model to pick a strategy → self-routing only works for GPT-5; for the rest it lowers the result (see Limitations)
05

Prompt Template

A universal “strategy selection” template to use before kicking off a task:

Task: {task description}

Solving mode: {pick one}
— [DIRECT] just give the answer
— [COT] think step by step before answering  
— [PLAN-EXECUTE] first break it down into steps, then execute each one
— [REFLECTION] write a draft → find the weak spots → improve
— [RECODE] solve it with code and run it

Chosen mode: {your choice from the table above}

{the task itself}

Placeholders: - {task description} — one sentence about what you need - {pick one} — delete the modes you don’t need, keep one - {your choice} — the mode name from the table


🚀 Quick start — paste into the chat:

Here is the Select-then-Solve template. 
Adapt it to my task: {your task}.
Ask me questions to fill in the fields.

[paste the template above]

The LLM will ask what type of task it is, what result you expect and whether there are format constraints — because picking the right mode requires understanding the nature of the task (code/search/analysis/text). It will take the right mode from the template and build a working prompt.

06

Limitations

⚠️ Self-selection doesn’t work: Don’t ask the model to pick a strategy on its own — that only works reliably for the very strongest models. Mid-tier models doing self-routing drop below the baseline (worse than just asking directly). Pick the strategy yourself from the table.

⚠️ ReAct needs tools: The “find information — reason — act” strategy only works if the model has access to search or tools. In basic ChatGPT/Claude without plugins it can’t be used at full strength.

⚠️ The table isn’t gospel: These are task-level statistics. Your specific task may be an exception. If CoT gives a better result on code, trust the result, not the table.

⚠️ Ceiling effect: Some tasks (complex agentic scenarios like τ-bench) stay hard under any strategy. Switching paradigms doesn’t substitute for the model’s capabilities.

⚠️ Model-dependent: The weaker the model, the more a complex strategy (CoT, Reflection) helps. The stronger the model, the more often plain Direct wins. Tune your choice to the specific model.

07

How They Tested It

The team set out to ask a simple but awkward question: if you take the same model and wrap it in different strategies — which one wins? And on which tasks?

They built a unified framework, PARADIGM, where all six strategies work with the same tools, the same interface and the same evaluation code — only the reasoning logic changes. Then they ran four top models (GPT-5, Gemini-3-Flash, Qwen3-Max, Qwen3-30B) through ten benchmarks — code, math, search, knowledge, agentic tasks. Total: ~18,000 runs.

The big surprise — how stable the pattern is. Even though GPT-5 solves AIME at 90% and Qwen3-30B at 11%, the ranking of strategies stays the same across all models. ReAct wins on GAIA for all four models. ReCode is best on HumanEval for all of them. Direct or CoT win on MMLU for all of them. That means: the task, not the model, determines the best strategy. The results aren’t specific to GPT-5 — they transfer.

Another non-trivial result — the self-routing test. The researchers asked: what if you just ask the model to pick its own strategy? It turns out this works only for GPT-5 (67.1% vs 62.4% for Direct). All the other models drop below the baseline with self-routing. That’s unexpected: it takes a separate “meta-ability” to understand how you think — and most models don’t have it.

08

Adaptations and Extrapolations

🔧 Technique: a personal strategy table for your recurring tasks

If you have recurring task types, build your own map once:

My recurring tasks and strategies:

1. [Write a blog post] → Reflection (draft → critique → final)
2. [Fix a bug in the code] → Direct (no CoT!)  
3. [Put together a competitive analysis] → Plan-Execute
4. [Answer a tough client question] → CoT (if I don't know the answer right away)
5. [Learn a new topic] → CoT + Direct, alternating

Save this in your system prompt or as a note next to the chat.

🔧 Technique: Reflection mode for improving any text

The study showed that Reflection (critique + revision) works consistently on tasks with an open-ended quality bar. In a chat:

DRAFT: {your text, or ask it to write one}

Now:
1. Find 3 weak spots in this text
2. Suggest specific improvements for each
3. Write the final version incorporating the edits
09

Resources

Select-then-Solve: Paradigm Routing as Inference-Time Optimization for LLM Agents Heng Zhou, Zelin Tan, Zhemeng Zhang et al. (Preprint, under review)

Research digest

Key result

“Think step by step” — the command people paste into every other prompt — drags down quality on coding tasks. Doesn’t improve it. Drags it down. Select-then-Solve lets you pick the right thinking mode for each task before you start solving. The trick: the mode isn’t prompt decoration — it’s choosing the architecture of the solution. The right choice adds +44 percentage points of accuracy. The wrong one takes away −15.

Principle

The selection map is simple. Code → a direct request with no “step by step,” just ask for it. Multi-step research → “break it down first, then execute.” Improving text → “write → find the weak spots → redo.” A factual question to a strong model → also a direct request, nothing extra. A strong model already reasons internally. “Step by step” doesn’t help — it adds noise to the output, not depth. The weaker the model, the more it needs explicit instructions. The stronger it is, the more often a plain direct request wins.

Why it works

An LLM is a pattern matcher, not a thinker. “Think step by step” literally switches the model into explanation-generating mode. For math that helps — the structure pulls out the right patterns. For code it’s a different story. Explanations tear apart the program’s syntactic integrity: the model starts “describing the solution” instead of writing it. For weak models, step-by-step reasoning adds +46 percentage points on knowledge questions. For strong ones it’s neutral or worse. The average gain from choosing the right mode in the study was 17 percentage points across all tasks.

When to apply

Any work with LLMs — for choosing a thinking mode before each request. Especially when the habit of adding “think step by step” automatically spills over into coding and simple questions. NOT suitable for self-routing: don’t ask the model to choose a strategy on its own. Mid-tier models making that choice sink below the baseline — worse than a plain direct request with no strategy at all.

Mini recipe

1. Identify the task type: code, search and analysis, improving text, or a factual question? 2. Pick a mode from the map: — Code → direct request (no “step by step,” just the task and requirements) — Multi-step research → “first break it down into steps, then execute each one” — Improving text → “write a draft → find the weak spots → improve” — Simple facts with a strong model → direct request, no hints — Hard math with interpreter access → “solve it with code and run it” 3. Write the chosen mode into the prompt explicitly: one line before the task 4. Make the choice yourself: don’t delegate it to the model — it will choose worse than you will with the map

Examples

[BAD]: `Think step by step. Write a Python script that reads a list from Google Sheets and sends messages via the Discord Bot API` [GOOD]: `Write a Python script that: — Reads the participant list from Google Sheets (gspread) — Sends each participant a welcome message via the Discord Bot API — Handles the error if a user has blocked the bot Use async where it speeds things up. Return working code.` No “step by step” — the model writes code instead of explaining it. According to the study, adding step-by-step reasoning to coding tasks lowers quality: the explanations break the program’s syntax.

In plain words

Here’s the thing: today’s models aren’t a monolithic intelligence but a huge set of “thinking modes.” When you ask a model to do something, it doesn’t just spit out an answer — it adapts to the structure you set: it either writes code right away, builds a plan first, or starts plodding through step-by-step reasoning. The problem is that picking the wrong paradigm kills the result outright. Force a model to “think step by step” where it just needs to produce clean syntax, and it starts tripping over its own reasoning and outputs garbage.

It’s like making a professional race car driver narrate every turn of the wheel out loud mid-race. Technically he’s doing the same job, but his concentration slips, the pace drops, and he ends up in the wall. In programming or simple logic tasks, a model’s extra chatter is informational noise that breaks the logic and causes errors where there shouldn’t be any. The Select-then-Solve method is all about picking the “gear” first and only then hitting the gas.

The researchers proved that choosing the right mode delivers a whopping gain of 44 percentage points of accuracy, while picking the wrong paradigm bites 15% off baseline quality. It works through paradigm routing: the system first analyzes the incoming request and decides which pattern fits — classic Chain-of-Thought (reasoning), Plan-and-Solve (planning) or a direct answer. This isn’t just prompt tuning; it’s full-blown inference-time optimization that keeps the model from going off the rails.

Although the method was tested on hard tasks and coding, the principle is universal for any interaction with AI. We’re used to stuffing “think step-by-step” into every prompt like it’s a magic pill, but in practice it often acts as a brake on the system. If the task calls for rigid structure or brevity, extra deliberation only confuses the model. Knowing when to “switch the brain on” and when to just “execute the command” is the new level of working with agents.

Bottom line: stop believing in universal prompts that cure everything. The future belongs to systems that figure out on their own which thinking mode a given request needs. If you make the model reason where it should just act, you’re sabotaging the result with your own hands. On-the-fly paradigm optimization is the only way to squeeze the most out of an LLM without turning it into a hallucinating philosopher.

AI lab assistant

Apply this study to your task

Describe what you're working on. AI takes the method and the measured results from this paper and adapts them to your case, or writes a ready prompt built on them.

Based on Select-then-Solve: Your Choice of Reasoning Strategy Shapes LLM Answer Quality — Sometimes More Than the Model Itself arXiv:2604.06753

Sign in to apply this study New accounts get 50 free credits.