arXiv:2610.34886cs.AIOct 2026

Manuscript Offprint

arXiv:2610.34886

ThinkBit: Search Codewords, Recalibrate Scales, Select by Reasoning

Rhea Sanjay Sukthanker, Pashmina Cameron

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Abstract

Reasoning language models generate thousands of tokens per answer, and generation speed is limited by memory bandwidth, so storing weights in two bits instead of bf16 can potentially make inference 8×8\times cheaper. Two-bit methods are usually judged by perplexity and multiple-choice question-answering accuracy, both of which say little about whether a model can still reason through more difficult problems. We present ThinkBit, a strictly scalar two-bit framework built to preserve reasoning, in which every weight is an integer codeword times a bf16 scale shared by a group of weights. We first use a sensitivity metric to assign each layer a ternary, 2-bit, or 3-bit tier to allocate bitwidths optimally among layers. This is followed by a layerwise Gumbel-softmax-based scalar quantization algorithm that searches for optimal codewords block by block. Since a layerwise scheme does not capture how quantized layers interact with each other, we recalibrate scales, with the codewords frozen, using a knowledge-distillation-based loss against the teacher model. We then perform a short quantization-aware training (QAT) stage that lets the model mimic the base model's distribution by reassigning codewords. Finally, a paired reasoning test on training problems selects the final checkpoint between the recalibration stage and the QAT stage. On Qwen3-1.7B at matched size, our recalibrated checkpoint scores 46.7 on MATH-500 against 30.0 for EfficientQAT trained on the same data, and 73.0 after QAT on reasoning traces; at 0.52 GB it is smaller than every published 2-bit GGUF of the model yet more accurate on MATH-500. We show that this framework scales and up to 14B, a 3.74 GB model scores 94.8 on MATH-500, against 97.5 for the 29.5 GB bf16 model.

1 Introduction

Reasoning language models answer with long chains of thought, often tens of thousands of tokens long. Each generated token requires reading all of the model's weights from memory, so generation speed is capped by memory bandwidth rather than compute. Storing weights in two bits instead of bf16 reduces weight memory and the memory traffic per token by up to 8×8\times. Above three bits per weight, scalar quantization formats, which store one integer per weight and one scale per group of weights, are already close to lossless. At two bits, however, the strongest methods go beyond this format. They use vector codebooks, rotations, zero-points, or distillation-based quantization-aware training (QAT) with small groups [5, 13, 15, 45, 48]. Scalar formats remain the easiest to deploy, because dequantizing a weight takes a single multiplication. However, it is still an open question whether a two-bit scalar format can preserve a model's ability to reason through difficult problems.

Answering this question first requires fixing how two-bit models are evaluated. They are usually compared by perplexity and multiple-choice accuracy. These metrics barely separate configurations whose sampled reasoning accuracy differs by more than ten points (fig. 1b), because likelihood based metrics, score single-token predictions and never check whether a long chain of thought eventually reaches a correct answer. A two-bit framework for reasoning models should therefore be both designed for and evaluated on reasoning tasks.

We design such a framework, ThinkBit, presented in fig. 1a) with one primary constraint in mind. The constraint is that we want a strictly scalar quantization format. Every stored weight is an integer codeword multiplied by a bf16 scale shared by a group of 128 weights, with no vector codebooks, rotations, or zero-points. Our proposed framework has five stages. First, sensitivity-based bit allocation assigns a precision to each layer. Second, block-wise codeword search chooses the initial codewords. Third, scale recalibration repairs the quantized model while leaving every codeword unchanged. Fourth, for even more flexibility, QAT reassigns the small number of codewords that still affect the output. Finally, a paired reasoning test on MATH training problems decides whether to keep the QAT checkpoint (QAT) or the recalibrated checkpoint (Rec). We compare both checkpoints against a QAT-only baseline (QAT-only), which skips the bit allocation, codeword search and recalibration phases.

Figure

