potentialpaper

MatGPTQ: Efficient and Accurate Inference over Nested Quantized Models

Anonymous authors

ICLR 2027

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. Post-Training Matryoshka Quantization (MatGPTQ) is a one-shot quantization technique that quantizes a model to multiple bit-widths, which can be served in different environments by leveraging custom kernels.

Abstract. Matryoshka Quantization (MatQuant), Any-Precision-LLM (AP) and AnyBCQ (AB) are recent quantization approaches showing that a single integer-quantized model can be served across multiple precisions. In this paradigm, lower-precision models are extracted from a higher-precision model by simply reading fewer bits of the weights. This enables a single checkpoint to cover a wide range of memory and latency budgets, but makes both quantization and efficient execution substantially harder. Existing methods rely on expensive quantization-aware training (QAT) or gradient-based post-training quantization (PTQ) rather than fast one-shot PTQ, and offer limited system support: dedicated kernels are either missing or restricted to single- or small-batch decoding. We address these limitations with Post-Training Matryoshka Quantization (MatGPTQ), an end-to-end pipeline for nested-model quantization and inference. MatGPTQ casts Matryoshka quantization as multi-precision error compensation, producing a single "sliceable" parent model jointly optimized for multiple target precisions in one pass over a small calibration set. We further refine the MatQuant representation so that an rr-bit model reads exactly rr bits, and introduce the first dedicated inference kernels for this format, supporting batch sizes beyond one and integrated into vLLM. Across standard LLMs and benchmarks, MatGPTQ outperforms MatQuant while remaining competitive with AP and AB at the smallest checkpoint size, and our kernels achieve end-to-end speedups of up to 3.5$\times$ over BF16 at the low-bit regime. Overall, MatGPTQ makes nested quantized models practical to serve from a single, compact checkpoint.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
18 Sep 2026ICLR 2027submittedICLR 2027Under reviewreviews ↓[1]PDF[1]
Missing a version?

ICLR 2027

Under review · 3 reviews · OpenReview

Updated 25 Nov 2026, 10:40 UTC.

Reviewer BS8JOpenReview ↗
Rating
4/4(+1)
Confidence
2/4
Soundness
2/3
Presentation
3/3
Informativeness
2/3
Read review
Summary

MatGPTQ extends GPTQ by jointly optimizing a single parent model to support multiple bit-widths within one unified quantized representation. It introduces true-prefix slicing, allowing smaller models to be obtained by selecting prefixes of the parent model while preserving compatibility across different compression levels. In addition, MatGPTQ provides dedicated inference kernels that are optimized for these nested structures, reducing deployment overhead and improving serving efficiency. Together, these techniques form a practical end-to-end pipeline for quantizing, extracting, and serving nested models with flexible accuracy–efficiency trade-offs.

Strengths
  • Coherent method design. The multi-precision objective and the corresponding changes to GPTQ are well motivated. The connection between the quantization algorithm, representation, and execution is clear.

  • Solid experimental evidence. The accuracy results and sliced-GPTQ ablation support the value of joint optimization. The kernel and end-to-end evaluations also demonstrate practical benefits across different workloads.

  • Clear presentation. I found the paper easy to follow, the authors explain the deployment problem and their design choices well, and the appendices provide useful implementation details and ablations.

Weaknesses
  1. The fastest execution setting lacks corresponding accuracy results, the performance evaluation includes peak speedups at 2 bits, but accuracy is only evaluated at 3 bits and above. This leaves the accuracy–throughput trade-off at the fastest setting unresolved. The practical speedup claim would be stronger if tied explicitly to configurations with demonstrated model quality.

  2. The evaluation scope is relatively narrow, accuracy is evaluated on two 8B models. I think these results are useful, but leave uncertainty about how well the approach scales to larger/smaller models and other hardware architectures, sometimes smaller model may more sensitive to quantization, more evaluations will be helpful for understand the method.

Questions for the authors
  1. The designed kernels support 2-bit execution, while accuracy is evaluated at 3 bits and above. Could the authors clarify the intended use of the 2-bit setting and whether its accuracy is suitable for deployment?
  2. In this paper, you use different loss weights for MatQuant and MatGPTQ. Were both methods given comparable tuning opportunities, and how sensitive is the comparison to the MatQuant weighting and optimization budget?
Reviewer dcmQOpenReview ↗
Rating
3/4
Confidence
4/4
Soundness
3/3
Presentation
3/3
Informativeness
2/3
Read review
Summary
  • This paper proposes MatGPTQ, an end-to-end pipeline for nested quantized models. It extends GPTQ to a multi-precision one-shot PTQ method, allowing multiple bit-width models to be extracted from a single checkpoint. Being based on uniform quantization, it yields a smaller checkpoint than state-of-the-art methods, and its dedicated kernels improve practical throughput.
Strengths
  • The paper is well written. The limitations of existing nested quantized models and the improvements made by the proposed method are clearly presented.
  • The kernel implementation is described in detail. In particular, it is interesting that different kernels are used depending on the batch size, distinguishing between memory-bound and compute-bound regimes.
