TL;DR
When you have a pool of 20 different LLMs, you don't want to consult a full committee of models just to answer a simple trivia question—nor do you want to trust a single model with a gnarly coding bug. This paper introduces PARS, a system that accurately predicts how confident each model should be on a given prompt before generating a single token. Using these confidence scores, PARS dynamically allocates test-time compute, routing easy queries to a single specialist and assembling multi-model voting teams only when a problem genuinely requires backup.
What Problem Does This Paper Address?
No single Large Language Model rules them all; some excel at symbolic math, others at Python, and others at factual recall. To exploit this diversity, engineers generally rely on one of two strategies: routing (picking the single best model for a prompt) or aggregation (polling multiple models and combining their answers).
Both have a catch. Routing hits a hard ceiling when a query is simply too tough for any single model, while aggregation burns through massive compute budgets on routine tasks. Recent hybrid approaches try to switch dynamically between the two, but usually after multiple models have already generated responses—defeating the cost-saving purpose.
To decide before generation, a router needs to predict how well each model will perform on a new query. Standard routers do this by looking up semantically similar past queries using pretrained text embeddings. The flaw? Two prompts about "Python" might sit right next to each other in semantic space, even if one asks for basic syntax and the other requires complex dynamic programming. Surface-level topical similarity doesn't equal capability similarity.
Methods
PARS solves this in two stages: first fixing the confidence estimation space, then using those calibrated scores to budget compute.
- Decoupled Smoothing for Confidence Estimation: Instead of relying on raw text embeddings (
gte-Qwen2-7B-instruct), PARS nudges the embedding space so that neighborhoods reflect model performance patterns rather than just topic similarity. Using Partial Least Squares (PLS) weighted heavily toward historical queries where models disagreed, it learns a performance-aligned subspace. Because historical pass/fail labels are binary and noisy, PARS applies two-way offline graph smoothing—sharing statistical strength across similar training queries (inter-query) and similarly behaving models (inter-model). At test time, a quick $k$-nearest-neighbor lookup in this aligned space yields a reliable confidence vector across all candidate LLMs. - Budget-Aware Compute Allocation: Given a budget of $B$ model calls (default $B=3$), PARS frames inference as choosing an action: Direct Routing (1 call to the top model), Self-Consistency ($B$ calls to the top model), Heterogeneous Voting (1 call each to the top-$B$ models), or Hybrid Resampling (splitting $B$ calls among top-$K$ models). A lightweight logistic regression selector looks at three simple state features—top-1 confidence, the margin between top-1 and top-2, and overall score entropy—to pick the cheapest action likely to get the right answer.
Datasets
The authors evaluate PARS on LLMRouterBench across a pool of 20 open-source 7B–9B LLMs, spanning five domains (no new benchmarks are introduced):
- 14 In-Distribution (ID) datasets (split 70/30 for train/test): Mathematics (AIME, MATH500, MathBench), Code (LiveCodeBench, MBPP), Logic (BBH, Knights & Knaves, KOR-Bench), Knowledge (FinQA, GPQA, MedQA, MMLU-Pro), and Affective reasoning (EmoryNLP, MELD).
- 5 Out-of-Distribution (OOD) datasets (test-only): LiveMathBench, HumanEval, WinoGrande, ARC-Challenge, and DailyDialog.
Key Insights and Ideas
- Model disagreement is the best teacher: By weighting the PLS projection toward training queries where candidate models disagreed, PARS forces the representation space to separate queries by difficulty and skill requirements, not just topic.
- Confidence margins actually mean something: When queries are ranked by the gap between the #1 and #2 model scores, top-1 accuracy climbs monotonically as you filter for higher margins—proving the score geometry genuinely captures model-selection certainty.
- Difficulty-aware scaling emerges naturally: Without being explicitly told how "hard" a prompt is, PARS uses single-model Direct Routing on 86.0% of easy queries (averaging 1.28 calls), but drops Direct Routing to 36.1% on hard queries (averaging 2.24 calls), automatically calling in multi-model voting when uncertainty spikes.
Key Results
Across 10 strong routing and aggregation baselines (including RouterDC, EmbedLLM, MoA, and JiSi):
- Single-Model Routing: PARS (Single) hits 72.56% average ID accuracy (+1.02% over the best baseline, EmbedLLM) and 77.01% on OOD benchmarks (+1.56% over Avengers).
- Multi-Model Inference: Full PARS achieves 75.19% ID accuracy (+1.36% over JiSi) and 78.28% OOD accuracy (+0.56% over Self-MoA).
- Efficiency: While beating multi-model baselines on accuracy, PARS slashes inference overhead by 1.73x, averaging just 1.7 model calls and 8.2k tokens per query—roughly half the token footprint of MoA (17.2k) or Symbolic-MoE (16.0k).
Limitations and Future Work
- Coarse cost proxy: PARS treats every "model call" as an equal unit of budget. Because all tested models were in the 7B–9B range, this works well enough, but real-world deployments mixing 7B models with massive frontier APIs will need to account for variable token lengths and per-model pricing.
- Fixed action menu: The selector chooses from four predefined voting/sampling templates. Expanding the action space to include richer, iterative collaboration—like multi-turn debate or generative synthesis—is left for future exploration.
Summary updated