DAQ: Delta-Aware Quantization for Post-Training LLM Weight Compression
Organizations: Yuanbao & Hunyuan AI Infra Team
Abstract
We introduce Delta-Aware Quantization (DAQ), a data-free post-training quantization framework that preserves the knowledge acquired during post-training. Standard quantization objectives minimize reconstruction error but are agnostic to the base model, allowing quantization noise to disproportionately corrupt the small-magnitude parameter deltas () that encode post-training behavior -- an effect we analyze through the lens of quantization as implicit regularization. DAQ replaces reconstruction-based objectives with two delta-aware metrics -- Sign Preservation Rate and Cosine Similarity -- that directly optimize for directional fidelity of , requiring only the base and post-trained weight matrices. In a pilot FP8 study, DAQ recovers style-specific capabilities lost under standard quantization while maintaining general performance.
Figures & tables
| Metric | Range | Delta-Aware | Complexity |
|---|---|---|---|
| MSE | No | Low | |
| SignRate | Yes | Low | |
| CosSim | Yes | Medium |
| Model | W L2 | SignRate (%) | CosSim | Style | General |
|---|---|---|---|---|---|
| Base (BF16) | – | – | – | 0.215 | 1.501 |
| Post-trained (BF16) | 0 | 100% | 1.000 | 1.709 | 1.438 |
| AbsMax (FP8 block) | 48641 | 54.54% | 0.239 | 1.081 | 1.491 |
| AbsMax (FP8 channel) | 51790 | 62.48% | 0.261 | 1.323 | 1.501 |
| SmoothQuant (FP8 channel) | – | – | – | 1.378 | 1.491 |
| AWQ-W8A8 (FP8 channel) | – | – | – | 1.399 | 1.479 |
| Type | Range | W L2 | SignRate (%) | CosSim | Style | General |
|---|---|---|---|---|---|---|
| Block | 36625 | 54.09% | 0.228 | 0.516 | 1.528 | |
| Block | 36938 | 53.39% | 0.216 | 0.322 | 1.539 | |
| Block | 28634 | 52.29% | 0.235 | 0.260 | 1.571 | |
| Channel | 33584 | 57.12% | 0.231 | 0.642 | 1.555 | |
| Channel | 36939 | 58.43% | 0.236 | 0.569 | 1.499 | |
| Channel | 33460 | 57.00% | 0.223 | 0.440 | 1.493 |
| Type | Range | W L2 | SignRate (%) | CosSim | Style | General |
|---|---|---|---|---|---|---|
| Block | 75028 | 76.96% | 0.324 | 1.607 | 1.404 | |
| Block | 66939 | 77.31% | 0.363 | 1.718 | 1.380 | |
| Block | 69786 | 82.30% | 0.408 | 1.571 | 1.377 | |
| Channel | 93524 | 77.23% | 0.278 | 1.505 | 1.408 | |
| Channel | 66691 | 77.62% | 0.361 | 1.761 | 1.438 | |
| Channel | 68953 | 80.38% | 0.391 | 1.639 | 1.353 |
| Type | Range | W L2 | SignRate (%) | CosSim | Style | General |
|---|---|---|---|---|---|---|
| Block | 48728 | 59.51% | 0.295 | 1.554 | 1.515 | |
| Block | 59263 | 64.46% | 0.339 | 1.604 | 1.480 | |
| Block | 57445 | 65.52% | 0.342 | 1.647 | 1.463 | |
| Channel | 53219 | 65.51% | 0.315 | 1.545 | 1.454 | |
| Channel | 60088 | 68.84% | 0.346 | 1.706 | 1.442 | |
| Channel | 63039 | 72.69% | 0.369 | 1.726 | 1.471 |