CoreQ: Mismatch-Corrected Successive Rounding for LLM Quantization

Seohyeon Cha, Huancheng Chen, Dongjun Kim, Haoran Zhang, Kevin S Chan, Gustavo De Veciana, Haris VikaloNeurIPS 2026

TL;DR

Shrinking massive language models down to 2 or 3 bits usually creates a domino effect: tiny rounding errors in early layers snowball, distorting the inputs fed into deeper layers. Trying to fully erase this accumulated drift using a small calibration dataset actually backfires and causes overfitting, so CoreQ uses simple geometry to calculate the exact, safe amount of error to correct at every single layer—no training or manual tuning required. Paired with a clever lookahead search for rounding weights, it slashes 2-bit quantization errors roughly in half compared to top baselines.

What Problem Does This Paper Address?

To run giant LLMs on everyday hardware, we rely on Post-Training Quantization (PTQ): compressing high-precision weights into low-bit grids (like 2, 3, or 4 bits) without expensive retraining. Because doing this for billions of parameters all at once is intractable, standard PTQ works sequentially, layer by layer, using a tiny sample of "calibration" data (say, 128 text snippets) to ensure the quantized layer's output mimics the original.

Here is the catch: activation mismatch. Once Layer 1 is quantized, its output is slightly off. Layer 2 now receives noisy inputs it never saw in the original full-precision model. Standard methods (like GPTQ) ignore this upstream drift, allowing errors to compound. Newer "mismatch-aware" methods try to fix it by forcing Layer 2's quantized weights to match the original, pristine model's Layer 2 output, effectively asking Layer 2 to clean up Layer 1's mess.

The authors reveal a hidden trap in this cleanup strategy: because you only have a tiny calibration set, forcing a layer to compensate 100% for observed upstream errors causes it to overfit to noise in that specific calibration batch. Conversely, picking a single, fixed "compromise" dial across the whole network fails because different layers experience vastly different types of drift.

Methods

CoreQ tackles layer-wise quantization in two distinct stages: picking the right target, and rounding weights to hit it.

  1. Geometric Mismatch Decomposition (New): Not all upstream error can be fixed by tweaking the current layer's weights. Using linear algebra, CoreQ projects the observed error onto the current layer's "reachable subspace"—splitting the mismatch into a correctable signal ($s$) and an orthogonal, unfixable residual ($\eta$). From this, CoreQ derives a closed-form, per-layer correction dial: $$\alpha_{\text{corr}} = \frac{\|s\|_F^2}{\|s\|_F^2 + \|\eta\|_F^2}$$ If the error mostly lies where the layer can cleanly absorb it, $\alpha_{\text{corr}}$ approaches 1. If the unfixable residual is huge (a warning sign of noisy, unreliable geometry), $\alpha_{\text{corr}}$ shrinks toward 0. Computing this takes no gradient descent or hyperparameter sweeps—just 1.1% of GPU calibration time.
Figure 2: (Top) Fixed-α baselines use globally chosen correction coefficient on LLaMA-3-8B. CoreQ uses a per-layer αcorr and matches or improves upon the best fixed α across granularities and datasets. (Bottom) αcorr varies substantially across layer types and depths, with similar patterns across LLaMA model variants. This supports using layer-dependent correction coefficients. Additional observations are in Appendix C.1.
  1. Bounded Beam-Search Rounding, $K$-CoreQ (New extension): Once the target is set, snapping continuous weights onto a discrete low-bit grid can be framed as a triangular least-squares problem (via Cholesky decomposition, standard in solvers like LDLQ). Normally, weights are rounded greedily one column at a time, meaning an early bad rounding choice haunts the rest of the row. $K$-CoreQ turns this into a GPU-batched tree search, keeping the top $K$ candidate rounding paths alive simultaneously before committing.

Datasets

No new datasets are introduced; the authors use standard benchmarks to calibrate and test across LLaMA-2/3 (7B to 70B), LLaMA-3.1-8B-Instruct, Qwen3-8B, and Phi-3 Mini (3.8B):

  • Calibration: 128 sequences from C4 (or WikiText-2 for weight-activation experiments).
  • Evaluation: Language modeling perplexity on WikiText-2 and C4; zero-shot accuracy on six commonsense tasks (WinoGrande, PIQA, HellaSwag, BoolQ, ARC-Easy, ARC-Challenge); and MMLU (5-shot) and GSM8K (8-shot) for instruction-tuned models.

