Beyond Outliers: A Data-Free Layer-wise Mixed-Precision Quantization Approach Driven by Numerical and Structural Dual-Sensitivity
Organizations: The University of Hong Kong · Peking University · Tsinghua University · University of California, Los Angeles ·
Abstract
Layer-wise mixed-precision quantization (LMPQ) enables effective compression under extreme low-bit settings by allocating higher precision to sensitive layers. However, existing methods typically treat all intra-layer weight modules uniformly and rely on a single numerical property when estimating sensitivity, overlooking their distinct operational roles and structural characteristics. To address this, we propose NSDS, a novel calibration-free LMPQ framework driven by Numerical and Structural Dual-Sensitivity. Specifically, it first mechanistically decomposes each layer into distinct operational roles and quantifies their sensitivity from both numerical and structural perspectives. These dual-aspect scores are then aggregated into a unified layer-wise metric through a robust aggregation scheme based on MAD-Sigmoid and Soft-OR to guide bit allocation. Extensive experiments demonstrate that NSDS consistently achieves superior performance compared to various baselines across diverse models and downstream tasks, without relying on any calibration data.
Figures & tables
| Language Reasoning ( ) | Language Modeling ( ) | |||||||
| ARC-C | Hellaswag | PIQA | BoolQ | Winogrande | TruthfulQA | Wikitext-2 | C4 | |
| Llama-3.1-8B | ||||||||
| FP16 | 57.76 | 81.97 | 80.09 | 82.11 | 77.35 | 28.40 | 6.24 | 8.95 |
| [1pt/1pt] MSE | 38.73 | 64.21 | 68.58 | 60.73 | 65.82 | 23.95 | 9.22 | 12.35 |
| EWQ | 40.17 | 67.16 | 71.49 | 64.52 | 67.43 | 23.34 | 8.38 | 11.27 |
| ZD | 39.45 | 66.94 | 69.63 | 62.88 | 67.51 | 24.49 | 8.42 | 11.51 |
| Llama-2-13B | Qwen2.5-14B | |||
| Acc. ( ) | PPL ( ) | Acc. ( ) | PPL ( ) | |
| FP16 | 67.23 | 5.67 | 73.25 | 7.22 |
| [1pt/1pt] MSE | 59.91 | 9.38 | 64.29 | 10.62 |
| EWQ | 61.68 | 7.61 | 63.36 | 11.13 |
| ZD | 60.99 | 7.98 | 65.42 | 10.25 |
| KurtBoost | 62.08 | 7.51 | 65.13 | 10.41 |
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
| Language Reasoning ( ) | Language Modeling ( ) | |||||||
| ARC-C | Hellaswag | PIQA | BoolQ | Winogrande | TruthfulQA | Wikitext-2 | C4 | |
| Llama-2-13B | ||||||||
| FP16 | 59.47 | 82.22 | 79.05 | 80.55 | 76.16 | 25.95 | 4.88 | 6.47 |
| [1pt/1pt] MSE | 46.71 | 73.27 | 73.35 | 72.58 | 71.63 | 21.96 | 8.55 | 10.21 |
| EWQ | 48.14 | 75.11 | 75.38 | 75.22 | 73.43 | 22.85 | 6.77 | 8.43 |
| ZD | 47.89 | 74.34 | 74.83 | 74.01 | 72.69 | 22.23 | 7.08 | 8.89 |
Mixed-Precision Quantization
Mixed-precision quantization assigns different numeric precisions across a model to balance accuracy with memory, speed, energy, and hardware constraints.
See all 168 papers