GuidedQuant: Large Language Model Quantization via Exploiting End Loss Guidance
Jinuk Kim, Marwa El Halabi, Wonpyo Park, Clemens JS Schaefer, Deokjae Lee, Yeonhong Park, Jae W. Lee, Hyun Oh Song

TL;DR
GuidedQuant introduces a novel quantization method for large language models that leverages end loss guidance and preserves weight interactions, significantly improving quantization performance without retraining.
Contribution
The paper presents GuidedQuant, a new quantization approach that incorporates end loss gradient information and maintains cross-weight dependencies, along with a non-uniform scalar quantization algorithm.
Findings
Boosts performance of state-of-the-art quantization methods
Outperforms existing non-uniform quantization algorithms
Provides a reproducible implementation available online
Abstract
Post-training quantization is a key technique for reducing the memory and inference latency of large language models by quantizing weights and activations without requiring retraining. However, existing methods either (1) fail to account for the varying importance of hidden features to the end loss or, when incorporating end loss, (2) neglect the critical interactions between model weights. To address these limitations, we propose GuidedQuant, a novel quantization approach that integrates gradient information from the end loss into the quantization objective while preserving cross-weight dependencies within output channels. GuidedQuant consistently boosts the performance of state-of-the-art quantization methods across weight-only scalar, weight-only vector, and weight-and-activation quantization. Additionally, we introduce a novel non-uniform scalar quantization algorithm, which is…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
- 🤗jusjinuk/Llama-2-7b-hf-2bit-LNQmodel
- 🤗jusjinuk/Llama-2-7b-hf-2bit-GuidedQuant-LNQmodel· 8 dl8 dl
- 🤗jusjinuk/Llama-2-7b-hf-3bit-LNQmodel· 1 dl1 dl
- 🤗jusjinuk/Llama-2-7b-hf-3bit-GuidedQuant-LNQmodel· 10 dl10 dl
- 🤗jusjinuk/Llama-2-7b-hf-4bit-LNQmodel· 2 dl2 dl
- 🤗jusjinuk/Llama-2-7b-hf-4bit-GuidedQuant-LNQmodel· 2 dl2 dl
- 🤗jusjinuk/Llama-2-13b-hf-2bit-LNQmodel· 1 dl1 dl
- 🤗jusjinuk/Llama-2-13b-hf-2bit-GuidedQuant-LNQmodel· 1 dl1 dl
- 🤗jusjinuk/Llama-2-13b-hf-3bit-LNQmodel
- 🤗jusjinuk/Llama-2-13b-hf-3bit-GuidedQuant-LNQmodel· 2 dl2 dl
Videos
Taxonomy
TopicsTopic Modeling · Natural Language Processing Techniques