Key Insights and Ideas

  • Full correction is a statistical trap: Intuitively, matching the true full-precision output sounds strictly better than ignoring upstream errors. Both theoretically and empirically, the authors prove that under finite calibration data, 100% correction ($\alpha=1$) amplifies estimation noise and degrades test perplexity.
  • Layers have distinct "personalities": Plotting $\alpha_{\text{corr}}$ across LLaMA models from 7B to 70B reveals a striking, repeatable fingerprint (see Figure above). Attention output projections ($W_O$) consistently support much stronger mismatch correction than value projections ($W_V$) or MLP gates, showing why a single global hyperparameter leaves accuracy on the table.
  • Lookahead beats backtracking: In discrete rounding, spending compute to keep a small beam of $K$ parallel choices ($K$-CoreQ) reduces perplexity roughly 5x faster per second than standard post-hoc coordinate descent (repeatedly looping back to flip individual weights).
Figure 3: (a) Performance–efficiency trade-offs of K-CoreQ for 3-bit L2-7B. WikiText-2 and C4 perplexity are plotted vs. quantization time (left column) and peak GPU memory (right column) as beam width K increases. (b) C4 perplexity vs. search time for increasing beam width K and additional coordinate-descent (CD) passes (±1 std. shaded). (c) Mean marginal perplexity improvement per second: beam expansion vs. CD passes.

Key Results

CoreQ and $K$-CoreQ consistently outperform learning-free baselines (GPTQ, GPTAQ, LDLQ) and even much slower gradient-based methods (OmniQuant, GuidedQuant), with the biggest wins appearing when quantization constraints are tightest:

  • Extreme Low-Bit (2-bit LLaMA-2-70B): Per-channel baselines practically collapse on WikiText-2 (perplexities $>180$). CoreQ drops perplexity to 94.97, and 8-CoreQ pushes it down to 79.07—a 48–56% reduction over the best baseline.
  • 3-bit Weight-Only Quantization: On per-channel LLaMA-3-8B, CoreQ cuts WikiText-2 perplexity by 33% compared to LDLQ (24.65 $\rightarrow$ 16.48), while 4-CoreQ reaches 14.90 and boosts zero-shot accuracy by over 4 percentage points. Similar gains hold on Qwen3-8B and Phi-3.8B.
  • Full Weight–Activation–KV Quantization: Plugged into rotation pipelines like QuaRot and SpinQuant (W4A4KV4), CoreQ consistently achieves the lowest perplexity across LLaMA models at comparable wall-clock runtimes.

Limitations and Future Work

  • Still sequential and local: While CoreQ looks backward to soften errors from earlier layers, it still quantizes one layer at a time rather than optimizing multiple layers jointly.
  • Linear target paths only: CoreQ only interpolates along a straight line between the standard target and the full mismatch target. Exploring efficient nonlinear target corrections could handle more complex distortion.
  • Geometric ceiling on activation quantization: When activations and KV-caches are also quantized to 4 bits, CoreQ's margin of victory narrows—because activation noise injects errors outside the weight matrix's reachable subspace, where no weight adjustment can reach it.

Summary updated

Abstract

Post-training quantization (PTQ) enables efficient deployment of large language models by mapping pretrained weights to low-bit formats without retraining, typically using a small calibration set to minimize a layer-wise calibration objective. However, this sequential procedure induces a mismatch: errors from earlier quantized layers alter the inputs received by later layers, causing the activations to deviate from those of the full-precision model. Recent approaches introduce mismatch-aware calibration objectives to compensate for this effect, but leave open how much of the observed mismatch should shift each layer's calibration target. We show that fully applying the empirical mismatch correction can overfit finite calibration data, while using a fixed correction coefficient ignores variation in mismatch estimates across layers. To address these limitations, we propose CoreQ, a learning-free PTQ framework that uses a geometric decomposition of the mismatch to compute a closed-form, layer-adaptive correction coefficient. This coefficient controls how much of the observed mismatch enters each layer's calibration target, reducing overfitting to limited calibration data without coefficient tuning. CoreQ then applies efficient greedy successive rounding to the resulting triangular least-squares objective. Its bounded beam-search extension, K-CoreQ, trades modest additional compute for improved performance. Across multiple LLM families, scales, bit-widths, and quantization settings, CoreQ and K-CoreQ achieve lower perplexity and higher downstream accuracy than strong PTQ baselines.
BibTeX
@inproceedings{cha2026coreq,
  author = {Seohyeon Cha and Huancheng Chen and Dongjun Kim and Haoran Zhang and Kevin S Chan and Gustavo De Veciana and Haris Vikalo},
  title = {{CoreQ: Mismatch-Corrected Successive Rounding for LLM Quantization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=2OSsvaeOHi},
}
Figure