paper-with-me

홈 › Papers

QuantEase: Optimization-based Quantization for Language Models

2023-09-05 · Kayhan Behdin, Ayan Acharya, Aman Gupta, Qingquan Song, Siyu Zhu, Sathiya Keerthi, Rahul Mazumder

With the rising popularity of Large Language Models (LLMs), there has been an increasing interest in compression techniques that enable their efficient deployment. This study focuses on the Post-Training Quantization (PTQ) of LLMs. Drawing from recent advances, our work introduces QuantEase, a layer-wise quantization framework where individual layers undergo separate quantization. The problem is framed as a discrete-structured non-convex optimization, prompting the development of algorithms rooted in Coordinate Descent (CD) techniques. These CD-based methods provide high-quality solutions to the complex non-convex layer-wise quantization problems. Notably, our CD-based approach features straightforward updates, relying solely on matrix and vector operations, circumventing the need for matrix inversion or decomposition. We also explore an outlier-aware variant of our approach, allowing for retaining significant weights (outliers) with complete precision. Our proposal attains state-of-the-art performance in terms of perplexity and zero-shot accuracy in empirical evaluations across various LLMs and datasets, with relative improvements up to 15% over methods such as GPTQ. Leveraging careful linear algebra optimizations, QuantEase can quantize models like Falcon-180B on a single NVIDIA A100 GPU in $\sim$3 hours. Particularly noteworthy is our outlier-aware algorithm's capability to achieve near or sub-3-bit quantization of LLMs with an acceptable drop in accuracy, obviating the need for non-uniform quantization or grouping techniques, improving upon methods such as SpQR by up to two times in terms of perplexity.

📄 PDF Abstract BibTeX arXiv:2309.01885

Code (0)

등록된 구현이 없습니다.

Tasks

GPUQuantization

Similar Papers 제목 키워드 기반

VPTQ: Extreme Low-bit Vector Post-Training Quantization for Large Language Models

2024-09-25 · Yifei Liu, Jicheng Wen, Yang Wang, Shengyu Ye 외

Scaling model size significantly challenges the deployment and inference of Large Language Models (LLMs). Due to the redundancy in LLM weights, recent research has focused on pushing weight-only quantization to extremely…

Quantization

Improving Block-Wise LLM Quantization by 4-bit Block-Wise Optimal Float (BOF4): Analysis and Variations

2025-05-10 · Patrick Blumenberg, Thomas Graave, Tim Fingscheidt

Large language models (LLMs) demand extensive memory capacity during both fine-tuning and inference. To enable memory-efficient fine-tuning, existing methods apply block-wise quantization techniques, such as NF4 and AF4,…

Language ModelingLanguage ModellingQuantization

Quant.npu: Enabling Efficient Mobile NPU Inference for on-device LLMs via Fully Static Quantization

2026-05-19 · Jinghe Zhang, Daliang Xu, Chenghua Wang, Weikai Xie 외 arxiv

Large language models (LLMs) are increasingly deployed on mobile devices, where Neural Processing Units (NPUs) necessitate fully static quantization for optimal inference efficiency. However, existing post-training quant…

Zero-Shot Sharpness-Aware Quantization for Pre-trained Language Models

2023-10-20 · Miaoxi Zhu, Qihuang Zhong, Li Shen, Liang Ding 외

Quantization is a promising approach for reducing memory overhead and accelerating inference, especially in large pre-trained language model (PLM) scenarios. While having no access to original training data due to securi…

Language ModelingLanguage ModellingQuantization

SOAR: Scale Optimization for Accurate Reconstruction in NVFP4 Quantization

2026-05-12 · Chengzhu Bao, Xianglong Yan, Zhiteng Li, Guangshuo Qin 외 arxiv

NVFP4 has recently emerged as an efficient 4-bit microscaling format for large language models (LLMs), offering superior numerical fidelity with native hardware support. However, existing methods often yield suboptimal p…