Quantization stands as a pivotal technique for large language model (LLM) serving, yet it poses significant challenges particularly in achieving effective low-bit quantization. The limited numerical mapping makes the quantized model produce a non-trivial error, bringing out intolerable performance degration. This paper is anchored in the basic idea of model compression objectives, and delves into the layer-wise error distribution of LLMs during post-training quantization. Subsequently, we introduce ASER, an algorithm consisting of (1) Error Reconstruction: low-rank compensation for quantization error with LoRA-style matrices constructed by whitening SVD; (2) Activation Smoothing: outlier extraction to gain smooth activation and better error compensation. ASER is capable of quantizing typical LLMs to low-bit ones, particularly preserving accuracy even in W4A8 per-channel setup. Experimental results show that ASER is competitive among the state-of-the-art quantization algorithms, showing potential to activation quantization, with minor overhead.
Doctoral School of Applied Informatics and Applied Mathematics, Obuda University(应用信息与应用数学博士学院,奥布达大学);John von Neumann Faculty of Informatics, Obuda University(约翰·冯·诺伊曼信息学院,奥布达大学)
Graph-Regularized Sparse Autoencoders for LLM Safety Steering
ELLIS Institute Tübingen(图宾根ELLIS研究所);Max Planck Institute for Intelligent Systems(智能系统马克斯·普朗克研究所);Intesa Sanpaolo(Intesa Sanpaolo公司);University of Southern California(南加州大学)
SMU: smooth activation function for deep networks using smoothing maximum technique
深度学习研究人员对提出两种新的激活函数有浓厚的兴趣,它们可以提高网络性能。激活函数的良好选择可以在改善网络性能方面具有显著的效果。手工激活是神经网络模型中最常见的选择。ReLU是深度学习社区中最常见的选择,因为它的简单性,尽管ReLU有一些严重的缺点。在本文中,我们提出了一种新的激活函数,它基于对Leaky ReLU等已知激活函数的近似,我们称之为Smooth Maximum Unit(SMU)。用SMU代替ReLU,我们使用ShuffleNet V2模型在CIFAR100数据集上获得了6.22%的改进。
The Curse and Blessing of Mean Bias in FP4-Quantized LLM Training
Fudan University(复旦大学);University of Bath(巴斯大学);Shanghai Innovation Institute(上海创新研究院);University of Oxford(牛津大学);Oxford Suzhou Centre for Advanced Research(牛津苏浙研究中心);University of Colorado Boulder(科罗拉多大学波德格分校);University of Michigan(密歇根大学);Shenzhen Loop Area Institute(深圳河套学院)
DartQuant: Efficient Rotational Distribution Calibration for LLM Quantization
Nanjing University of Science and Technology(南京理工大学);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);Huawei Technologies Co., Ltd.(华为技术有限公司)
CodeQuant: Unified Clustering and Quantization for Enhanced Outlier Smoothing in Low-Precision Mixture-of-Experts
Courant Institute of Mathematical Sciences, New York University(纽约大学库朗数学科学研究所);Tandon School of Engineering, New York University(纽约大学坦登工程学院);Cerebras Systems Inc.(Cerebras系统公司)