The Geometry of LLM Quantization: GPTQ as Babai's Nearest Plane Algorithm
Not on the map. Why?
Abstract (arXiv)
Quantizing the weights of large language models (LLMs) from 16-bit to lower bitwidth is the de facto approach to deploy massive transformers onto more affordable accelerators. While GPTQ emerged as one of the standard methods for one-shot post-training quantization at LLM scale, its inner workings are described as a sequence of algebraic updates that obscure geometric meaning or worst-case guarantees. In this work, we show that, when executed back-to-front (from the last to first dimension) for a linear layer, GPTQ is mathematically identical to Babai's nearest plane algorithm for the classical closest vector problem (CVP) on a lattice defined by the Hessian matrix of the layer's inputs. This equivalence is based on a sophisticated mathematical argument, and has two analytical consequences: first, the GPTQ error propagation step gains an intuitive geometric interpretation; second, GPTQ inherits the error upper bound of Babai's algorithm under the assumption that no weights are clipped. Leveraging this bound, we design post-training quantization methods that avoid clipping, and outperform the original GPTQ. In addition, we provide efficient GPU inference kernels for the resulting representation. Taken together, these results place GPTQ on a firm theoretical footing and open the door to importing decades of progress in lattice algorithms towards the design of future quantization algorithms for billion-parameter models. Source code is available at https://github.com/IST-DASLab/GPTQ-Babai.
Key facts. Cited by 20 papers in the map (data through 14 Oct 2026). Builds on 11 of its 30 references that are in the map. First posted on arXiv 24 Jul 2025.
Builds on
11 of 30 references.
References · 11
- 2021A Survey of Quantization Methods for Efficient Neural Network Inferencecited by 815
- 2023QuIP: 2-Bit Quantization of Large Language Models With Guaranteescited by 414
- 2024QuIP#: Even Better LLM Quantization with Hadamard Incoherence and Lattice Codebookscited by 378
- 2023SpQR: A Sparse-Quantized Representation for Near-Lossless LLM Weight Compressioncited by 367
- 2022Optimal Brain Compression: A Framework for Accurate Post-Training Quantization and Pruningcited by 322
- 2024Extreme Compression of Large Language Models via Additive Quantizationcited by 232
- 2023Power Hungry Processing: Watts Driving the Cost of AI Deployment?cited by 191
- 2024QTIP: Quantization with Trellises and Incoherence Processingcited by 91
- 2016Towards the Limit of Network Quantizationcited by 50
- 2024"Give Me BF16 or Give Me Death"? Accuracy-Performance Trade-Offs in LLM Quantizationcited by 34
- 2025ICQuant: Index Coding enables Low-bit LLM Quantizationcited by 9
Built on by
Citing papers per year: 2025: 2; 2026: 18.
20 papers.
Sort:
By area:
- 2025WUSH: Near-Optimal Adaptive Transforms for LLM Quantizationcited by 15
- 2025The Lattice Geometry of Neural Network Quantization -- A Short Equivalence Proof of GPTQ and Babai's Algorithmcited by 9
- 2026WaterSIC: Information-Theoretically (Near) Optimal Linear Layer Quantizationcited by 7
- 2026CoreQ: Learning-Free Mismatch Correction and Successive Rounding for Quantizationcited by 6
- 2026High-Rate Quantized Matrix Multiplication IIcited by 4
- 2026BPDQ: Bit-Plane Decomposition Quantization on a Variable Grid for Large Language Modelscited by 2
- 2026HoloQ-VLA: Uniform W4A4 Quantization of Vision-Language-Action Modelscited by 2
- 2026GPTQ-2D: Cubic-Time Two-Sided Adaptive Roundingcited by 2
- 2026SoftWater: Class-Aware Rate Allocation for Softmax Quantizationcited by 2
- 2026Price of metric universality in vector quantization is at most 0.11 bitcited by 1
- 2026OJBKQ: Objective-Joint Babai-Klein Quantizationcited by 1
- 2026GoQuant: Geometric Orthogonal Residual Projection for Multiplier-Free Power-of-Two Transformer Quantizationcited by 1
8 more
- 2026FastKron: Efficient Quantization with Kronecker-Factored Hessianscited by 1
- 2026SchurQuant: Groupwise Discrete Optimization for Layer-Wise LLM Quantizationcited by 0
- 2026WaterKron and FlipFlop Hessian: Information-Theoretically Grounded Quantization with Kronecker-factored Hessianscited by 0
- 2026Generalization behavior of OPTQ and the role of regularizationcited by 0
- 2026Product-Aware Deterministic Rounding for Quantized Matrix Multiplicationcited by 0
- 2026EntroPack: Fast and Accurate Entropy-Coded Weight Compression at Arbitrary Bitratescited by 0
- 2026JARQ: Joint Alternating Refinement for Quantizationcited by 0
- 2026Revisiting Error Feedback for Model Quantizationcited by 0
- 2026Revisiting Error Feedback for Model Quantization13 Oct 2026
- 2026JARQ: Joint Alternating Refinement for Quantization29 Sep 2026
- 2026EntroPack: Fast and Accurate Entropy-Coded Weight Compression at Arbitrary Bitrates28 Sep 2026
- 2026Generalization behavior of OPTQ and the role of regularization25 Sep 2026
- 2026WaterKron and FlipFlop Hessian: Information-Theoretically Grounded Quantization with Kronecker-factored Hessians13 Sep 2026
- 2026Product-Aware Deterministic Rounding for Quantized Matrix Multiplication11 Sep 2026
- 2026SchurQuant: Groupwise Discrete Optimization for Layer-Wise LLM Quantization16 Aug 2026
- 2026SoftWater: Class-Aware Rate Allocation for Softmax Quantization12 Aug 2026
- 2026FastKron: Efficient Quantization with Kronecker-Factored Hessians6 Aug 2026
- 2026GPTQ-2D: Cubic-Time Two-Sided Adaptive Rounding29 Jul 2026
- 2026HoloQ-VLA: Uniform W4A4 Quantization of Vision-Language-Action Models27 May 2026
- 2026GoQuant: Geometric Orthogonal Residual Projection for Multiplier-Free Power-of-Two Transformer Quantization25 May 2026
8 more
- 2026High-Rate Quantized Matrix Multiplication II13 May 2026
- 2026WaterSIC: Information-Theoretically (Near) Optimal Linear Layer Quantization5 Mar 2026
- 2026OJBKQ: Objective-Joint Babai-Klein Quantization9 Feb 2026
- 2026CoreQ: Learning-Free Mismatch Correction and Successive Rounding for Quantization5 Feb 2026
- 2026Price of metric universality in vector quantization is at most 0.11 bit5 Feb 2026
- 2026BPDQ: Bit-Plane Decomposition Quantization on a Variable Grid for Large Language Models4 Feb 2026
- 2025WUSH: Near-Optimal Adaptive Transforms for LLM Quantization30 Nov 2025
- 2025The Lattice Geometry of Neural Network Quantization -- A Short Equivalence Proof of GPTQ and Babai's Algorithm1 Aug 2025
- 2025WUSH: Near-Optimal Adaptive Transforms for LLM Quantizationcited by 15
- 2025The Lattice Geometry of Neural Network Quantization -- A Short Equivalence Proof of GPTQ and Babai's Algorithmcited by 9
- 2026WaterSIC: Information-Theoretically (Near) Optimal Linear Layer Quantizationcited by 7
- 2026CoreQ: Learning-Free Mismatch Correction and Successive Rounding for Quantizationcited by 6
- 2026High-Rate Quantized Matrix Multiplication IIcited by 4
- 2026BPDQ: Bit-Plane Decomposition Quantization on a Variable Grid for Large Language Modelscited by 2
- 2026GPTQ-2D: Cubic-Time Two-Sided Adaptive Roundingcited by 2
- 2026SoftWater: Class-Aware Rate Allocation for Softmax Quantizationcited by 2
- 2026Price of metric universality in vector quantization is at most 0.11 bitcited by 1
- 2026OJBKQ: Objective-Joint Babai-Klein Quantizationcited by 1
- 2026GoQuant: Geometric Orthogonal Residual Projection for Multiplier-Free Power-of-Two Transformer Quantizationcited by 1
- 2026FastKron: Efficient Quantization with Kronecker-Factored Hessianscited by 1
12 most cited of 19 All 19 (JSON)
- 2026Revisiting Error Feedback for Model Quantization13 Oct 2026
- 2026JARQ: Joint Alternating Refinement for Quantization29 Sep 2026
- 2026EntroPack: Fast and Accurate Entropy-Coded Weight Compression at Arbitrary Bitrates28 Sep 2026
- 2026Generalization behavior of OPTQ and the role of regularization25 Sep 2026
- 2026WaterKron and FlipFlop Hessian: Information-Theoretically Grounded Quantization with Kronecker-factored Hessians13 Sep 2026
- 2026Product-Aware Deterministic Rounding for Quantized Matrix Multiplication11 Sep 2026
- 2026SchurQuant: Groupwise Discrete Optimization for Layer-Wise LLM Quantization16 Aug 2026
- 2026SoftWater: Class-Aware Rate Allocation for Softmax Quantization12 Aug 2026
- 2026FastKron: Efficient Quantization with Kronecker-Factored Hessians6 Aug 2026
- 2026GPTQ-2D: Cubic-Time Two-Sided Adaptive Rounding29 Jul 2026
- 2026GoQuant: Geometric Orthogonal Residual Projection for Multiplier-Free Power-of-Two Transformer Quantization25 May 2026
- 2026High-Rate Quantized Matrix Multiplication II13 May 2026
12 newest of 19 All 19 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2024GPTVQ: The Blessing of Dimensionality for LLM Quantization
- 2024CDQuant: Greedy Coordinate Descent for Accurate LLM Quantization
- 2026G2PTQ: Improving LLM Post-Training Quantization with Generalized Gradient Compensation
- 2023Gradient-Based Post-Training Quantization: Challenging the Status Quo
- 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers
- 2025PTQTP: Post-Training Quantization to Trit-Planes for Large Language Models
- 2026Scale Sensitivity in Low-Bit Post-Training Quantization: Curvature of the Quantization Error Landscape
- 2026GSQ: Highly-Accurate Low-Precision Scalar Quantization for LLMs via Gumbel-Softmax Sampling