AdaFuse: Adaptive Ensemble Decoding with Test-Time Scaling for LLMs

Chengming Cui, Tianxin Wei, Ziyi Chen, Ruizhong Qiu, Zhichen Zeng, Zhining Liu, Xuying Ning, Duo Zhou, Jingrui HearXiv 2026

TL;DR

AdaFuse is an innovative inference-time ensembling framework for large language models (LLMs) that dynamically adjusts its fusion granularity at natural word boundaries based on model confidence. By combining confidence-guided decoding with diversity-aware test-time scaling, AdaFuse allows multiple models to collaborate flexibly on the fly, achieving a 6.88% average relative performance boost over strong baselines without requiring any retraining.

What Problem Does This Paper Address?

Inference-time ensembling combines the strengths of multiple LLMs to improve robustness and accuracy. However, existing methods are held back by rigid fusion granularities:

  • Sample-level approaches merge entire responses at the very end, missing the chance to correct errors mid-generation.
  • Token-level approaches merge distributions at every single step, which incurs massive computational overhead and struggles when models use completely different tokenizers.
  • Span-level approaches use fixed or predefined chunk sizes, which lack the flexibility to adapt to changing context or uncertainty.

AdaFuse addresses this gap by introducing an adaptive, word-level ensembling framework. Instead of committing to a fixed chunk size, it dynamically decides when to trust a model's independent generation and when to pause, explore alternative paths, and fuse predictions from the ensemble.

Methods

Figure 1: Illustration of the ADAFUSE framework. AdaFuse ensembles multiple LLMs during decoding by dynamically adjusting fusion behavior. It expands in confident decoding states and applies diversity-aware scaling under uncertainty. Candidate word sequences are unified and selected using NLL scores, enabling adaptive and stable generation.

The AdaFuse architecture consists of three core components operating at natural word boundaries:

  1. Candidate Word Proposal: Models generate tokens sequentially until they hit a whitespace character, ensuring that complete words—rather than fragmented tokens—serve as the fundamental unit of alignment.
  2. Adaptive Word Commitment: To balance efficiency and accuracy, AdaFuse uses a "Start-of-Word Confidence" metric (the probability margin between the top-1 and top-2 tokens). If the model is confident, it continues greedy generation for up to $M=3$ words. If confidence drops below a threshold ($\tau_\Delta = 0.7$), generation halts for ensemble re-scoring.
  3. Diversity-Aware Ensemble Scaling: When uncertainty triggers a halt, AdaFuse initiates a two-stage search. It explores the top-$B$ initial tokens (branching factor) and greedily extends them into full candidate words. These diverse options are then pooled and evaluated across all models using an average normalized negative log-likelihood (NLL) score to select the best path.

Datasets

The authors evaluated AdaFuse across six prominent benchmarks spanning three distinct task types:

  • Knowledge-Intensive QA: NaturalQuestions (NQ), SQuAD, and TriviaQA (all evaluated using 5-shot exact match accuracy).
  • Arithmetic Reasoning: GSM8K (grade-school math problems evaluated using 4-shot chain-of-thought prompting).
  • Machine Translation: FLores English-to-German (En$\rightarrow$De) and German-to-English (De$\rightarrow$En) datasets (0-shot evaluation using spBLEU).

The base models included LLaMA-3.1-8B-Instruct, Mistral-7B-Instruct-v0.3, Qwen3-8B, and InternLM3-8B-Instruct.

Key Insights and Ideas

  • Words as the Universal Interface: Using words instead of tokens elegantly bypasses the nightmare of heterogeneous tokenizer alignment without resorting to computationally heavy byte-level processing.
  • Fixed Granularity Fragments Meaning: Rigid span lengths often break apart semantically cohesive units like named entities. As shown in Figure 3, a fixed 1-word strategy splits "Kelly Reno" and leads the ensemble to an incorrect answer, whereas AdaFuse's adaptive length preserves the full entity.
Figure 3: A Qualitative Example from Natural Ques- tions: Fixed-Length Decoding vs. ADAFUSE
  • Targeted Test-Time Scaling: Uniformly scaling up candidate generation at every step wastes compute. AdaFuse demonstrates that scaling is most effective when restricted to moments of high model uncertainty, acting as a dynamic computational safety net.

Key Results

  • Superior Performance: AdaFuse consistently outperformed all baselines (including LLM-Blender, DeepEn, SweetSpan, and UniTE), achieving an average relative improvement of 6.88% across the six benchmarks.
  • Task Adaptation: The framework automatically adjusts its behavior based on the task. On open-domain QA (NQ), it generates single words 80% of the time due to high precision requirements, whereas on translation tasks, it safely commits 3-word chunks in 46% of its decoding rounds.
  • Practical Efficiency: Despite performing multi-model scoring, AdaFuse achieves wall-clock runtimes comparable to lightweight token-level methods (like UniTE) and is significantly faster than traditional span-level or dense vocabulary projection methods.

Limitations and Future Work

The primary limitation of AdaFuse is its reliance on white-box model access. Because it requires token-level likelihoods (logits) and tokenizer outputs to compute confidence margins and NLL scores, it cannot be directly applied to closed-source, black-box LLM APIs (such as OpenAI's GPT-4 or Anthropic's Claude) without logit access.

The authors note that adapting this confidence-guided framework to work within the constraints of restricted API interfaces remains an open and promising direction for future research.

Summary updated

BibTeX
@misc{cui2026adafuse,
  author = {Chengming Cui and Tianxin Wei and Ziyi Chen and Ruizhong Qiu and Zhichen Zeng and Zhining Liu and Xuying Ning and Duo Zhou and Jingrui He},
  title = {{AdaFuse: Adaptive Ensemble Decoding with Test-Time Scaling for LLMs}},
  year = {2026},
  eprint = {2601.06022},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2601.06022},
}
Figure