Beyond Scalar Sensitivity: Activation-Aware Mixed-Precision LLM Quantization with Cross-Layer Refinement
Abstract
Mixed-precision weight quantization is commonly formulated as a Multiple-Choice Knapsack Problem (MCKP), yet existing solvers rely on scalar sensitivity proxies that collapse each weight matrix's Hessian into a single number and treat every module independently. We prove that even the optimal scalar proxy incurs multiplicative distortion up to relative to the full activation-aware quadratic, where and denote the condition numbers of the input- and output-side Hessian factors. This bound varies from to for typical LLM modules, making inter-module sensitivity ranking unreliable. To address these limitations, we propose Cross-layer Activation-aware Sensitivity Allocation (CASA), a two-phase method. In Stage 1, the scalar proxy is replaced by an activation-aware metric derived from the Kronecker-factored Hessian, reducing the MCKP to a form whose continuous relaxation admits a closed-form solution. In Stage 2, a cross-layer-aware local search evaluates bit-width updates using the end-to-end model loss. Experiments on multiple LLMs across different bit budgets show that CASA achieves lower perplexity than the latest scalar-proxy baselines, especially at ultra-low bit-widths ( bits per weight). Moreover, the performance gain in zero-shot accuracy tracks the per-model average condition-number over modules, confirming the distortion bound as a practical indicator of scalar-proxy failure.
Create a lesson
Metadata
- Categories
- cs.LG, stat.AP, stat.ME, stat.ML
- Comments
- 33 pages, 7 figures
Related papers
GeoPair: Geometry-Preserving Cross-Layer Factorization for Training-Free Transformer Compression
Shared title terminologycs.LGBaher Mohammad, Ammar Ali, Stamatios Lefkimmiatis
Cross-Activity Transfer Learning for Wearable Heart Rate Forecasting During Loaded Marching
Shared title terminologycs.LGMuntaqim Ahmed Raju, Ruizhe Ma, John W Ramsay et al.
Beyond Point-wise Matching: Diversity-Aware Data Selection for Instruction Tuning via Gradient Subspace Optimization
Shared title terminologycs.LGJiyu Tian, Jiyuan Gan, Runfa Zhang et al.
Probabilistic and Geometry Aware Neural Surrogate of Scrape Off Layer Plasma Simulations
Shared title terminologycs.LGGabriele Gianuzzo, Stefan Dasbach, Fleur Hendriks et al.
Greedy Decoding Is Not Precision-Invariant: Cross-Precision Output Divergence in LLM Inference
Shared title terminologycs.LGGaoyuan Du, Anam Nawaz Khan, Rex Zhou et al.
Geometry-Aware Hyperbolic Residual-Quantized Variational Autoencoders
Shared title terminologycs.LGAlessio Colombo, Melika Ayoughi