Papers › D²Quant: Accurate Low-bit Post-Training Weight Quantization for LLMs

D²Quant: Accurate Low-bit Post-Training Weight Quantization for LLMs

30 Jan 2026arXiv:2602.02546added by Syntology

Xianglong Yan, ChengZhu Bao, Zhiteng Li, Tianao Zhang, Shaoqiu Zhang, Ruobing Xie, Samm Sun, Yulun Zhang

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

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. 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²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²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.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2602.02546")

Code

Syntology Ran 3 of 16 code samples harvested from 1 repository linked to this paper; 13 have no recorded run. Of those that ran: 2 ran · our draft was wrong; 1 ran with no contract checked.

By repository: found in paper text by Syntology: 16 samples from 1 repository, 3 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

XIANGLONGYAN/D2Quant found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

16 samples harvested; 3 ran; 0 honoured the contract we drafted; 13 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · our draft was wrong
1ran
13unverified

Licence: 0 of the 16 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from XIANGLONGYAN/D2Quant. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

round_ste XIANGLONGYAN/D2Quant/d2quant/quantization/quantizer.py found in paper text by Syntology ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 675da8641c602b03 · report
asym_quant XIANGLONGYAN/D2Quant/d2quant/quantization/quantizer.py found in paper text by Syntology ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 5daeed014eb71da9 · report
get_rope_function_name XIANGLONGYAN/D2Quant/d2quant/model_utils.py found in paper text by Syntology ran Apache-2.0 (permissive) · 8005fc23ccbe61fb · report
apply_deviation_aware_correction XIANGLONGYAN/D2Quant/d2quant/quantization/dac.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 11ea86283bc189ec · report
apply_mean_shift XIANGLONGYAN/D2Quant/d2quant/quantization/dac.py found in paper text by Syntology unverified Apache-2.0 (permissive) · c2745ed51515c941 · report
cleanup_memory XIANGLONGYAN/D2Quant/d2quant/config.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 58973fc4e2b31774 · report
compose_final_perm XIANGLONGYAN/D2Quant/d2quant/quantization/gar.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 5a7bfb94df03681c · report
compute_global_perm XIANGLONGYAN/D2Quant/d2quant/quantization/gar.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 4bcf3cf0ed281cca · report
compute_local_perms XIANGLONGYAN/D2Quant/d2quant/quantization/gar.py found in paper text by Syntology unverified Apache-2.0 (permissive) · d16524faf29750ef · report
fit_dual_scale_2bit XIANGLONGYAN/D2Quant/d2quant/quantization/dsq_2bit.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 1b4ea44880a00a67 · report
fit_dual_scale_3bit XIANGLONGYAN/D2Quant/d2quant/quantization/dsq_3bit.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 2e8023af78a306fa · report
get_layers XIANGLONGYAN/D2Quant/d2quant/model_utils.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 5cfb768c5400311b · report
get_minq_maxq XIANGLONGYAN/D2Quant/d2quant/quantization/quantizer.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 56fe9b504cdc9689 · report
log_snr_from_lists XIANGLONGYAN/D2Quant/d2quant/quantization/diagnostics.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 54417cda50d297b8 · report
model_type_extractor XIANGLONGYAN/D2Quant/d2quant/model_utils.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 5dcced271ec7bc12 · report
ppl_eval XIANGLONGYAN/D2Quant/d2quant/evaluation.py found in paper text by Syntology unverified Apache-2.0 (permissive) · c63931568d9a0771 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2602.02546, was issued in February 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections