TL;DR
HADVQ is a new post-training vector quantization (PTQ) method that enables Large Language Models (LLMs) to run in the ultra-low-bit regime (2–3 bits) without requiring expensive fine-tuning. By combining random preconditioning, polar coordinate weight representation using the $E_8$ lattice, and selective preservation of high-impact "sensitive" channels, it achieves state-of-the-art accuracy-compression trade-offs across multiple model families.
What Problem Does This Paper Address?
The massive memory footprint of LLMs—often requiring hundreds of gigabytes—is a major bottleneck for deployment. While quantization reduces this footprint by using fewer bits per weight, performance typically collapses when pushing below 4 bits.
Standard scalar quantization (quantizing each weight independently) fails in this "ultra-low-bit" regime because it cannot capture the local geometric structure of the weight space. Vector Quantization (VQ) is more robust but faces two hurdles:
- Weight distributions are often highly unbalanced, making fixed codebooks inefficient.
- A tiny fraction of "outlier" channels often accounts for a disproportionate amount of the total quantization error.
Methods
The authors propose a multi-stage pipeline called Hessian Aware Directional Vector Quantization (HADVQ):
- Random Preconditioning: The method applies a randomized Hadamard transform to the weights. This "spreads out" the energy of the vectors, making their distribution more balanced and approximately Gaussian, which is much easier to quantize.
- Magnitude–Direction Decoupling: Weights are represented in polar coordinates. The magnitude (length) and direction (unit vector) are quantized separately. This allows the quantizer to focus its limited bit budget on directional distortion, which is known to be more harmful to model performance.
- Structured $E_8$ Lattice Codebook: To quantize directions, HADVQ uses a structured codebook based on the $E_8$ lattice. Because the preconditioned weights are nearly Gaussian, the highly symmetric shells of the $E_8$ lattice provide a near-optimal way to tile the unit sphere.
- Hessian-Aware Channel Preservation: The authors use a "proxy Hessian" (the second-moment matrix of the inputs) to identify the top 1% most sensitive input channels. These channels are kept in high precision (16-bit), adding only about 0.16 bits to the average bit-width but significantly stabilizing the model.
Datasets
The method was evaluated on a wide range of models and benchmarks:
- Models: Qwen3 (0.6B to 8B), Llama2 (7B, 13B), Llama3 (8B), and the Llama3.2 (1B, 3B) families.
- Evaluation Benchmarks: WikiText-2 and C4 for perplexity; BoolQ, WinoGrande, ARC-Easy/Challenge, HellaSwag, PIQA, and MMLU for zero-shot and five-shot accuracy.
- Calibration: The "Pile" validation set was used for estimating the proxy Hessian scores.
Key Insights and Ideas
- Gaussianity as a Tool: One of the "aha" moments is that random preconditioning effectively forces weights into a Gaussian distribution. This allows the researchers to move away from learned, data-dependent codebooks (which are hard to optimize) toward mathematically elegant, structured lattices like $E_8$.
- The Power of the 1%: Figure 3 in the paper illustrates a sharp "elbow" in channel sensitivity. A very small number of channels are orders of magnitude more sensitive than the rest. Protecting just this 1% is a high-leverage move that prevents the "error explosion" typically seen in 2-bit models.
- Direction Over Magnitude: In the ultra-low-bit regime, the angle of the weight vector is far more critical for maintaining the model's internal representations than its exact length. Decoupling these allows for a more surgical application of the bit budget.
Key Results
HADVQ remains competitive with or outperforms existing SOTA methods like QuIP#, AQLM, and PCDVQ, particularly in the 2-bit and 3-bit regimes.
- Stability: Unlike some scalar methods that "break" at 2 bits, HADVQ remains stable. For example, on Llama2-7B at ~2.4 bits, HADVQ achieves 69.02% on BoolQ, whereas many other 2-bit methods show significant degradation.
- No Fine-Tuning Required: Many high-performing VQ methods require expensive fine-tuning to recover accuracy. HADVQ achieves its results in a pure post-training setting, making it much more accessible for practitioners with limited compute.
- Efficiency: The use of the $E_8$ lattice and KD-trees allows for efficient nearest-neighbor lookups during quantization.
Limitations and Future Work
- Weight-Only: The current work focuses only on weights. Quantizing activations and the KV cache remains a separate challenge for future integration.
- Block Size Constraints: The directional codebook is naturally tied to 8-dimensional blocks due to the $E_8$ lattice structure. Extending this to other block sizes would require exploring different lattice types.
- Inference Overhead: While the Hadamard transform is efficient ($O(n \log n)$), it does add a small amount of runtime overhead during de-quantization that needs to be optimized in production kernels.
- Future Directions: The authors suggest that combining HADVQ with light fine-tuning could push the boundaries of 2-bit quantization even further.
Summary updated