OWQ: Outlier-Aware Weight Quantization for Efficient Fine-Tuning and Inference of Large Language Models

Changhun Lee, Jungyu Jin, Taesu Kim, Hyungjun Kim, Eunhyeok Park
6/4/2023
182 citations
cs.CL
quantization-pruning

Official code: xvyaward/owq (85 stars, Python, last commit 2024-03-07). 1 more implementation below.

Abstract

Large language models (LLMs) with hundreds of billions of parameters require powerful server-grade GPUs for inference, limiting their practical deployment. To address this challenge, we introduce the outlier-aware weight quantization (OWQ) method, which aims to minimize LLM's footprint through low-precision representation.

Show full abstract

OWQ prioritizes a small subset of structured weights sensitive to quantization, storing them in high-precision, while applying highly tuned quantization to the remaining dense weights. This sensitivity-aware mixed-precision scheme reduces the quantization error notably, and extensive experiments demonstrate that 3.1-bit models using OWQ perform comparably to 4-bit models optimized by OPTQ. Furthermore, OWQ incorporates a parameter-efficient fine-tuning for task-specific adaptation, called weak column tuning (WCT), enabling accurate task-specific LLM adaptation with minimal memory overhead in the optimized format. OWQ represents a notable advancement in the flexibility, efficiency, and practicality of LLM optimization literature. The source code is available at https://github.com/xvyaward/owq

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
xvyaward/owqOfficial85Python–2024-03-07
ECoLab-POSTECH/OWQCommunity16Python–2024-03-07
xvyaward/owqOfficial100%

Code for the AAAI 2024 Oral paper "OWQ: Outlier-Aware Weight Quantization for Efficient Fine-Tuning and Inference of Large Language Models".

858Python, CudaJun 13, 20232 years ago
efficient-modellarge-language-modelsllmquantization
ECoLab-POSTECH/OWQCommunity100%
160Python, CudaJun 3, 20232 years ago

Similar Papers

Cite this paper

@article{lee2023owq,
  title  = {OWQ: Outlier-Aware Weight Quantization for Efficient Fine-Tuning and Inference of Large Language Models},
  author = {Changhun Lee and Jungyu Jin and Taesu Kim and Hyungjun Kim and Eunhyeok Park},
  year   = {2023},
  eprint = {2306.02272},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.02272v4}
}

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

Discussion