跳到正文
arXiv (AI + Vision + Imaging)· Yanshuo Chen, Chenxi Liu, Reza Shirkavand, Heng Huang·AI 评分29

MPQ:以消息传递视角重构训练后量化

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

AI 导读

研究者提出 Message-Passing Quantization(MPQ),将逐行训练后量化建模为离散码本上的后验推断,推理阶段保留块间软后验信息,仅在输出阶段确定硬码字。

正文 · 原文

arXiv:2610.32127v1 Announce Type: new 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. 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.

来源:arXiv (AI + Vision + Imaging) · arxiv.org