Skip to content
AI Learning Ground Start learning

Research ·

ThinkBit: Search Codewords, Recalibrate Scales, Select by Reasoning

ThinkBit is a two-bit quantization framework designed to preserve reasoning in language models, scoring 46.7 on MATH-500 for a 0.52 GB Qwen3-1.7B versus 30.0 for EfficientQAT at matched size.

ThinkBit: Search Codewords, Recalibrate Scales, Select by Reasoning
Image: Hugging Face

ThinkBit is a strictly scalar two-bit quantization framework built to preserve reasoning capability, where every weight is an integer codeword multiplied by a bfloat16 scale shared across a group of weights. The motivation is that reasoning models generate thousands of tokens per answer and inference is memory-bandwidth limited, so two-bit weights instead of bfloat16 could make generation roughly eight times cheaper. The authors note that standard two-bit benchmarks like perplexity and multiple-choice accuracy say little about whether a model can still reason through harder problems.

The pipeline has four stages. A sensitivity metric assigns each layer a ternary, 2-bit, or 3-bit tier. A layerwise Gumbel-softmax algorithm then searches for optimal codewords block by block. Because a layerwise scheme misses how quantized layers interact, scales are recalibrated with codewords frozen using a knowledge-distillation loss against the teacher, followed by a short quantization-aware training stage that reassigns codewords to mimic the base model's distribution. A paired reasoning test on training problems then selects the better checkpoint between recalibration and QAT.

Results are reported on Qwen3-1.7B: at matched size the recalibrated checkpoint scores 46.7 on MATH-500 versus 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. The approach scales to 14B, where a 3.74 GB model scores 94.8 on MATH-500 against 97.5 for the 29.5 GB bfloat16 model.

For anyone deploying reasoning models on memory-constrained hardware, this offers a path to near-full-accuracy math reasoning at roughly one-eighth the weight footprint. Open questions remain, such as whether the scalar codeword-plus-scale format maps onto existing llama.cpp quant types or needs new kernels, and whether quantized models produce longer reasoning chains that could offset speed gains.

References

Read the full story at Hugging Face ↗Like, save or discuss on Buzz

#research