The ever-growing computational complexity of Large Language Models (LLMs) necessitates efficient deployment strategies. The current state-of-the-art approaches for Post-training Quantization (PTQ) often require calibration to achieve the desired accuracy. This paper presents AdpQ, a novel zero-shot adaptive PTQ method for LLMs that achieves the state-of-the-art performance in low-precision quantization (e.g. 3-bit) without requiring any calibration data. Inspired by Adaptive LASSO regression model, our proposed approach tackles the challenge of outlier activations by separating salient weights using an adaptive soft-thresholding method. Guided by Adaptive LASSO, this method ensures that the quantized weights distribution closely follows the originally trained weights and eliminates the need for calibration data entirely, setting our method apart from popular approaches such as SpQR and AWQ. Furthermore, our method offers an additional benefit in terms of privacy preservation by eliminating any calibration or training data. We also delve deeper into the information-theoretic underpinnings of the proposed method. We demonstrate that it leverages the Adaptive LASSO to minimize the Kullback-Leibler divergence between the quantized weights and the originally trained weights. This minimization ensures the quantized model retains the Shannon information content of the original model to a great extent, guaranteeing efficient deployment without sacrificing accuracy or information. Our results achieve the same accuracy as the existing methods on various LLM benchmarks while the quantization time is reduced by at least 10x, solidifying our contribution to efficient and privacy-preserving LLM deployment.
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.(华为技术有限公司)
Target-Aware Calibration Data Selection for Preserving Uncertainty in Quantized Language Models
The Hong Kong University of Science and Technology(香港科技大学);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));City University of Hong Kong(香港城市大学);Shanghai Institute of Optics and Fine Mechanics(上海光学精密机械研究所);University of Oxford(牛津大学);Yale University(耶鲁大学)
FidelityQ: Preserving Predictive Fidelity in Ultra-Low-Bit Language Model Quantization
The Hong Kong Polytechnic University(香港理工大学);Huawei Technologies Ltd.(华为技术有限公司);The University of Hong Kong(香港大学);Sun Yat-sen University(中山大学);ETH Zurich(苏黎世联邦理工学院)
You Had One Job: Per-Task Quantization Using LLMs' Hidden Representations
Technion—Israel Institute of Technology(技术ion—以色列理工学院);Zenity(Zenity公司);DeepKeep(DeepKeep公司);Ben-Gurion University of the Negev(巴伊兰大学);New York University(纽约大学)
Revisiting Uncertainty Estimation and Calibration of Large Language Models
School of Computer Science University of Sydney(悉尼大学计算机科学学院);City University of Hong Kong(香港城市大学);Shanghai Jiao Tong University(上海交通大学);Department of Engineering Science University of Oxford(牛津大学工程科学系)
Multidisciplinary Faculty of Nador, Mohammed Premier University, Oujda 60000, Morocco(摩洛哥奥伊达大学多学科学院);Laboratory LaSTI, ENSAK, Sultan Moulay Slimane University, Khouribga 54000, Morocco(摩洛哥库尔希布加大学LaSTI实验室)