As deep neural networks—particularly Large Language Models (LLMs) and Diffusion models—grow in scale, the bottleneck for deployment has shifted from raw compute to memory bandwidth and storage. Quantization, the process of reducing the bit-width of model weights and activations, has emerged as the primary solution. While 8-bit (INT8/FP8) quantization is now industry standard, a new frontier of research is pushing toward extreme low precision: 4-bit, 2-bit, and even 1-bit (binary) representations.
The challenge is that as precision drops, the "quantization gap"—the error introduced by rounding continuous values into a tiny number of discrete buckets—becomes catastrophic. Modern research focuses on three pillars to bridge this gap: managing outliers, smoothing the optimization landscape, and hardware-algorithm co-design.
The Outlier Problem
The primary "villain" in low-precision quantization is the emergence of outlier features. In Transformers, a small number of dimensions in the hidden states often exhibit magnitudes significantly larger than the rest. As Léopold Cambier and colleagues noted in Shifted and Squeezed 8-bit Floating Point, these outliers force the quantization scale to expand, which "squeezes" the remaining normal values into a single bin, destroying the model's representational power.
To combat this, researchers have moved beyond simple clipping. Muyang Li and Song Han introduced SVDQuant, which "absorbs" these outliers into a high-precision low-rank branch, leaving the remaining weights easy to quantize to 4-bits. Similarly, RoLoRA uses mathematical rotations to spread outlier energy across multiple dimensions, effectively "flattening" the distribution before quantization.
Smoothing the Discrete Landscape
Standard Quantization-Aware Training (QAT) relies on the Straight-Through Estimator (STE) to pass gradients through non-differentiable rounding functions. However, at 2-bit or 4-bit precision, the "jaggedness" of these functions makes optimization unstable.
Recent work by Jianhang Hong suggests replacing these jagged steps with Continuous Approximations like Sigmoid STE and SoftClamp. By treating quantization as a distance-based assignment problem rather than a hard rounding operation, frameworks like Distance-aware Quantization (DAQ) allow models to learn "soft" representations that gradually converge to discrete values, maintaining accuracy even at the 1-bit or 2-bit level.
Salience and Mixed Precision
Not all weights are equally important. Research into Mixed-Precision Quantization (MPQ) seeks to allocate more bits to "salient" (important) layers while aggressively compressing redundant ones. Wei Huang and the authors of SliM-LLM discovered that important weights often cluster in specific channels. By using group-level bit allocation, they achieved sub-3-bit average precision with minimal accuracy loss.
To automate this process, Kuan Wang and Song Han developed HAQ, which uses reinforcement learning to search for the optimal bit-width for each layer based on the specific constraints of the target hardware, such as an FPGA or a mobile GPU.
Hardware-Algorithm Co-design
Quantization is only useful if the underlying hardware can execute the low-precision math efficiently. Standard libraries are often optimized for 16-bit or 32-bit floats, making 4-bit operations paradoxically slower due to the overhead of "dequantizing" values back to high precision for calculation.
Systems like QServe (by Yujun Lin and others) solve this through W4A8KV4 co-design: 4-bit weights, 8-bit activations, and a 4-bit Key-Value cache. By aligning the quantization boundaries with the GPU's register and memory layout, they achieve up to 3.5x throughput increases. Similarly, NGEMM optimizes the fundamental General Matrix Multiplication (GEMM) kernels to eliminate inefficient data shuffling, ensuring that the theoretical memory savings of low precision translate into real-world speed.
The 2-bit Frontier
While 4-bit quantization is rapidly maturing for both LLMs and diffusion models (as seen in PTQ4DiT), the move to 2-bit remains the "holy grail." At this level, the information density is so low that standard error correction fails. Geonho Lee and the RILQ team have proposed using low-rank adapters (LoRA) specifically to compensate for 2-bit quantization noise, shifting the focus from layer-wise error to global output stability.
As these techniques converge, the goal is a "push-button" compression that allows trillion-parameter models to run on consumer-grade hardware without losing their emergent capabilities.