D$^2$Quant: Accurate Low-bit Post-Training Weight Quantization for LLMs

Xianglong Yan, ChengZhu Bao, Zhiteng Li, Tianao Zhang, Shaoqiu Zhang +3 more
1/30/2026
1 citation
cs.LGcs.AI
quantization-pruning

Official code: XIANGLONGYAN/D2Quant (10 stars, Python, Apache-2.0, last commit 2026-09-28).

Abstract

Large language models (LLMs) deliver strong performance, but their high compute and memory costs make deployment difficult in resource-constrained scenarios. Weight-only post-training quantization (PTQ) is appealing, as it reduces memory usage and enables practical speedup without low-bit operators or specialized hardware.

Show full abstract

However, accuracy often degrades significantly in weight-only PTQ at sub-4-bit precision, and our analysis identifies two main causes: (1) down-projection matrices are a well-known quantization bottleneck, but maintaining their fidelity often requires extra bit-width; (2) weight quantization induces activation deviations, but effective correction strategies remain underexplored. To address these issues, we propose D$^2$Quant, a novel weight-only PTQ framework that improves quantization from both the weight and activation perspectives. On the weight side, we design a Dual-Scale Quantizer (DSQ) tailored to down-projection matrices, with an absorbable scaling factor that significantly improves accuracy without increasing the bit budget. On the activation side, we propose Deviation-Aware Correction (DAC), which incorporates a mean-shift correction within LayerNorm to mitigate quantization-induced activation distribution shifts. Extensive experiments across multiple LLM families and evaluation metrics show that D$^2$Quant delivers superior performance for weight-only PTQ at sub-4-bit precision. The code and models will be available at https://github.com/XIANGLONGYAN/D2Quant.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
100Python, ShellJan 30, 20262 months agoApache-2.0

Similar Papers

Cite this paper

@article{yan2026dquant,
  title  = {D$^2$Quant: Accurate Low-bit Post-Training Weight Quantization for LLMs},
  author = {Xianglong Yan and ChengZhu Bao and Zhiteng Li and Tianao Zhang and Shaoqiu Zhang and Ruobing Xie and Samm Sun and Yulun Zhang},
  year   = {2026},
  eprint = {2602.02546},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.02546v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2602.02546.svg)](https://codeofpaper.com/paper/2602.02546)

Discussion