paper-with-me

Papers

AWEQ: Post-Training Quantization with Activation-Weight Equalization for Large Language Models

2023-11-02 · Baisong Li, Xingwang Wang, Haixiao Xu

Large language models(LLMs) exhibit excellent performance across a variety of tasks, but they come with significant computational and storage costs. Quantizing these models is an effective way to alleviate this issue. However, existing methods struggle to strike a balance between model accuracy and hardware efficiency. This is where we introduce AWEQ, a post-training method that requires no additional training overhead. AWEQ excels in both ultra-low-bit quantization and 8-bit weight and activation (W8A8) quantization. There is an observation that weight quantization is less challenging than activation quantization. AWEQ transfers the difficulty of activation quantization to weights using channel equalization, achieving a balance between the quantization difficulties of both, and thereby maximizing performance. We have further refined the equalization method to mitigate quantization bias error, ensuring the robustness of the model. Extensive experiments on popular models such as LLaMA and OPT demonstrate that AWEQ outperforms all existing post-training quantization methods for large models.

📄 PDF Abstract BibTeX arXiv:2311.01305

Code (0)

등록된 구현이 없습니다.

Tasks

Quantization

Methods 이 논문이 사용한 방법론

OPT OPT is a suite of decoder-only pre-trained transformers ranging from 125M to 175B parameters. The model uses an AdamW optimizer and weight decay of 0.1. It follows a linear…

Similar Papers 제목 키워드 기반

Achieving binary weight and activation for LLMs using Post-Training Quantization

2025-04-07 · Siqing Song, Chuang Wang, Ruiqi Wang, Yi Yang 외

Quantizing large language models (LLMs) to 1-bit precision significantly reduces computational costs, but existing quantization techniques suffer from noticeable performance degradation when using weight and activation p…

Quantization

LRQ: Optimizing Post-Training Quantization for Large Language Models by Learning Low-Rank Weight-Scaling Matrices

2024-07-16 · Jung Hyun Lee, Jeonghoon Kim, June Yong Yang, Se Jung Kwon 외

With the commercialization of large language models (LLMs), weight-activation quantization has emerged to compress and accelerate LLMs, achieving high throughput while reducing inference costs. However, existing post-tra…

Quantization

ERQ: Error Reduction for Post-Training Quantization of Vision Transformers

2024-07-09 · Yunshan Zhong, Jiawei Hu, You Huang, Yuxin Zhang 외

Post-training quantization (PTQ) for vision transformers (ViTs) has garnered significant attention due to its efficiency in compressing models. However, existing methods typically overlook the intricate interdependence b…

Quantizationregression

Efficient Adaptive Activation Rounding for Post-Training Quantization

2022-08-25 · Zhengyi Li, Cong Guo, Zhanda Zhu, Yangjie Zhou 외

Post-training quantization attracts increasing attention due to its convenience in deploying quantized neural networks. Although rounding-to-nearest remains the prevailing method for DNN quantization, prior research has …

Quantization

EasyQuant: Post-training Quantization via Scale Optimization

2020-06-30 · Di Wu, Qi Tang, Yongle Zhao, Ming Zhang 외

The 8 bits quantization has been widely applied to accelerate network inference in various deep learning applications. There are two kinds of quantization methods, training-based quantization and post-training quantizati…

Quantization