paper-with-me

홈 › Papers

Optimize Weight Rounding via Signed Gradient Descent for the Quantization of LLMs

2023-09-11 · Wenhua Cheng, Weiwei Zhang, Haihao Shen, Yiyang Cai, Xin He, Kaokao Lv, Yi Liu

Large Language Models (LLMs) have demonstrated exceptional proficiency in language-related tasks, but their deployment poses significant challenges due to substantial memory and storage requirements. Weight-only quantization has emerged as a promising solution, significantly reducing memory and storage needs without sacrificing too much performance. In this study, we introduce SignRound, a method that leverages signed gradient descent (SignSGD) to optimize rounding values and weight clipping in just 200 steps. SignRound integrates the advantages of Quantization-Aware Training (QAT) and Post-Training Quantization (PTQ), delivering exceptional results across 2 to 4 bits while minimizing tuning costs and avoiding additional inference overhead. For example, SignRound achieved absolute average accuracy improvements ranging from 6.91% to 33.22% at 2bits, as measured by the average zero-shot accuracy across 11 tasks. It also demonstrates strong generalization in recent models, achieving near-lossless 4-bit quantization in most scenarios. The source code is publicly available at https://github.com/intel/auto-round.

📄 PDF Abstract BibTeX arXiv:2309.05516

Code (4)

intel/auto-round 공식 구현 pytorch
intel/neural-compressor 공식 구현 tf
rasmith/vllm jax
vllm-project/vllm pytorch

Tasks

Quantization

Similar Papers 제목 키워드 기반

On the Convergence of the Gradient Descent Method with Stochastic Fixed-point Rounding Errors under the Polyak-Lojasiewicz Inequality

2023-01-23 · Lu Xia, Michiel E. Hochstenbach, Stefano Massei

When training neural networks with low-precision computation, rounding errors often cause stagnation or are detrimental to the convergence of the optimizers; in this paper we study the influence of rounding errors on the…

Learned Weight Sharing for Deep Multi-Task Learning by Natural Evolution Strategy and Stochastic Gradient Descent

2020-03-23 · Jonas Prellberg, Oliver Kramer

In deep multi-task learning, weights of task-specific networks are shared between tasks to improve performance on each single one. Since the question, which weights to share between layers, is difficult to answer, human-…

Multi-Task Learning

Overshoot: Taking advantage of future gradients in momentum-based stochastic optimization

2025-01-16 · Jakub Kopal, Michal Gregor, Santiago de Leon-Martinez, Jakub Simko

Overshoot is a novel, momentum-based stochastic gradient descent optimization method designed to enhance performance beyond standard and Nesterov's momentum. In conventional momentum methods, gradients from previous step…

Stochastic Optimization

On the influence of stochastic roundoff errors and their bias on the convergence of the gradient descent method with low-precision floating-point computation

2022-02-24 · Lu Xia, Stefano Massei, Michiel E. Hochstenbach, Barry Koren

When implementing the gradient descent method in low precision, the employment of stochastic rounding schemes helps to prevent stagnation of convergence caused by the vanishing gradient effect. Unbiased stochastic roundi…

Multiplexed gradient descent: Fast online training of modern datasets on hardware neural networks without backpropagation

2023-03-05 · Adam N. McCaughan, Bakhrom G. Oripov, Natesh Ganesh, Sae Woo Nam 외

We present multiplexed gradient descent (MGD), a gradient descent framework designed to easily train analog or digital neural networks in hardware. MGD utilizes zero-order optimization techniques for online training of h…

GPU