Coverage-Based Calibration for Post-Training Quantization via Weighted Set Cover over Outlier Channels

Ibne Farabi Shihab, Sanjeda Akter, Anuj SharmaarXiv 2026

TL;DR

This paper tackles a critical challenge in making large language models (LLMs) more efficient: post-training quantization (PTQ). They propose a novel method, COVERCAL, that frames calibration sample selection as a "weighted set cover" problem, focusing on activating "outlier channels" in the model. This approach significantly improves quantization quality, especially at low calibration budgets, by ensuring that the most important, yet often missed, parts of the model's activations are covered.

What Problem Does This Paper Address?

Deploying large language models (LLMs) like LLaMA and Mistral efficiently on resource-constrained devices is a major goal. Post-training quantization (PTQ) is a key technique for this, reducing model size and inference speed by converting model weights from high-precision (e.g., FP16) to lower precision (e.g., INT4) without retraining. A crucial step in PTQ is using a small "calibration set" of data samples to estimate the dynamic range of activations for each layer. The quality of this calibration set heavily influences the final quantized model's performance.

The problem is that current methods for selecting these calibration samples are often ad-hoc, typically relying on uniform random sampling. This can lead to a failure mode where "outlier channels" – dimensions with unusually large activations – are not sufficiently activated by the calibration set. When this happens, the quantizer underestimates their dynamic range, leading to significant reconstruction errors that disproportionately affect layer-wise loss and degrade overall model performance. This paper argues that simply having a "representative" sample set isn't enough; what matters is covering these critical outlier channels.

Methods

The core innovation of this paper is framing calibration sample selection as a weighted set cover problem. Instead of aiming for a representative sample of the input distribution, the goal is to select a minimal set of calibration samples that "cover" as many "outlier channels" as possible, with each channel weighted by its importance.

Here's a breakdown of their approach:

  • Outlier Channels: They define outlier channels as those whose activations exceed a certain threshold (heuristically set as mean + 6 standard deviations from a reference pool) for at least one sample.
  • Weighted Coverage Objective: They formulate an objective function that maximizes the sum of weights of the covered outlier channels. The weights are derived from two factors: the squared magnitude of the outlier channel's activation and its contribution to the layer's output. This weighting is theoretically justified by a "surrogate consistency bound," which shows that this specific weighting minimizes a stylized per-channel clipping error.
  • Greedy Algorithm (COVERCAL): Since the objective function is monotone submodular, they employ a standard greedy algorithm. This algorithm iteratively selects the sample that provides the largest marginal gain in weighted coverage until the desired calibration budget is met.
  • Offline Profiling: The process involves an initial offline profiling step to compute activation statistics, identify outlier channels, and build a coverage matrix. This step is computationally intensive but done only once per model.
  • CPU-Only Selection: The subsequent selection phase using the greedy algorithm is CPU-only and very fast, making it practical for various calibration budgets.

Datasets

The paper uses publicly available datasets for calibration and evaluation:

  • Calibration Pool: RedPajama [26] (specifically, 10,000 sequences of length 2048) is used as the candidate pool for selecting calibration samples.
  • Downstream Evaluation: Performance is evaluated on standard benchmarks for LLMs:
  • MMLU (5-shot) [10]
    • ARC-Challenge (25-shot) [5]
    • HellaSwag (10-shot) [32]
    • WinoGrande (5-shot) [22]
    • WikiText-2 perplexity

Key Insights and Ideas

  • Coverage over Representativeness: The most significant insight is that for PTQ, the quality of calibration is determined by coverage of outlier channels rather than general representativeness of the input distribution. This shifts the paradigm for selecting calibration data.
  • Outlier Channels Dominate PTQ Error: The paper empirically demonstrates that a small number of outlier channels can be responsible for a disproportionately large share of reconstruction error, especially when they are not activated by the calibration set.
  • Weighted Set Cover is Principled: Framing the problem as weighted set cover is not just a heuristic. The specific weighting scheme is derived from a theoretical analysis of a stylized clipping model, providing a principled justification for the chosen weights.
  • Greedy Algorithm is Sufficient: The submodular nature of the objective allows a simple greedy algorithm to achieve a good approximation guarantee, making the solution computationally efficient.
  • Redundancy in Heuristics: The paper explains why seemingly plausible heuristics like "Max-ActVar" (selecting samples with high activation variance) underperform: they suffer from redundancy, repeatedly selecting samples that cover similar sets of outlier channels, rather than spanning the outlier space effectively.

Key Results

  • Significant Accuracy Improvements: COVERCAL consistently outperforms random sampling and other heuristic baselines (Max-PPL, Max-ActVar, Stratified) across multiple LLM families (LLaMA-2, LLaMA-3, Mistral) and PTQ backends (AWQ, GPTQ).
  • Large Gains at Small Budgets: The advantage of COVERCAL is most pronounced at small calibration budgets (e.g., 64 samples). For instance, on LLaMA-3-8B with AWQ, COVERCAL at 64 samples achieves the same MMLU accuracy as random calibration at 256 samples, a fourfold reduction in budget.
  • Backend Agnostic: The improvements are observed across both AWQ and GPTQ backends, indicating the benefit is primarily from the calibration selection method itself.
  • Outlier Channel Coverage: COVERCAL achieves significantly higher outlier channel coverage (e.g., 26.9% vs. 16.8% for random at K=128) and weighted coverage (24.8% vs. 14.7%), directly supporting the paper's hypothesis.
  • Computational Efficiency: The offline profiling takes about 15 minutes on an A100 GPU, while the greedy selection is CPU-only and takes less than 10 seconds, making it highly practical.

Limitations and Future Work

  • Heuristic Threshold: The outlier threshold (mean + 6 standard deviations) is heuristic. While stable across a range (5σ-7σ), architectures with different outlier distributions might require different thresholds. An adaptive per-model calibration of this threshold is suggested.
  • Assumption of Outlier Dominance: The method assumes outlier channels are the primary drivers of PTQ error. This might weaken for models with quantization-aware pre-training or other outlier-suppressing techniques.
  • Candidate Pool Dependence: The effectiveness of COVERCAL depends on the candidate pool containing samples that can activate outlier channels. If a pool lacks such samples, no selection method can overcome this limitation.
  • INT4 Focus: The evaluation is primarily for INT4 quantization. More aggressive bit-widths (INT3 or below) might require adaptive thresholding (as explored in Section H) to be more effective.
  • Theoretical vs. Empirical Link: While the paper establishes a theoretical link between weighted coverage and a stylized surrogate loss, it does not directly prove a guarantee on downstream accuracy. The empirical correspondence is shown in Sections 5 and 6, but a tighter formal connection would require further assumptions.

Future work could explore adaptive thresholding, investigating the method's effectiveness on models with different quantization-aware training regimes, and developing more robust theoretical guarantees that bridge the gap between the surrogate loss and actual downstream performance.

Summary updated

BibTeX
@misc{shihab2026coverage,
  author = {Ibne Farabi Shihab and Sanjeda Akter and Anuj Sharma},
  title = {{Coverage-Based Calibration for Post-Training Quantization via Weighted Set Cover over Outlier Channels}},
  year = {2026},
  eprint = {2604.24008},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.24008},
}
Figure