Pick cheaper or stronger solvers per question to cut inference cost while keeping or improving reasoning accuracy.

October 1, 20237 min

Overview

Decision SnapshotReady For Pilot

The idea is practical: build a short solver pipeline via a small validation set, use a consistency metric to stop, and route to stronger solvers only when needed; experiments on public datasets back the cost and accuracy claims.

Citations1

Evidence Strength0.80

Confidence0.80

Risk Signals9

Trust Signals

Findings with numeric evidence: 5/5

Findings with evidence refs: 5/5

Results with explicit delta: 3/5

Reproducibility

Status: Code + data available

Open source: Yes

At A Glance

Cost impact: 80%

Production readiness: 70%

Novelty: 60%

Authors

Jianpeng Zhou, Wanjun Zhong, Yanlin Wang, Jiahai Wang

Links

Abstract / PDF / Code / Data

Why It Matters For Business

Adaptive per-question solver selection cuts cloud API bills and lets teams trade a small latency increase for big cost or accuracy gains on reasoning workloads.

Who Should Care

Summary TLDR

This paper introduces Adaptive-Solver (AS), a runtime framework that inspects an LLM's answer quality and, when needed, adapts the solving strategy (model, sample size, prompt, decomposition granularity). On eight reasoning datasets the method cuts API cost vs always-using GPT-4 by 46–85% while matching GPT-4 accuracy, or it raises accuracy by ≈4.5% at equal cost. The system uses a small validation set to build a short pipeline of solvers and a consistency-based stopping rule to avoid extra calls.

Problem Statement

Most LLM reasoning systems use one fixed solver (same model, prompt, sample size, decomposition) for all problems. That wastes budget on easy items and under-solves hard ones. The paper asks: can we dynamically allocate test-time compute—switching models, sample sizes, prompts, and decomposition—per question to reduce cost and improve accuracy?

Main Contribution

Adaptive-Solver (AS) framework: runtime evaluation + adaptation that selects solvers per question.

Four concrete adaptation levers: model routing, sample-size scheduling, prompting-method switching, and decomposition-granularity control.

Key Findings

The Adaptive-Solver can cut API costs by a large margin while keeping GPT-4-level accuracy.

Numbers46%–85% cost reduction vs GPT-4

Practical UseUse AS to reduce inference bills substantially on reasoning workloads while preserving accuracy by routing many easy questions to cheaper solvers.

Evidence RefAbstract; Sec 5.2; Fig 6

At the same cost budget, AS improves accuracy over static baselines.

NumbersGSM8K: 92.49% (AS) vs 87.93% (best static) → +4.56%

Practical UseIf your budget is fixed, switching to AS can yield measurable accuracy gains compared to choosing a single solver.

Evidence RefSec 5.2; Fig 6

Results

MetricValueBaselineDeltaSplit / DatasetEvidenceEvidence Ref
API cost reduction vs GPT-446%–85% lower API costAlways use GPT-4evaluated across 8 datasetsAbstract; Sec 5.2; Fig 6Abstract; Sec 5.2; Fig 6
Accuracy92.49% (AS-MSPD)G3.5-10-ZeroCoT 87.93%+4.56%GSM8K testSec 5.2; Fig 6Sec 5.2; Fig 6

What To Try In 7 Days

Run a small validation set (50–200 samples) and cache multiple responses per (model,prompt) pair.

Implement a consistency-based stopping rule (self-consistency) and tune thresholds to your budget.

Build a 2–4 step pipeline: cheap model + small sample → medium prompt/sample → strong model fallback and measure cost/accuracy trade-offs.

Agent Features

Memory
caches validation responses to avoid extra API calls
Planning
automatic pipeline configuration (heuristic search)
Tool Use
uses multiple LLM APIs (model switching)
Frameworks
Adaptive-Solver (AS)
Architectures
pipeline of solvers (sequential routing)

Optimization Features

Token Efficiency
use smaller models and smaller sample sizes where possible
Model Optimization
model routing (cheap→strong fallback)
System Optimization
pre-saved response cache to avoid repeated API calls during pipeline search
Inference Optimization
adaptive sample sizingprompt switchingearly stopping via consistency thresholds

Reproducibility

Code AvailableYes
Data AvailableYes
Open Source StatusYes
LicenseUnknown

Risks & Boundaries

Limitations

Requires a validation set and pre-saved responses to configure pipelines.

Pipeline search needs many cached responses initially; configuration has nontrivial setup cost.

When Not To Use

When strict single-call low latency is required (real-time single-turn APIs).

If you cannot call multiple models or lack access to cheaper model variants.

Failure Modes

Mis-calibrated consistency thresholds cause premature stops or unnecessary fallbacks.

Pipeline overfits the validation set and underperforms on different test distributions.

Core Entities

Models

GPT-4GPT-3.5-turbo

Metrics

AccuracyAPI costinference timeaverage solving roundsconsistency (self-consistency metric)

Datasets

GSM8KSVAMPAQuAAddSubSingleEqMultiArithCSQALLC

Context Entities

Models

GPT-4GPT-3.5-turbo

Metrics

Accuracyrelative API cost

Datasets

GSM8KSVAMP