Ensembling two or more large language models often helps on hard reasoning. In SAFE's three-model setup, accuracy on the MATH500 competition-math benchmark rose from 59.6% to 77.6%. The cost is that every participating model runs on every token and keeps its own key-value cache: the per-request memory where a transformer stores past attention states so it does not recompute them. That cache grows with sequence length and batch size. For long reasoning traces served to many users at once, the per-request caches, not the weights, are what limit how many requests fit on a GPU. Yet the evidence suggests the second model rarely changes anything. SAFE reports that ensemble models agree on over 95% of tokens in math. Divergence Decoding finds that about 77% of its corrections happen in the first quarter of a response.
This note proposes running the second model, and holding its cache, only where it is predicted to change the output. The prediction comes from the first model's own next-token distribution, before the second model is consulted. "Changes the output" is measured in a specific way: the information the budgeted system loses relative to the full ensemble at each token, which is a sequence-level version of what ensemble theory calls combination loss. If the losses are both concentrated and predictable from one model alone, the second model's cache can be evicted for most of the generation and rebuilt on demand. Most of the ensemble's accuracy would then be kept at a fraction of its per-request memory.
Core Claim
The claim has three parts. First, in a two-model heterogeneous ensemble, a primary model $A$ and a consulted model $B$, the per-token divergence between $A$'s distribution and the dense ensemble's distribution is heavy-tailed: a small fraction of positions carries most of it. Second, a small probe that reads only $A$'s distribution can predict which positions those are. The probe uses entropy, the top-two margin and the shape of the runner-up mass, following Useful Confidence Measures: Beyond the Max Score, which shows that the max score alone hides multi-class hesitation. Third, a serving policy that consults $B$ only at predicted high-divergence positions, and decides when $B$'s cache is kept, dropped or rebuilt, matches dense-ensemble accuracy within a small margin. It should do so at much lower per-request memory and therefore at higher throughput for a fixed GPU budget.
The quantity being controlled has a clean form. Let $p_E(\cdot\mid x_{<t})$ be the dense ensemble's next-token distribution, as produced losslessly by Speculative Ensemble. Let $q(\cdot\mid x_{<t})$ be what the budgeted system actually samples from: $p_E$ when $B$ is consulted and $p_A$ otherwise. By the chain rule of KL divergence, the divergence between the two systems' full output sequences is
$$ \mathrm{KL}(P_E \,\|\, Q) = \mathbb{E}_{x\sim P_E}\Big[\sum_{t} \mathbb{1}[\text{skip}_t]\;\mathrm{KL}\big(p_E(\cdot\mid x_{<t}) \,\|\, p_A(\cdot\mid x_{<t})\big)\Big]. $$
Here $\mathbb{1}[\text{skip}_t]$ indicates that $B$ was not consulted at step $t$. The sequence-level loss is therefore exactly the sum of per-token losses at skipped positions. Under a budget on how often $B$ is consulted, the best policy skips the positions with the smallest per-token KL. We call that per-token KL the token-level combination loss. It does not reproduce the classification-only term of Rethinking Fano's Inequality in Ensemble Learning, which decomposes ensemble strength into relevance, redundancy and combination loss and shows that the combination-loss term is what makes error bounds track reality (Pearson 0.984 versus −0.238 without it). Instead, it extends the same idea to autoregressive generation, an extension that paper leaves open.
Research Program
The work has three components.
The first is measurement. On calibration prompts we run the dense ensemble and log, at every position, the per-token KL above along with $A$'s distribution features. This tells us how concentrated the loss actually is, how its concentration varies across math, code and science, and whether it clusters in time as Divergence Decoding's early-correction finding suggests. It also gives the training targets for the probe. If the loss turns out to be spread evenly, the project stops here with a useful negative result: no single-model signal can save memory without losing quality.
The second is the predictor. A small regressor (a two-layer network on roughly 20 features of $p_A$, plus $A$'s last hidden state as an optional input) predicts the per-token KL. It is trained once per model pair on calibration data. Its key property is that it never needs $B$'s forward pass at decision time. That property separates it from SAFE, When to Ensemble, where verifier models must score the lookahead to detect lack of consensus. It also separates it from Divergence Decoding, which computes a Jensen-Shannon divergence between both models' distributions on every block. Both methods detect disagreement after paying for it; the probe tries to anticipate it.
The third is the cache policy. When the probe fires, $B$ needs its cache for the current prefix. The scheduler chooses among three options: keep $B$'s cache resident, evict it, or rebuild it by chunked prefill, which runs $B$ in parallel over the prefix. Prefill is compute-bound and fast relative to token-by-token decoding, so occasional rebuilds are cheaper than permanent residency whenever consultations are sparse and clustered. The policy keeps $B$'s cache while the probe's recent firing rate is high. It evicts after a quiet window and rebuilds on the next firing, under a per-GPU memory cap shared across the batch. For heterogeneous tokenizers we reuse SAFE's token-boundary alignment, consulting $B$ only at aligned boundaries; this method supplies that machinery rather than replacing it.
The scope is deliberately limited. $B$'s weights stay resident; the savings are in per-request cache memory and in $B$'s decoding compute. We think this is the regime that matters for batch serving of long reasoning traces. An exploratory variant that offloads $B$'s weights entirely is noted but not claimed.
Baselines
The naive reference point is model $A$ alone at the same serving configuration. It costs nothing extra, and every other system must justify its memory relative to it. In the Divergence Decoding setting, the generalist alone scores 52.63% on GPQA-Diamond biology against 63.16% for the fused pair. That gap is what we aim to keep.
The quality ceiling is the dense ensemble, run through Speculative Ensemble. It produces exactly the averaged ensemble distribution and is reported to be 1.34x–1.85x faster than plain dense ensembling, but it keeps all caches resident throughout. It defines the target $P_E$, so our sequence-level KL is measured against it.
The strongest existing competitor is SAFE. It is the only method in the file that already exploits the sparsity of useful ensembling, and it reports 77.6% on MATH500 with InternLM3-8B, Qwen2.5-7B and EXAONE-3.5-7.8B, against 59.6% for the UniTE baseline. We run SAFE's released configuration on the same model trio, adapted to a primary-plus-consulted setup, and also in its native three-model form. The settings are matched: same prompts, decoding temperature, hardware and memory cap, with SAFE's thresholds tuned on the same calibration split under the same tuning budget we give our probe. Beating SAFE means matching its MATH500 accuracy within one point while serving a larger concurrent batch, or showing higher throughput, under the same VRAM cap. Matching it on accuracy at equal memory would not count.
Divergence Decoding is the second competitor, on GPQA-Diamond and ChemCoTBench with its ChemDFM-R plus R1-Distill-Qwen pair. Its threshold τ is retuned under the same budget as our probe.
Three ablations isolate the key ingredient, which is predicting the loss from $A$ alone. The fixed-schedule ablation keeps $B$ for the first 25% of tokens and then drops it, directly encoding the Divergence Decoding observation. The entropy-threshold ablation fires on $A$'s entropy alone with no learned probe. The rate-matched random ablation consults $B$ at random positions at the same rate. An oracle that uses the true per-token KL gives the upper bound on any single-model predictor at a given consultation rate.
Why not just…?
Why not just merge the weights into one model? Weight merging removes all multi-model overhead. However, Fusing Highly Specialized Language Models for Comprehensive Expertise reports that averaging specialist weights causes mutual weakening, while token-level fusion keeps or exceeds specialist scores: 53.03 on HumanEval against 48.78 for CodeLlama-13B. Merging is also impossible for the heterogeneous architectures and tokenizers studied here. We include merging only where a same-family pair permits it.
Why not just distill the ensemble into one model offline? InfiFPO does this through preference optimization. It raises Phi-4's 11-benchmark average from 79.95 to 83.33 with zero inference overhead, at about 55 GPU hours. This is a real threat when the model set is fixed. Our method requires no retraining of either model, and swapping $B$ for a new expert costs only a probe retrain. We will report the InfiFPO-style numbers as a reference and state plainly that if offline fusion matches our accuracy, our case rests only on flexibility.
Why not just run a single larger model in the same memory? This is the most serious objection, and the file contains no reported equal-memory comparison between ensembles and single larger models (no reported result found on Lacuna for this). We therefore add an equal-VRAM single model, for example a 14B model against two 7–8B models, measured on accuracy and throughput. If it wins, the conclusion is that ensembles are not worth their memory at this scale, and we will report that.
Why not just quantize both models and keep the dense ensemble? No reported result found on Lacuna for quantized LLM ensembles. Quantization stacks with our method rather than competing with it, so we run 4-bit dense ensembling both alone and combined with our policy. The question is whether consultation sparsity buys memory beyond what quantization already gives.
Why not just use the fixed 25% schedule? If the corrections Divergence Decoding observed really are front-loaded, this schedule may be nearly as good as a learned probe. It is our primary ablation. The probe earns its place only if it beats the schedule clearly on problems whose hard steps occur late, such as multi-part MATH500 items and long code, at matched consultation rate.
Proposed Experiments
The decisive first check is the concentration curve. On MATH500, GSM8K, HumanEval and GPQA-Diamond, we plot the fraction of total sequence KL captured against the fraction of positions consulted, for the oracle, the probe, entropy and random selection. The project continues only if the oracle captures most of the loss at a small consultation rate and the probe comes reasonably close to it.
The main experiment fixes a VRAM cap and long-generation budgets. It reports, for every system in the Baselines section:
- task accuracy;
- sequence KL to the dense ensemble, estimated on sampled trajectories;
- peak per-request KV memory;
- maximum concurrent batch;
- throughput in tokens per second;
- $B$'s consultation and rebuild rates.
A cross-pair transfer test trains the probe on one pair and applies it to a new $B$. This checks whether the probe is a property of $A$'s uncertainty rather than of the specific pair, which is something DIVERSED's learned RL ensemble head (DIVERSED) is noted to lack.
Finally, we compute the answer-level relevance, redundancy and combination-loss decomposition of Rethinking Fano's Inequality in Ensemble Learning for the dense and budgeted systems. The test is whether accuracy lost by budgeting appears in the combination-loss term, and whether summed token-level KL predicts it.
The idea is falsified if any of the following holds at matched memory: the probe does not beat the fixed schedule on late-difficulty problems; accuracy drops more than a point below SAFE; or an equal-memory single model dominates.
References
- Useful Confidence Measures: Beyond the Max Score
- Fast Large Language Model Collaborative Decoding via Speculation
- Rethinking Fano's Inequality in Ensemble Learning
- When to Ensemble: Identifying Token-Level Points for Stable and Fast LLM Ensembling
- Divergence Decoding: Training-Free Capability Fusion
- Fusing Highly Specialized Language Models for Comprehensive Expertise
- InfiFPO: Implicit Model Fusion via Preference Optimization in Large Language Models
- DIVERSED: Relaxed Speculative Decoding via Dynamic Ensemble Verification