Confidence Estimation via Decoupled Smoothing for Dynamic LLM Routing and Aggregation

Hao Luo, Ning Cheng, Yuhao Lin, Xiaokai Zhou, Yongqiang Zhang, Xiao Yan, Jiawei JiangNeurIPS 2026

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.

Figure 1: Model confidence estimation via decoupled smoothing. PARS aligns semantic embed- dings with model-correctness supervision, smooths the resulting performance signals over query and model relations, and estimates model confidence scores for a test query through distance-weighted aggregation over top-k neighbors in the performance-aligned retrieval space.
  1. 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.
  2. 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.
Figure 2: Test-time compute allocation for dynamic inference. PARS extracts confidence features from the estimated model scores, learns a lightweight selector from oracle-labeled training actions, and adaptively chooses a single-model or multi-model inference action at test time.

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).
Figure 3: Inference cost.

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

Abstract

The rapid emergence of heterogeneous large language models (LLMs) has highlighted the limitations of static single-model inference systems. Although model routing alleviates this issue by assigning the most suitable model to each query, existing methods often struggle to stably align query semantics with actual model performance and remain constrained by the capability ceiling of a single model. On the other hand, although multi-model aggregation can improve performance on complex queries, it also introduces extremely high computational overhead for routine tasks. In this paper, we propose PARS, a model confidence estimation method for dynamic LLM routing and aggregation. PARS first decouples the feature representation space and applies structured smoothing to local performance signals, producing more discriminative confidence score estimates for candidate models. On this basis, PARS represents inference modes such as direct routing, self-consistency sampling, and multi-model voting as test-time compute allocation actions under a budget constraint. By extracting state features such as routing confidence distributions and predictive uncertainty, a lightweight selector adaptively assigns an inference strategy to each query. Extensive experiments show that PARS improves average accuracy over the best baselines by 1.02% and 1.36% in the single-model and multi-model settings, respectively, while reducing average inference cost by 1.73x and exhibiting stable out-of-distribution generalization.
BibTeX
@inproceedings{luo2026confidence,
  author = {Hao Luo and Ning Cheng and Yuhao Lin and Xiaokai Zhou and Yongqiang Zhang and Xiao Yan and Jiawei Jiang},
  title = {{Confidence Estimation via Decoupled Smoothing for Dynamic LLM Routing and Aggregation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=xvl4oRu74P},
}

Loading related content...

Figure