Quantization is a promising method that reduces memory usage and computational intensity of Deep Neural Networks (DNNs), but it often leads to significant output error that hinder model deployment. In this paper, we propose Bias Compensation (BC) to minimize the output error, thus realizing ultra-low-precision quantization without model fine-tuning. Instead of optimizing the non-convex quantization process as in most previous methods, the proposed BC bypasses the step to directly minimize the quantizing output error by identifying a bias vector for compensation. We have established that the minimization of output error through BC is a convex problem and provides an efficient strategy to procure optimal solutions associated with minimal output error,without the need for training or fine-tuning. We conduct extensive experiments on Vision Transformer models and Large Language Models, and the results show that our method notably reduces quantization output error, thereby permitting ultra-low-precision post-training quantization and enhancing the task performance of models. Especially, BC improves the accuracy of ViT-B with 4-bit PTQ4ViT by 36.89% on the ImageNet-1k task, and decreases the perplexity of OPT-350M with 3-bit GPTQ by 5.97 on WikiText2.The code is in https://github.com/GongCheng1919/bias-compensation.
Vector Quantization by Minimizing Kullback-Leibler Divergence
National Time Service Center, Chinese Academy of Sciences(中国科学院国家授时中心);Chongqing Technology and Business University(重庆工商大学);Tianjin University(天津大学);University at Buffalo, The State University of New York(纽约州立大学布法罗分校);M. S. University of Baroda(巴罗达摩诃罗阇·萨亚吉拉奥大学)
Task-Oriented Visual Feature Compression via Residual Vector Quantization for Device-Edge Multimodal Inference
Tsinghua University(清华大学);Beijing National Research Center for Information Science and Technology(北京信息科学与技术国家研究中心);China Telecom(中国电信);Institute of Artificial Intelligence (TeleAI), China Telecom(中国电信人工智能研究院(TeleAI))
Tail-Aware Post-Training Quantization for 3D Geometry Models
Tsinghua Shenzhen International Graduate School, Tsinghua University, Shenzhen, China(清华大学深圳国际研究生院,清华大学,深圳,中国);MMLab, The Chinese University of Hong Kong, Hong Kong, China(MMLab,香港中文大学,香港,中国);Harbin Institute of Technology Shenzhen, China(哈尔滨工业大学深圳,中国);Huawei Technology, Shenzhen, China(华为技术,深圳,中国)
MorphoQuant: Modality-Aware Quantization for Omni-modal Large Language Models
institutetext: MorphoQuant: Modality-Aware Quantization for Omni-modal Large Language Models Yue Wu Changyuan Wang Zixuan Wang Shilin Ma Yansong Tang(机构文本:MorphoQuant:多模态大语言模型的模态感知量化 Yue Wu 王昌元 王梓轩 马世林 唐彦松)
University of Chinese Academy of Sciences(中国科学院大学);Tsinghua University(清华大学);Hong Kong University of Science and Technology(香港科技大学);Hokkaido University(北海道大学)
Timestep-Aware SVDQuant-GPTQ for W4A4 Quantization of Wan2.2-I2V
National Engineering Research Center for Big Data Technology and System(大数据技术与系统国家工程研究中心);Services Computing Technology and System Lab(服务计算技术与系统实验室);Cluster and Grid Computing Lab(集群与网格计算实验室);School of Computer Science and Technology(计算机科学与技术学院);Huazhong University of Science and Technology(华中科技大学)
Interleaved Block-based Learned Image Compression with Feature Enhancement and Quantization Error Compensation
School of software, Shandong University(山东大学软件学院);School of Control Science and Engineering, Shandong University(山东大学控制科学与工程学院);School of Engineering and Sustainable Development, De Montfort University(德蒙福特大学工程与可持续发展学院);College of Computer Science and Software Engineering, Shenzhen University(深圳大学计算机与软件学院);School of Telecommunications Engineering, Xidian University(西安电子科技大学通信工程学院)
Quant Experts: Token-aware Adaptive Error Reconstruction with Mixture of Experts for Large Vision-Language Models Quantization
State Key Laboratory of Human-Machine Hybrid Augmented Intelligence(人机混合增强智能国家重点实验室);Institute of Artificial Intelligence and Robotics(人工智能与机器人研究院);Xi’an Jiaotong University(西安交通大学)