MixQuant: Adaptive Mixed-Precision Quantization for Large Language Models
cs.LG, cs.AI
Submitted: 2026-07-25
Updated: 2026-12-01
Comments: Preprint
License: http://creativecommons.org/licenses/by-sa/4.0/
The gist: Mixed-precision quantization improves the accuracy of post-training quantization by allocating higher bitwidths to sensitive layers…
Terminology
Abstract
Mixed-precision quantization improves the accuracy of post-training quantization by allocating higher bitwidths to sensitive layers, but existing methods solve the allocation for a single fixed memory budget. In practice the budget varies across deployments and is unknown at calibration time. Adaptive quantization addresses this with one offline calibration that serves any budget, yet current methods score layer sensitivity in a manner that does not consider its dependency on quantization levels of other layers. We show that a layer's sensitivity depends strongly on the bitwidths of its upstream layers and that this dependence shifts the resulting preferred bit allocation. We propose MixQuant, a technique-agnostic adaptive framework that wraps any base quantizer. MixQuant marginalizes each layer's distortion over random quantized upstream configurations to obtain budget-agnostic scores, calibrates the quantizer's parameters on plans the allocator itself produces, and penalizes allocations that leave layers at the lowest bitwidths. A single greedy pass then serves any budget at deployment. Across Llama-3.2-3B, Llama-2-7B, and Mistral-7B under AWQ and GPTQ, MixQuant outperforms adaptive and mixed-precision baselines in every setting, improving average accuracy by up to 8 points and reducing perplexity from 12.43 to 10.70 at the tightest budget, while matching an ILP solver at negligible deployment cost.
Sources
- Layer-Wise Quantization: A Pragmatic and Effective Method for Quantizing LLMs Beyond Integer Bit-Levels
- GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers
- A Survey of Quantization Methods for Efficient Neural Network Inference
- Distilling the Knowledge in a Neural Network
- Tensor Decomposition for Model Reduction in Neural Networks: A Review
- Robust Quantization: One Model to Rule Them All
- Llama 2: Open Foundation and Fine-Tuned Chat Models
- HAWQV3: Dyadic Neural Network Quantization
Related papers
- Biologically Inspired Coordination of Parameter Selection and Update Strength for Language Model Adaptation
- Sketching for First Order Method: Efficient Algorithm for Low-Bandwidth Channel and Vulnerability
- The WMDP Benchmark: Measuring and Reducing Malicious Use With Unlearning
- On the notion of missingness for path attribution explainability methods in medical settings: Guiding the selection of medically meaningful baselines
- Variable-Length Generative Protein Design via Generalized Poisson Flow
- UniCon: Unified Framework for Efficient Contrastive Alignment via Kernels