Weaknesses
  • Although the work is well rounded from algorithm to kernel, the methodological contribution is somewhat incremental. Nested quantization is already an actively studied area, and the proposed method is a variant of the existing GPTQ.
  • The analysis of the experimental results is insufficient in some parts (see Questions below).
Questions for the authors
  • In the 4-bit results of Figure 1, why does MatGPTQ show a larger performance drop than the Marlin kernel as the batch size increases?
  • My understanding is that the direct-load kernel is used for small batches (b ≤ 4) and the batched kernel for larger batches. Could you compare the performance of the two kernels across batch sizes?
  • Why are the bit-planes split into bits 1–2, 3, 4, 5–6, and 7–8? What are the trade-offs in performance or overhead compared to other splitting schemes?
Reviewer axWnOpenReview ↗
Rating
3/4
Confidence
3/4
Soundness
2/3
Presentation
3/3
Informativeness
3/3
Read review
Summary

This paper presents MatGPTQ, a one-shot post-training quantization method for obtaining several inference precisions from a single nested checkpoint. The method adapts GPTQ to optimize a shared master code, scale, and zero-point across selected bit-widths through weighted cross-precision error compensation. It also replaces MatQuant’s look-ahead rounding with true-prefix truncation plus a recentering offset, so that an r-bit slice can be reconstructed without reading the next bit (Section 3, Eqs. 3–6).

On the systems side, the authors develop packed bit-plane CUDA kernels for 2/3/4/6/8-bit execution and integrate them with vLLM (Section 4). Evaluation covers Llama3.1-8B-Instruct and Qwen3-8B against independent GPTQ, MatQuant, Any-Precision-LLM, and AnyBCQ. At 3 bits, MatGPTQ scores 68.83 versus 49.65 for the reimplemented MatQuant on Llama (Table 2). The nested checkpoint is reported as roughly 8 GB (Table 1), and the vLLM implementation achieves up to about 3.5× end-to-end speedup over BF16 in memory-bound settings (Section 5.4).

Strengths
  1. The end-to-end contribution is substantial.

The paper does more than demonstrate that one checkpoint can encode multiple precisions. It connects one-shot PTQ, true-prefix weight loading, custom CUDA kernels, and a vLLM integration. This is a meaningful step beyond existing nested methods whose dedicated kernels are limited to batch-one or small-batch decoding. The small-batch results in Sections 5.3–5.4 make the deployment claim more convincing.

  1. The low-bit accuracy/storage trade-off is compelling.

The 3-bit Llama result is particularly useful: MatGPTQ achieves an aggregate score of 68.83, close to independent GPTQ at 69.02, whereas the authors’ MatQuant reproduction reaches 49.65 (Table 2). On Qwen, the corresponding MatGPTQ and MatQuant scores are 74.35 and 72.26. Alongside the reported 8 GB nested checkpoint, versus 10 GB for AP and 13 GB for AB (Table 1), this supports the practical value of the simpler shared-scale format.

Weaknesses
  1. The deployment claim is broader than the evidence.

All hardware measurements use a single RTX A6000, and the accuracy study covers just two dense 8B models (Section 5.1). Although the kernels support 2-bit execution, Table 2 contains no 2-bit quality measurement. There is also no direct accounting of runtime precision-switching overhead, peak memory, or mixed-request serving. The authors themselves report slowdowns around batch size 32 and that their 4/8-bit kernels fall behind Marlin from batch size 16 onward (Section 5.3). None of this negates the low-batch advantage, but it makes the broader serving claims premature.

  1. The source of the gains is not yet sufficiently isolated.

MatQuant is reimplemented because the original code and models are unavailable, and the comparison quantizes Attention+FFN although the original MatQuant PTQ experiments focused on FFN layers (Section 5.2). This makes the size of the advantage harder to interpret. Appendix D varies the loss weights, but there is no controlled ablation of the shared-scale search, master-code selection, weighted error propagation, or recentering offset. It is also worth noting that the complete-layer cost in Table 3 is only 1.06× faster than three separate GPTQ passes. Finally, the “within variance” judgments in Table 2 are based on just three calibration seeds; a non-significant difference is not, by itself, evidence of equivalence.

Questions for the authors
  1. Could the authors report downstream quality at 2 bits and show a quality–throughput comparison for 2/3/4/6/8-bit inference under matched workloads? Without this, it is difficult to assess the usefulness of the fastest configuration.

  2. Could the authors provide controlled ablations of the recentering offset, cross-bit scale search, joint code selection, and weighted error feedback under identical calibration and quantization settings? It would also help to spell out how the MatQuant reproduction differs from the original FFN-only setup and how sensitive the 3-bit gap is to those choices.

  3. Could the authors validate another GPU architecture and measure resident/peak GPU memory, precision-switching cost, and end-to-end throughput with realistic prompt/decode and batch-size mixes? A more detailed comparison with Marlin at batches 16–64 would materially clarify the system contribution.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…

This paper is under review