paper-with-me

홈 › Papers

ZeroQuant-V2: Exploring Post-training Quantization in LLMs from Comprehensive Study to Low Rank Compensation

2023-03-15 · Zhewei Yao, Xiaoxia Wu, Cheng Li, Stephen Youn, Yuxiong He

Post-training quantization (PTQ) has emerged as a promising technique for mitigating memory consumption and computational costs in large language models (LLMs). However, a systematic examination of various quantization schemes, model families, and quantization bit precision has been absent from the literature. In this paper, we conduct a comprehensive analysis of these factors by investigating the effects of PTQ on weight-only, activation-only, and weight-and-activation quantization using diverse methods such as round-to-nearest (RTN), GPTQ, ZeroQuant, and their variants. We apply these methods to two distinct model families with parameters ranging from 125M to 176B. Our contributions include: (1) a sensitivity analysis revealing that activation quantization is generally more susceptible to weight quantization, with smaller models often outperforming larger models in terms of activation quantization; (2) an evaluation and comparison of existing PTQ methods to optimize model size reduction while minimizing the impact on accuracy, revealing that none of the current methods can achieve the original model quality for quantization with either INT4-weight or INT4-weight-and-INT8-activation; (3) based on these insights, we propose an optimized method called Low-Rank Compensation (LoRC), which employs low-rank matrices to enhance model quality recovery with a minimal increase in model size.

📄 PDF Abstract BibTeX arXiv:2303.08302

Code (2)

microsoft/DeepSpeed 공식 구현 pytorch
modeltc/outlier_suppression_plus pytorch

Tasks

Quantization

Methods 이 논문이 사용한 방법론

None 설명 없음

Similar Papers 제목 키워드 기반

ZeroQuant-HERO: Hardware-Enhanced Robust Optimized Post-Training Quantization Framework for W8A8 Transformers

2023-10-26 · Zhewei Yao, Reza Yazdani Aminabadi, Stephen Youn, Xiaoxia Wu 외

Quantization techniques are pivotal in reducing the memory and computational demands of deep neural network inference. Existing solutions, such as ZeroQuant, offer dynamic quantization for models like BERT and GPT but ov…

Quantization

ZeroQuant: Efficient and Affordable Post-Training Quantization for Large-Scale Transformers

2022-06-04 · Zhewei Yao, Reza Yazdani Aminabadi, Minjia Zhang, Xiaoxia Wu 외

How to efficiently serve ever-larger trained natural language models in practice has become exceptionally challenging even for powerful cloud servers due to their prohibitive memory/computation requirements. In this work…

Knowledge DistillationQuantization

QERA: an Analytical Framework for Quantization Error Reconstruction

2024-10-08 · Cheng Zhang, Jeffrey T. H. Wong, Can Xiao, George A. Constantinides 외

he growing number of parameters and computational demands of large language models (LLMs) present significant challenges for their efficient deployment. Recently, there is an increasing interest in quantizing weights to …

parameter-efficient fine-tuningQuantization

ZeroQuant-FP: A Leap Forward in LLMs Post-Training W4A8 Quantization Using Floating-Point Formats

2023-07-19 · Xiaoxia Wu, Zhewei Yao, Yuxiong He

In the complex domain of large language models (LLMs), striking a balance between computational efficiency and maintaining model quality is a formidable challenge. Navigating the inherent limitations of uniform quantizat…

Computational EfficiencyQuantization

Art and Science of Quantizing Large-Scale Models: A Comprehensive Overview

2024-09-18 · Yanshu Wang, Tong Yang, Xiyan Liang, Guoan Wang 외

This paper provides a comprehensive overview of the principles, challenges, and methodologies associated with quantizing large-scale neural network models. As neural networks have evolved towards larger and more complex …

Quantization