Large Language Models (LLMs) demand massive memory, often requiring multiple high-end GPUs just to load the weights for inference. To mitigate this, Post-Training Quantization (PTQ) is widely used to shrink models. However, the field is currently split into two contrasting paradigms.
EntQuant is a novel data-free model compression framework designed to bridge this gap. It achieves "extreme quantization" (down to 2 bits per parameter) without the functional collapse typically seen in fast, data-free methods. By leveraging entropy coding to decouple a model's storage size from its numerical precision, EntQuant can compress a 70B parameter model in under 10 minutes while preserving high performance on complex reasoning and instruction-following tasks.
The Post-Training Quantization Divide
Currently, PTQ methods fall into two distinct camps:
- Data-Free Methods (e.g., NF4, HQQ): These techniques are fast, universal, and highly accessible. However, they suffer from functional collapse when pushed to extreme bit-rates below 4 bits.
- Data-Dependent Methods (e.g., QuIP#, EfficientQAT): These achieve impressive 2-3 bit compression but require specialized calibration data and extensive compute. This poses challenges for frontier models with private training data, or for instruction-tuned models where calibration data might inadvertently degrade the model's alignment.
EntQuant unites the advantages of both paradigms, matching the performance of data-dependent methods with the speed and universality of data-free techniques.
Methodology: Decoupling Precision and Storage
The core innovation of EntQuant lies in decoupling the compression rate from the bit-width. Instead of forcing weights into a rigid 2-bit format—which restricts them to merely four distinct values—EntQuant maintains weights in a higher-precision 8-bit format (Float8 or Int8) but optimizes them for high compressibility.
- Entropy Optimization: EntQuant tunes channel-wise scaling factors to minimize a rate-distortion objective. It utilizes the $\ell_1$-norm as a differentiable proxy for entropy, encouraging weight distributions that are inherently easy to compress.
- Lossless Compression: The optimized, low-entropy 8-bit weights are then compressed using Asymmetric Numeral Systems (ANS), a modern entropy coding technique utilized in high-performance tools like Zstandard.
- On-the-fly Decoding: To prevent memory bottlenecks, EntQuant integrates a parallelized ANS decoder directly into the inference pipeline. Weights are decompressed block-by-block on the GPU just before they are required for matrix multiplication.
Key Insights
- The Power of Expressivity: While standard 2-bit quantization is limited to 4 unique values, EntQuant at an effective 2-bit rate retains approximately 35 unique values per layer. This expanded expressivity is the primary reason the model avoids collapse at extreme compression levels.
- Compute-Memory Trade-off: Modern GPUs are often memory-bandwidth bound, meaning the processor sits idle waiting for data. EntQuant capitalizes on this idle compute power to decompress weights on-the-fly, effectively trading abundant computational capacity for scarce memory bandwidth.
- Robustness of Data-Free Compression: Because EntQuant operates without observing a single token of text during compression, it eliminates the risk of overfitting to a specific calibration dataset. This makes it inherently safer for specialized reasoning and instruction-tuned models.
Empirical Results
The authors evaluated EntQuant across more than 480 runs on 16 different open-weight LLMs, including LLaMA-1/2/3, Qwen3, OLMo-3.1, and Mistral Large. The evaluation suite covered standard benchmarks (Perplexity, LM Eval Harness), advanced reasoning (GSM8K, GPQA, MMLU), and instruction following (IFEval).
- Speed and Scale: EntQuant successfully compresses a 70B model in less than 10 minutes on a single H100 GPU.
- Extreme Compression Fidelity: At 2.1 bits per parameter, EntQuant remains highly functional and accurate, whereas baseline data-free methods like HQQ exhibit total functional collapse. On LLaMA-2 70B, EntQuant at 3 bits matches the uncompressed base model's performance within ~1.6% on LM Eval benchmarks. At 2 bits, it performs on par with state-of-the-art fine-tuning-based methods like QuIP#.
- Inference Overhead: On-the-fly decoding introduces a modest inference overhead, running roughly 1.5–2x slower than the BFloat16 baseline. However, this trade-off allows a massive 70B model to fit and run on a single consumer-grade GPU (e.g., a 32GB RTX 5090).
Limitations and Future Directions
While EntQuant represents a significant leap in data-free compression, the authors note a few limitations:
- Latency Gap: EntQuant matches the speed of other quantized formats like NF4 but remains slower than raw BFloat16. Future work on "fused" decompression-GEMM kernels—combining the math and the decoding—could close this gap.
- Hardware Specifics: The current implementation relies on NVIDIA’s
nvCOMPlibrary. Broader adoption will require highly optimized ANS kernels for other architectures, such as AMD or Apple Silicon. - Scaling to MoE: The research team plans to extend the EntQuant framework to even larger Mixture-of-Experts (MoE) models in future iterations.
Summary updated