QuIP: 2-Bit Quantization of Large Language Models With Guarantees

By Jerry Chee, Yaohui Cai, Volodymyr Kuleshov, Chris De Sa. Neural Information Processing Systems, 2023

433 citations recorded by the source corpus.

This work studies post-training parameter quantization in large language models (LLMs). We introduce quantization with incoherence processing (QuIP), a new method based on the insight that quantization benefits from incoherent weight and Hessian matrices, i.e., from the weights being even in magnitude and the directions in which it is important to round them accurately being unaligned with the coordinate axes. QuIP consists of two steps: (1) an adaptive rounding procedure minimizing a quadratic proxy objective; (2) efficient pre- and post-processing that ensures weight and Hessian incoherence via multiplication by random orthogonal matrices. We complement QuIP with the first theoretical analysis for an LLM-scale quantization algorithm, and show that our theory also applies to an existing method, OPTQ. Empirically, we find that our incoherence preprocessing improves several existing quantization algorithms and yields the first LLM quantization methods that produce viable results using only two bits per weight. Our code can be found at https://github.com/Cornell-RelaxML/QuIP.

Subfields: Artificial Intelligence

View Paper: https://www.semanticscholar.org/paper/56b828717f32251a5e0f0be9c0113077f23c8429

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Furu Wei
  2. Shaohan Huang
  3. Shuming Ma
  4. Yu Qiao
  5. Wenhui Wang
  6. Ping Luo
  7. Dan Alistarh
  8. Elias Frantar

Citations in the corpus