QTIP: Quantization with Trellises and Incoherence Processing

Albert Tseng, Qingyao Sun, David Hou, Christopher De Sa
2/3/2026

No official code found. Best implementation: Cornell-RelaxML/qtip (194 stars, GPL-3.0, last commit 2025-06-22).

Abstract

Post-training quantization (PTQ) reduces the memory footprint of LLMs by quantizing weights to low-precision datatypes. Since LLM inference is usually memory-bound, PTQ methods can improve inference throughput. Recent state-of-the-art PTQ approaches use vector quantization (VQ) to quantize multiple weights at once, which improves information utilization through better shaping. However, VQ requires a codebook with size exponential in the dimension. This limits current VQ-based PTQ works to low VQ dimensions ($\le 8$) that in turn limit quantization quality. Here, we introduce QTIP, which instead uses trellis coded quantization (TCQ) to achieve ultra-high-dimensional quantization. TCQ uses a stateful decoder that separates the codebook size from the bitrate and effective dimension. QTIP introduces a spectrum of lookup-only to computed lookup-free trellis codes designed for a hardware-efficient"bitshift"trellis structure; these codes achieve state-of-the-art results in both quantization quality and inference speed.

View on arXivView PDF

Code Implementations(1)

GPL-3.0
19424C++, CudaJun 17, 20241 years agoGPL-3.0

Similar Papers

Cite this paper

@article{tseng2026qtip,
  title  = {QTIP: Quantization with Trellises and Incoherence Processing},
  author = {Albert Tseng and Qingyao Sun and David Hou and Christopher De Sa},
  year   = {2026},
  eprint = {2406.11235},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2406.11235},
  url    = {https://arxiv.org/abs/2406.11235},
  journal = {NEURIPS 2024 2024}
}

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

Discussion