MPQ: A Message-Passing View of Post-Training Quantization

Yanshuo Chen, Chenxi Liu, Reza Shirkavand, Heng Huang
10/23/2026
cs.AIcs.LG
quantization-pruning

Official code: poseidonchan/MPQ (2 stars, Python, Apache-2.0, last commit 2026-10-23).

Abstract

Post-training quantization (PTQ) is a key technique for efficiently deploying large language models, as it compresses weights into low-bit representations without retraining. Existing PTQ solvers, including GPTQ, LDLQ, and block coordinate descent, commit each weight block to a single codeword before its neighbors are considered, leaving near-optimal alternatives unexplored.

Show full abstract

In this work, we cast row-wise PTQ as posterior inference over discrete codebooks, in which existing solvers correspond to a zero-temperature, hard-decision limit retaining only the top codeword per block. We propose Message-Passing Quantization (MPQ), which preserves soft posterior information across blocks during inference and commits to hard codewords only at the output stage. MPQ first uses vector approximate message passing to compute approximate blockwise posteriors, then refines a hard-decision initialization by exact block coordinate descent. Across 2-bit lattice and 3- and 4-bit scalar quantization on dense language models from Llama, Qwen, and Mistral families, MPQ improves perplexity and zero-shot accuracy over strong hard-decision baselines, and composes favorably with preprocessing techniques such as activation-aware scaling and incoherence processing. Our implementation is available at https://github.com/poseidonchan/MPQ.

View on arXivView PDF

Code Implementations(1)

poseidonchan/MPQOfficial100%
Apache-2.0

Message-Passing Quantization for LLM

20Python, ShellMar 15, 20261 months agoApache-2.0

Similar Papers

Cite this paper

@article{chen2026mpq,
  title  = {MPQ: A Message-Passing View of Post-Training Quantization},
  author = {Yanshuo Chen and Chenxi Liu and Reza Shirkavand and Heng Huang},
  year   = {2026},
  eprint = {2610.32127},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.32127v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.32127.svg)](https://codeofpaper.com/paper/2610.32127)

Discussion