DartQuant: Efficient Rotational Distribution Calibration for LLM Quantization

Yuantian Shao, Yuanteng Chen, Peisong Wang, Jianlin Yu, Jing Lin, Yiwu Yao, Zhihui Wei, Jian Cheng

Abstract

DartQuant represents a significant advancement in Large Language Model (LLM) quantization, specifically addressing the challenge of activation outliers through an efficient "rotational smoothing" technique. By transitioning from computationally intensive end-to-end fine-tuning to a distribution-aware calibration approach, DartQuant achieves a 47× speedup and 10× memory savings. These optimizations enable the quantization of a 70B parameter model on a single consumer-grade RTX 3090 GPU in approximately three hours, significantly lowering the barrier to entry for high-quality model compression.

Introduction

Quantizing LLMs is primarily complicated by activations rather than weights. LLM activations frequently exhibit "extreme outliers"—specific channels with values significantly larger than the rest. In standard quantization, these outliers force the discrete representation levels (bins) to stretch across a wide range, causing the majority of normal values to lose precision.

Recent research has shown that applying a rotation matrix to these activations can "smear" the energy of outliers across other channels, making the distribution more amenable to quantization. However, prior state-of-the-art methods like SpinQuant treat these rotation matrices as learnable parameters and fine-tune them using end-to-end task losses. This approach is computationally expensive, prone to overfitting on small calibration datasets, and requires specialized, slow optimizers to maintain matrix orthogonality.

Methodology

DartQuant introduces three key innovations to resolve these issues:

  1. Rotational Distribution Calibration: Instead of training the rotation matrix to minimize a specific task loss (such as next-token prediction), DartQuant optimizes the transformation based on the shape of the resulting activation distribution. The goal is to transform the distribution into a more "quantization-friendly" state, closer to a uniform distribution.
  2. The Whip Loss: LLM activations typically follow a Laplace distribution, which is highly peaked at zero with long tails. DartQuant introduces the "Whip loss" ($exp(-|x|)$), which encourages the rotation to push values away from zero, effectively flattening the central peak. Because rotation matrices are norm-invariant (preserving total vector energy), elevating smaller values naturally suppresses the large outliers.
  3. QR-Orth Optimization: To maintain the mathematical requirement of orthogonality, DartQuant utilizes QR decomposition. This approach is mathematically simpler than traditional Riemannian or Cayley optimizers and provides a 1.4x speedup in the optimization process.
Comparison of activation distributions across different rotation-based quantization techniques.

Experimental Evaluation

The authors evaluated DartQuant across a wide range of models, including Llama-2 (7B, 13B, 70B), Llama-3 (8B, 70B), and Mixture-of-Experts (MoE) architectures like Mixtral-8x7B. Calibration was performed using only 128 samples from WikiText2, and performance was measured across multiple benchmarks including C4, PTB, and various zero-shot tasks.

Key Results

  • Efficiency: For a 70B model, DartQuant is 47× faster than previous methods and reduces memory consumption by 10×. This shift enables the quantization of large models on consumer-grade hardware rather than enterprise-grade clusters.
  • Accuracy: DartQuant consistently outperforms baselines like SpinQuant and OSTQuant. On Llama-3 70B (4-bit), it limited average performance loss to 3.31%, a 3.33% improvement over SpinQuant.
  • Robustness: By avoiding task-specific fine-tuning, DartQuant is less prone to overfitting and maintains high accuracy across diverse datasets even with minimal calibration data.
Accuracy vs. Time and Memory usage across different quantization methods and model sizes.

Discussion and Limitations

DartQuant demonstrates that full backpropagation is unnecessary for mitigating activation outliers; reshaping the distribution at each layer is sufficient. This "aggregation effect"—where filling distribution "valleys" suppresses "peaks"—is a powerful application of rotational constraints.

However, some limitations remain. DartQuant is specifically designed for uniform integer quantization (e.g., INT4), and its effectiveness on non-uniform formats like FP4 or NF4 requires further exploration. Additionally, the Whip loss assumes activations are roughly zero-centered; significant mean shifts in activations could degrade its effectiveness. Future research may explore a broader range of distribution transformation functions to accommodate more diverse numerical formats.

Summary updated

BibTeX
@inproceedings{shao2025dartquant,
  author = {Yuantian Shao and Yuanteng Chen and Peisong Wang and Jianlin Yu and Jing Lin and Yiwu Yao and Zhihui Wei and Jian Cheng},
  title = {{DartQuant: Efficient Rotational Distribution Calibration for LLM Quantization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=LfcfwlLCHM},
}
Figure