(a) The proposed framework (ThinkBit), has five stages. (1) Kronecker-factored Hessian sensitivity (KronQ [34]) assigns each layer a ternary, 2-bit, or 3-bit tier. (2) GSQ [6] starts from a layer-wise PTQ solution and searches for codewords. (3) Scale recalibration freezes the codewords and trains only the stored bfloat16 (bf16) scales and the root-mean-square normalization (RMSNorm) gains. (4) QAT reassigns codewords. (5) A paired reasoning test on MATH training problems decides which checkpoint to keep.

Figure

(b) Change in accuracy relative to the Qwen3-1.7B QAT checkpoint (QAT-hbf16; names in table 2). All variants use the same bf16 head and embedding. Removing codeword search, scale recalibration, or both keeps the 7-task mean in the range of 53.7–54.8, but lowers sampled MATH-500 accuracy from 43 to 35.0, 37.0, and 32.1 presented in table 8 (uniform 2-bit allocation instead of mixed tiers to 28.4). The recalibrated checkpoint without QAT (Rec-hbf16) is lower on the 7-task mean (51.5) but higher on reasoning (47.5). Standard benchmarks therefore don’t detect losses in reasoning correctly and could misguide checkpoint selection.

Figure 1: Overview of our 2-bit quantization framework ThinkBit and importance of different stages

What “2-bit” means. The label “2-bit” does not by itself say how large a model is. Community quantizations portrayed as 2-bit usually keep the embeddings, the output head, and other sensitive tensors at higher precision, so their real storage cost is well above two bits per parameter. For example, Unsloth’s 2-bit releases [75] in the GGUF file format of llama.cpp [21] store 2.82-3.62 bits per parameter for Qwen3-1.7B and 2.42-3.12 for Qwen3-14B. Similarly, PrismML’s ternary Bonsai model [55], whose weights need about log⁡23≈1.585\log_2 3 \approx 1.585 bits each, actually stores 2.15 bits per parameter for Qwen3-1.7B: every ternary weight sits in a 2-bit slot, with one FP16 scale per 128 weights. Hence, comparing such models by their nominal bit-width can hide differences in size of up to 50%. We therefore compare models by whole-model size in bytes, counting every stored tensor. By this measure, our 0.52 GB Qwen3-1.7B checkpoint stores 2.42 bits per parameter including the output head and embeddings, which is smaller than every published 2-bit GGUF of the same model.

Our work makes the following key contributions:

• Two-bit models must be selected on reasoning tasks On Qwen3-1.7B, removing the codeword search, scale recalibration, both, or the budget allocation stage keeps the 7-task QA task average at 53.7-54.8, within a ±1.5\pm1.5-point margin. However, skipping these stages lowers MATH-500 accuracy from 43.0 after QAT stage to the range of 28.4–37.0 (Table 8), showing that selecting two-bit models on reasoning tasks is crucial since that is where most of the degradations are seen.

• ThinkBit: A novel scalar two-bit framework built for reasoning. We propose a novel five stage framework (fig. 1a) (1) Allocate: Allocate precisions appropriately for each layer (2) Search: Search the integer codewords block by block (3) Recalibrate: Recalibrate the stored scales with the codewords frozen (4) QAT: Let quantization-aware training (QAT) reassign codewords and (5) Selection: Keep the better of the Stage-3 and Stage-4 checkpoints by a reasoning test. On Qwen3-1.7B our framework reaches 47.5 on sampled MATH-500 before QAT and 43.0 after, against 18.5–24.1 and 32.6–37.8 from tuned GPTQ initializations (Table 9).

• Better two-bit reasoning per byte. At matched size (about 0.5 GB), our recalibrated checkpoint (Rec-h2) scores 46.7 on MATH-500, against 30.0 for EfficientQAT trained on the same data and tokens. At 0.52 GB, smaller than every published 2-bit GGUF of the model, the selected checkpoint scores higher than all of them on MATH-500 (Table 7).

References (66)