Learning Grouped Lattice Vector Quantizers for Low-Bit LLM Compression

Xi Zhang, Xiaolin Wu, Jiamang Wang, Weisi Lin
10/23/2025
cs.LGcs.AI

Official code: xzhang9308/GLVQ (16 stars, last commit 2025-10-24).

Abstract

Large Language Models (LLMs) have demonstrated remarkable capabilities but typically require extensive computational resources and memory for inference. Post-training quantization (PTQ) can effectively reduce these demands by storing weights in lower bit-width formats. However, standard uniform quantization often leads to notable performance degradation, particularly in low-bit scenarios. In this work, we introduce a Grouped Lattice Vector Quantization (GLVQ) framework that assigns each group of weights a customized lattice codebook, defined by a learnable generation matrix. To address the non-differentiability of the quantization process, we adopt Babai rounding to approximate nearest-lattice-point search during training, which enables stable optimization of the generation matrices. Once trained, decoding reduces to a simple matrix-vector multiplication, yielding an efficient and practical quantization pipeline. Experiments on multiple benchmarks show that our approach achieves a better trade-off between model size and accuracy compared to existing post-training quantization baselines, highlighting its effectiveness in deploying large models under stringent resource constraints. Our source code is available on GitHub repository: https://github.com/xzhang9308/GLVQ.

View on arXivView PDF

Code Implementations(1)

xzhang9308/GLVQOfficial100%

[NeurIPS 2025] Official PyTorch implementation of paper "Learning Grouped Lattice Vector Quantizers for Low-Bit LLM Compression".

160Oct 23, 202512 months ago

Similar Papers

Cite this paper

@article{zhang2025learning,
  title  = {Learning Grouped Lattice Vector Quantizers for Low-Bit LLM Compression},
  author = {Xi Zhang and Xiaolin Wu and Jiamang Wang and Weisi Lin},
  year   = {2025},
  eprint = {2510.20984},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.20984v1}
}

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/2510.20984.svg)](https://codeofpaper.com/paper/2510.20984)

Discussion