about
True 4-Bit Quantized CNN Training on CPU – 92.34% on Cifar-10 (arxiv.org)
3 points by shivnathtathe 201 days ago | hide | past | pdf | 3 comments on HN

In plain words: A CNN is trained with weights stored as just 15 distinct 4-bit values on an ordinary CPU, using a smooth clipping trick to keep learning stable. It matched full-precision accuracy within 0.16 percentage points while using 8 times less memory.

Abstract · True 4-Bit Quantized Convolutional Neural Network Training on CPU: Achieving Full-Precision Parity

Low-precision neural network training has emerged as a promising direction for reducing computational costs and democratizing access to deep learning research. However, existing 4-bit quantization methods either rely on expensive GPU infrastructure or suffer from significant accuracy degradation. In this work, we present a practical method for training convolutional neural networks at true 4-bit precision using standard PyTorch operations on commodity CPUs. We introduce a novel tanh-based soft weight clipping technique that, combined with symmetric quantization, dynamic per-layer scaling, and straight-through estimators, achieves stable convergence and competitive accuracy. Training a VGG-style architecture with 3.25 million parameters from scratch on CIFAR-10, our method achieves 92.34% test accuracy on Google Colab's free CPU tier -- matching full-precision baseline performance (92.5%) with only a 0.16% gap. We further validate on CIFAR-100, achieving 70.94% test accuracy across 100 classes with the same architecture and training procedure, demonstrating that 4-bit training from scratch generalizes to harder classification tasks. Both experiments achieve 8x memory compression over FP32 while maintaining exactly 15 unique weight values per layer throughout training. We additionally validate hardware independence by demonstrating rapid convergence on a consumer mobile device (OnePlus 9R), achieving 83.16% accuracy in only 6 epochs. To the best of our knowledge, no prior work has demonstrated 4-bit quantization-aware training achieving full-precision parity on standard CPU hardware without specialized kernels or post-training quantization.

Shivnath Tathe
arXiv:2603.13931 · cs.LG · submitted Mar 14, 2026
abstract · pdf · html · 6 pages, 4 figures, 9 tables. Code available at https://github.com/shivnathtathe/vgg4bit-and-simpleresnet4bit

add comment on HN

> true 4-bit precision

This isn't one of the new block floating point schemes, it's bona fide 4-bit precision weights. It boggles my mind that can actually work.

Well, the weights are accumulated in full precision and are multiplied by a full-precision scale factor after quantization, and the activations and backward pass are computed in full precision as well, so it's not quite true 4-bit precision training. The resulting model can be stored with just slightly more than 4 bits per parameter, though.
I really just don't understand how the quantization error doesn't ruin the results. Is there some reading you'd recommend?

I can easily understand how the block formats win.