Quantization of Large Models with Weight Outliers and Sparsity

Leonidas Tsigkounakis, Abraham Jaeger Mountain, Yilang Zhang, Georgios B. GiannakisarXiv 2026

TL;DR

This paper introduces a novel zero-shot post-training quantization (PTQ) method that decomposes Large Language Model (LLM) weights into three parts: a 4-bit quantized backbone, a high-precision sparse matrix for outlier rows, and a high-precision low-rank component. By using a simulated annealing search to optimize this decomposition, the authors achieve state-of-the-art performance on 4-bit models with negligible memory overhead and no need for calibration data.

What Problem Does This Paper Address?

As Large Language Models (LLMs) scale to billions of parameters, deploying them on edge devices or even in the cloud becomes a massive memory and bandwidth challenge. Quantization—reducing weight precision from 16-bit (FP16/BF16) to 4-bit—is the standard solution, but it often comes at a steep cost to model accuracy.

The primary culprit is the presence of weight outliers: a small number of weights with much higher magnitudes than the rest. These outliers "stretch" the quantization range, forcing the majority of smaller weights into a few narrow bins and destroying their representational fidelity. While existing methods like AWQ or SmoothQuant mitigate this, they typically require a "calibration dataset" to identify which weights are important. This paper tackles the harder problem of zero-shot PTQ, where no additional data is available, by explicitly modeling the structure of these outliers.

Methods

The authors propose a mixed-precision decomposition framework. Instead of quantizing the weight matrix $W$ directly, they factorize it into three complementary components:

  1. Quantized Backbone ($Q$): The bulk of the weights, stored in 4-bit formats (NF4 or FP4).
  2. Row-Sparse Component ($S$): A high-precision matrix that captures "outlier rows"—entire rows in the weight matrix that exhibit significantly higher energy than others.
  3. Low-Rank Factor ($L$): A high-precision component (rank $r=32$) that captures the dominant singular directions of the remaining quantization error.
The authors observed that quantization error isn't random; it concentrates in specific "outlier rows" across different layers of the model.

Because finding the optimal $Q, S,$ and $L$ is a discrete and non-convex optimization problem, standard gradient-based methods fail. The authors instead employ Simulated Annealing (SA). This meta-heuristic algorithm explores the space of possible decompositions by making random perturbations to the low-rank component and accepting "worse" proposals with a certain probability (controlled by a "temperature" that cools over time). This allows the search to escape local minima and find a decomposition that minimizes the total reconstruction error.

Datasets

The method was evaluated on a diverse suite of recent LLMs:

  • Models: Llama 3.2 (1B and 3B), Llama 3.1 (8B), and Qwen 2.5 (7B).
  • Benchmarks:
    • WikiText-2: To measure word perplexity (language modeling quality).
  • GSM8K: To evaluate mathematical reasoning.
  • MBPP: To evaluate code generation performance.

Key Insights and Ideas

  • Outliers are Structured: The paper highlights that outliers in LLMs aren't just random individual weights; they often appear as entire rows with high energy. By isolating these rows ($S$), the remaining error becomes much easier to approximate with a low-rank matrix ($L$).
  • Simulated Annealing as a Quantization Tool: While SA is often seen as slow, the authors show it is highly effective for the discrete "quantize-then-dequantize" search space where analytical solutions are intractable.
  • Zero-Shot is Viable: By focusing on the mathematical structure of the weights rather than activation statistics from a calibration set, they prove that high-quality 4-bit quantization is possible without any external data.

Key Results

The proposed method, particularly the version with 1% row sparsity ($\text{Ours}_{\rho=1\%}$), consistently outperformed direct quantization and the LoFTQ baseline across almost all models and tasks.

Table 1: Performance comparison on NLG benchmarks using select Llama 3 models and Qwen 2.5 7B. Word perplexity is reported on WikiText-2 (WT-2), while GSM8K and MBPP report exact-match accuracy and pass@1 code-generation accuracy, respectively. Higher is better for GSM8K and MBPP, while lower is better for WT-2.
  • Reasoning Gains: On the GSM8K benchmark for Llama 3.1 8B (NF4), the method achieved 46.32% accuracy, compared to 44.73% for QLoRA initialization.
  • Perplexity: The method consistently achieved the lowest (best) perplexity on WikiText-2 for nearly every model tested.
  • Efficiency: Despite adding sparse and low-rank components, the memory overhead is minimal. As shown in Table 2, the method only adds about 0.12–0.14 bits per parameter over standard 4-bit quantization.
Table 2: Memory storage comparison across quantization schemes in bits per parameter. Values apply to both NF4 and FP4 quantization schemes.

Limitations and Future Work

  • Search Time: While inference is fast, the simulated annealing process (300 iterations) is computationally more expensive during the initial quantization phase compared to simple rounding.
  • Code Generation Variance: On the MBPP (coding) benchmark with FP4 quantization, the gains were less consistent, suggesting that the optimal outlier modeling strategy might be task-dependent.
  • Future Directions: The authors suggest using these high-precision low-rank factors as a "warm start" for LoRA (Low-Rank Adaptation) fine-tuning, potentially bridging the gap between zero-shot PTQ and full model adaptation.

Summary updated

Abstract

Post-training quantization (PTQ) reduces the memory burden of large model deployment by casting the high precision trained weights to fewer bits. While this promotes memory-efficient inference, it also incurs quantization error that impairs model performance. To compensate for quantization error, the present contribution decomposes the original trained weights into a quantized matrix, a low-rank component, and a sparse matrix that accounts for outlier rows in the weights. Due to analytical intractability and the discrete structure of the decomposition, a simulated annealing search is employed to explore candidate decompositions while avoiding poor local minima. Numerical tests demonstrate the effectiveness of this approach across a broad suite of large language models, including Llama 3.2 1B, Llama 3.2 3B, Llama 3.1 8B, and Qwen2.5 7B, evaluated on natural language generation benchmarks using 4-bit NF4 and FP4 quantizers. The novel method can markedly outperform direct quantization while incurring minimal memory overhead.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
GSM8KProposed row-sparse annealing (ρ=1%)exact-match accuracy46.32zero-shot-ptq · params=8B
Source quote
L296: 46.32
MBPPProposed row-sparse annealing (ρ=1%)pass@1 code-generation accuracy48.00zero-shot-ptq · params=8B
Source quote
L297: 48.00
WikiText-2Proposed row-sparse annealing (ρ=1%)word perplexity7.89zero-shot-ptq · params=8B
Source quote
L298: 7.89
GSM8KProposed row-sparse annealing (ρ=1%)exact-match accuracy43.97zero-shot-ptq · params=8B
Source quote
L299: 43.97
MBPPProposed row-sparse annealing (ρ=1%)pass@1 code-generation accuracy46.40zero-shot-ptq · params=8B
Source quote
L300: 46.40
WikiText-2Proposed row-sparse annealing (ρ=1%)word perplexity8.31zero-shot-ptq · params=8B
Source quote
L301: 8.31
BibTeX
@misc{tsigkounakis2026quantization,
  author = {Leonidas Tsigkounakis and Abraham Jaeger Mountain and Yilang Zhang and Georgios B. Giannakis},
  title = {{Quantization of Large Models with Weight Outliers and Sparsity}},
  year = {2026},
  eprint = {2611.00286},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.00286},
}
Figure