Precision on Demand: Escalating Weight Bits at Uncertain Decoding Steps in a Small Local Model

Mohammed Nayeem Khan, Logesh L, Aliyas Ahmad Misri

arXiv:2611.14418 · 2026-11-15 공개 · arXiv · PDF

quantization gsm8k kl-divergence entropy-gate qwen3-06b cost-model uncertainty-detection weight-precision

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 pass ranks argmax flips with AUC 0.93. At a 15% escalation budget it catches 78% of flips and the margin gate 94%, against the 15% expected for a random gate of equal rate (a computed expectation, not a run). In 150 live problems all-high scores 64.0% and all-low 55.3% (McNemar p=0.053). An entropy gate with a 16% escalation rate scores 62.7% at 0.87 of the all-high weight bytes. Its paired difference is -1.3 (-8.0 to +5.3) points to all-high and +7.3 (+0.0 to +14.7) points to all-low (p=0.080), so the live data do not separate the gate from either end. Verified speculation reaches zero KL at similar bytes in the same cost model. A live random control, a thinking-mode phase rule, a second model and live KL were not run.

한국어 요약

한 줄 요약

Qwen3-0.6B 모델에서 8비트 가중치를 저장하고, 불확실한 디코딩 단계에서만 정밀도를 높이는 방식을 제안한다.

핵심 기여도

핵심 아이디어

기존 디코딩 방식은 전체 생성 과정에서 고정된 가중치 정밀도를 사용하지만, 본 연구는 디코딩 단계별로 정밀도를 조절하는 새로운 아이디어를 제시한다. 모델은 8비트 가중치를 저장하고, 디코딩 시 상위 4비트만 사용하여 연산 비용을 절감한다. 그러나 출력 분포가 불확실할 경우(엔트로피가 특정 임계값 이상이거나, 상위 2개 확률 간 차이가 작을 경우), 해당 단계에서만 8비트로 재계산하여 정확도를 보장한다. 이는 디코딩 단계별 불확실성에 따라 정밀도를 동적으로 조절하는 새로운 통찰을 제공한다.

기술적 접근법

주요 결과

의의 및 한계

본 연구는 디코딩 단계별 정밀도 조절을 통해 성능과 비용을 균형 있게 조절할 수 있음을 보여준다. 특히, GSM8K에서 15%의 예산으로 78%의 argmax 변동을 포착하는 것은 실용적 효율성을 입증한다. 그러나 실제 실험에서 랜덤 제어, 사고 모드 규칙, 다른 모델, 실시간 KL 발산 검증은 수행되지 않았으며, 이는 추가 연구가 필요하다는 한계를 드러낸다.

실용적 활용

이 방법은 모바일 기기나 에지 컴퓨팅 환경에서 연산 비용을 절감하면서도 정확도를 유지해야 하는 상황에 적용 가능하다. 특히, 대규모 모델의 추론 효율성을 향상시키는 데 유용할 수 있다.