Papers
Precision on Demand: Escalating Weight Bits at Uncertain Decoding Steps in a Small Local Model
Local decoding typically commits to a single weight precision for an entire generation, so every token costs the same number of bytes regardless of whether that token was easy or hard to predict.

- arXiv
- 2611.14418 · Preprint · not peer-reviewed
- Published
- 2026-11-10
- Authors
- Mohammed Nayeem Khan, Logesh L, Aliyas Ahmad Misri
In plain words
Local decoding typically commits to a single weight precision for an entire generation, so every token costs the same number of bytes regardless of whether that token was easy or hard to predict. The authors test the opposite policy: keep 8-bit weights in storage, run the fast path with a truncated 4-bit version, and only pay for an 8-bit redo when the cheap pass produces an uncertain output distribution.
Key results
- Entropy predicts argmax flips well. Across 36,724 replayed steps, the entropy of the low-precision pass ranked steps where the 4-bit argmax differs from the 8-bit argmax with an AUC of 0.93, indicating a strong ranking signal.
- The gates catch far more flips than chance at a fixed budget. At a 15% escalation budget, the entropy gate catches 78% of argmax flips and the margin gate 94%, compared with the 15% expected from a random gate operating at the same rate.
- Live accuracy differences are suggestive but not conclusive. Over 150 live problems, always using full 8-bit precision scores 64.0% and always using 4 bits scores 55.3%, a gap that falls short of conventional significance (McNemar p = 0.053).
- The gated policy lands between the two extremes at reduced cost. An entropy gate with a 16% escalation rate scores 62.7% while reading 0.87 of the weight bytes consumed by the all-high-precision run.
- The live data cannot statistically separate the gate from either endpoint. The paired difference is -1.3 points against all-high (interval -8.0 to +5.3) and +7.3 points against all-low (interval +0.0 to +14.7, p = 0.080), so the intervals overlap both baselines.
AI summary
Precision on Demand: Escalating Weight Bits at Uncertain Decoding Steps in a Small Local ModelOverview
Research area: Efficient inference for large language models, specifically mixed-precision weight allocation and adaptive per-step compute for local (on-device) decoding.
Technical level: Advanced. The paper assumes familiarity with weight quantization, output-distribution entropy, AUC as a ranking metric, McNemar tests, paired confidence intervals, and KL divergence.
Scope (one sentence): The paper asks whether a small local model can decode most tokens with only the top 4 bits of its 8-bit weights and selectively redo uncertain steps at full 8-bit precision, measuring accuracy on GSM8K against weight bytes read per token.
What This Paper Is About
Local decoding typically commits to a single weight precision for an entire generation, so every token costs the same number of bytes regardless of whether that token was easy or hard to predict. The authors test the opposite policy: keep 8-bit weights in storage, run the fast path with a truncated 4-bit version, and only pay for an 8-bit redo when the cheap pass produces an uncertain output distribution. The goal is to see whether that selective spending recovers most of the high-precision accuracy while reading substantially fewer weight bytes.
Key Contributions
-
A per-step precision-allocation scheme ("precision on demand"). Rather than choosing one precision per model or per generation, the scheme escalates individual decoding steps from a 4-bit truncated pass to an 8-bit pass, driven by the low-precision output distribution itself.
-
Two concrete uncertainty gates. One triggers escalation when the entropy of the low-precision distribution exceeds a threshold; the other uses a small top-two margin (a narrow gap between the two most likely tokens).
-
A cost model based on weight bytes read per token, which lets the authors compare gated decoding against fixed all-high and all-low precision at a common unit of accounting rather than by wall-clock time or parameter count.
-
An empirical audit on Qwen3-0.6B / GSM8K combining a large offline replay study (36,724 steps) with a live evaluation on 150 problems, reported with paired statistics and explicit disclosure of the controls that were not run.
Main Findings
-
Entropy predicts argmax flips well. Across 36,724 replayed steps, the entropy of the low-precision pass ranked steps where the 4-bit argmax differs from the 8-bit argmax with an AUC of 0.93, indicating a strong ranking signal.
-
The gates catch far more flips than chance at a fixed budget. At a 15% escalation budget, the entropy gate catches 78% of argmax flips and the margin gate 94%, compared with the 15% expected from a random gate operating at the same rate. The authors note this random-gate figure is a computed expectation, not an actual run.
-
Live accuracy differences are suggestive but not conclusive. Over 150 live problems, always using full 8-bit precision scores 64.0% and always using 4 bits scores 55.3%, a gap that falls short of conventional significance (McNemar p = 0.053).
-
The gated policy lands between the two extremes at reduced cost. An entropy gate with a 16% escalation rate scores 62.7% while reading 0.87 of the weight bytes consumed by the all-high-precision run.
-
The live data cannot statistically separate the gate from either endpoint. The paired difference is -1.3 points against all-high (interval -8.0 to +5.3) and +7.3 points against all-low (interval +0.0 to +14.7, p = 0.080), so the intervals overlap both baselines.
-
A cost-model comparison favors verified speculation. The abstract reports that "verified speculation" reaches zero KL at similar byte cost under the same cost model; details of that comparison are not given in the abstract.
-
Several planned controls were not executed. A live random gate, a thinking-mode phase rule, a second model, and live KL measurement were all left unrun, which bounds how strongly the live results can be interpreted.
Methodology in Plain English
The authors simulate quantization rather than running specialized low-precision kernels: they store weights at 8 bits and construct a cheaper 4-bit operating point by keeping only the top four bits of each weight. Each decoding step first runs on that cheap version. The system then inspects the resulting next-token probability distribution and asks a simple question: does this look like a step the model is unsure about? Two signals are used. The first is entropy, meaning the distribution is spread across many candidates rather than concentrated on one. The second is the margin between the top two candidates, where a small gap signals a near-tie that low precision could easily break the wrong way. If the step looks uncertain, it is redone at full 8-bit precision and the better answer is kept.
Because the whole point is to spend fewer resources, the authors account for cost as the number of weight bytes read per token, which makes an escalation an explicit, countable expense tied to a higher-precision pass. Evaluation uses the GSM8K math word-problem benchmark with Qwen3-0.6B as the model. The work proceeds in two phases: a large offline replay over tens of thousands of already-recorded decoding steps, which allows measuring how well the uncertainty signals identify steps where the cheap pass would have changed the answer, and a smaller live run of 150 problems where the model is actually decoded under each policy and scored. The live comparison uses paired significance testing (McNemar) and reports paired differences with confidence intervals rather than only point estimates.
Why This Matters
Impact on research. The paper reframes weight precision as something that can be allocated per decoding step rather than fixed per model, and it insists on a cost currency (weight bytes per token) that makes different allocation strategies directly comparable. Its most useful contribution may be methodological honesty: the headline live result is a null, reported with intervals and an explicit list of the controls that were never run, which is a more informative outcome than an over-claimed win.
Real-world applications:
- On-device assistants. Phones and laptops are memory-bandwidth-bound during generation, so reading fewer weight bytes per token translates directly into faster or more feasible local inference.
- Battery- and thermal-limited mobile apps. Reducing bytes moved from memory reduces energy per generated token, which matters for always-available local models.
- Cost-sensitive serving. In batch or high-volume settings, spending high precision only on genuinely ambiguous steps could lower average cost per token without a uniform accuracy penalty.
- Reasoning and math assistants in constrained environments. GSM8K-style multi-step problems are exactly where a small model is most likely to flip an answer under truncation, making them a natural target for selective escalation.
Industry relevance. The central constraint for small local models is memory traffic, not arithmetic, so any scheme that reduces weight bytes read per token attacks the actual bottleneck. A gate that recovers roughly four-fifths of the accuracy gap at a fraction of the bytes, if it holds up statistically, is the kind of knob that could be exposed in on-device inference runtimes.
Future Directions
- Run the missing controls. A live random gate at the same escalation rate, a second model, and live KL measurement would establish whether the gate beats chance and beats the low-precision baseline on real decodes rather than only in replay.
- Resolve the live statistics with more problems. The reported intervals span both baselines on 150 problems, so a larger live evaluation is needed before any accuracy claim can be made.
- Test the thinking-mode phase rule. The abstract lists this as planned but unrun, leaving open whether escalation should be scheduled by generation phase rather than by per-step uncertainty alone.
- Move beyond simulated quantization. Since quantization is simulated here, the byte-read accounting is a model of cost rather than a measured one; real low-precision kernels would test whether the predicted savings survive in practice.
- Refine the uncertainty signal. The margin gate caught more flips than the entropy gate in replay (94% vs 78% at the same budget), which suggests the choice or combination of signals is itself an open design question.
Target Audience
Most useful to researchers and engineers working on efficient inference and on-device language models: quantization specialists interested in mixed-precision allocation, systems engineers concerned with memory-bandwidth-bound decoding, and practitioners deciding whether adaptive precision is worth building into a runtime. It is also valuable for readers interested in rigorous evaluation practice, since the paper reports a live null result with paired intervals and an explicit accounting of unrun controls. Readers without a background in quantization or statistical testing will find the metrics (AUC, McNemar, KL, paired intervals) require outside reading.
Authors’ abstract
Local decoding usually fixes one weight precision for the whole generation. We study a different allocation: store 8-bit weights, decode with their top 4 bits, and redo a step at 8 bits only when the low-precision output distribution looks uncertain (entropy above a threshold or a small top-two margin). Quantization is simulated, the model is Qwen3-0.6B, and the benchmark is GSM8K. Cost is counted in weight bytes read per token. On 36724 replayed steps the entropy of the low…
The full abstract on arXivRelated papers
- Bits or permutations? Spending a fixed inference budget on weight precision or on option-order averaging in small local language models 2026-11-10 · cs.AI · Also by Aliyas Ahmad Misri, Logesh L +1
- StepBack: Step-Level Error-Localized Resampling for Efficient Test-Time Reasoning 2026-11-05 · cs.AI · Key terms of the title in common
- Do I Need the Cloud? Uncertainty-Aware Step-Level Handoff for Small Language Model Agents 2026-10-06 · cs.AI · Key terms of the title in common
- Toward a Locally Deployable Agentic Co-Scientist: Small-Model Planning for Early-Stage Drug Discovery 2026-10-03 · cs.AI · Key terms of the title in common
- Enhancing Demand-Oriented Regionalization with Agentic AI and Local Heterogeneous Data for Adaptation Planning 2025-11-13 · cs.AI · Key terms of the title in common