HADVQ: Hessian Aware Directional Vector Quantization

Daniil Li, Mars Davletshin, Vadim Klyzhenko, Artem Danilishin, Valery Sandul, Daniil Ryazanov, Ekaterina MuravlevaarXiv 2026

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:

  1. Weight distributions are often highly unbalanced, making fixed codebooks inefficient.
  2. 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):

  1. 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.
  2. 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.
  3. 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.
  4. 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.
Figure 1: Pipeline of HADVQ. The method applies random preconditioning, decomposes each weight block into magnitude and direction, quantizes the two components separately, reconstructs the quantized blocks, and preserves highly sensitive channels using proxy Hessian scores.

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.
Figure 3: Sensitive channels for model Qwen3-0.6B in layers.2.mlp.down_proj layer.

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.
Table 1: Zero-shot accuracy (↑) comparison on Llama2-7B, Llama2-13B, and Llama3-8B under low-bit quantization. Gray rows denote our method. [·] indicates results obtained with any form of fine-tuning. All results are reported using LM Eval Harness v0.3.0.

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

Abstract

Ultra-low-bit quantization of large language models is a challenging task because aggressive compression severely distorts model parameters and disproportionately harms a small number of highly sensitive channels. We present a vector quantization method tailored for this regime. Our approach begins with random preconditioning, which regularizes the weight space and makes it more amenable to quantization. We then represent weights in polar coordinates and decouple the quantization of directions and magnitudes. To quantize directions, we leverage the structure induced by random preconditioning and design a structured codebook based on the $E_8$ lattice, yielding a compact yet expressive representation. To further reduce degradation, we detect extremely important channels using a proxy Hessian and preserve them with an additional cost of only 0.16 bits. Together, these components provide an effective quantization pipeline for LLMs in the extremely low-bit regime. Empirical results demonstrate improved accuracy, highlighting the benefit of combining geometric structure, lattice-based codebooks, and selective channel preservation.
BibTeX
@misc{li2026hadvq,
  author = {Daniil Li and Mars Davletshin and Vadim Klyzhenko and Artem Danilishin and Valery Sandul and Daniil Ryazanov and Ekaterina Muravleva},
  title = {{HADVQ: Hessian Aware Directional Vector Quantization}},
  year = {2026},
  eprint = {2611.22721},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.22721},
}
Figure