Large language models (LLMs) have shown immense potential across various domains, but their high memory requirements and inference costs remain critical challenges for deployment. Post-training quantization (PTQ) has emerged as a promising technique to reduce memory requirements and decoding latency. However, recent accurate quantization methods often depend on specialized computations or custom data formats to achieve better model quality, which limits their compatibility with popular frameworks, as they require dedicated inference kernels tailored to specific hardware and software platforms, hindering wider adoption. Furthermore, many competitive methods have high resource requirements and computational overhead for quantizing models, making it challenging to scale them to hundreds of billions of parameters. In response to these challenges, we propose LeanQuant (Loss-Error-Aware Network Quantization), a novel quantization method that is accurate, versatile, and scalable. In the existing popular iterative loss-error-based quantization framework, we identify a critical limitation in prior methods: the min-max affine quantization grid fails to preserve model quality due to outliers in inverse Hessian diagonals. To overcome this fundamental issue, we propose learning loss-error-aware grids, instead of using non-adaptive min-max affine grids. Our approach not only produces quantized models that are more accurate but also generalizes to a wider range of quantization types, including affine and non-uniform quantization, enhancing compatibility with more frameworks. Extensive experiments with recent LLMs demonstrate that LeanQuant is highly accurate, comparing favorably against competitive baselines in model quality, and scalable, achieving very accurate quantization of Llama-3.1 405B, one of the largest open-source LLMs to date, using two Quadro RTX 8000-48GB GPUs in 21 hours.
BPDQ: Bit-Plane Decomposition Quantization on a Variable Grid for Large Language Models
Southwestern University of Finance and Economics(西南财经大学);The University of Hong Kong(香港大学);Artificial Intelligence and Digital Finance Key Laboratory of Sichuan Province(四川省人工智能与数字金融重点实验室);The Hong Kong University of Science and Technology (Guangzhou)(香港科学与技术大学(广州));The Hong Kong Polytechnic University(香港理工大学);Sun Yat-sen University(中山大学)
Vector Quantization in the Brain: Grid-like Codes in World Models
PKU-Tsinghua Center for Life Sciences(北大-清华生命科学中心);Academy for Advanced Interdisciplinary Studies(先进跨学科研究学院);IDG/McGovern Institute for Brain Research(IDG/麦戈文脑科学研究院);Center of Quantitative Biology, Peking University(北京大学定量生物学中心);School of Psychological and Cognitive Sciences(心理与认知科学学院);Key Laboratory of Machine Perception (Ministry of Education)(教育部机器感知重点实验室)
Benford's Law as a Distributional Prior for Post-Training Quantization of Large Language Models
Postgraduate Program in Computer Science, Federal University of Ouro Preto(计算机科学硕士课程,联邦大学奥鲁普里托);Computing Department, Federal University of Ouro Preto(计算部门,联邦大学奥鲁普里托)
Scale Sensitivity in Low-Bit Post-Training Quantization: Curvature of the Quantization Error Landscape
Ludwig-Maximilians-Universität München(慕尼黑大学);Munich Center for Machine Learning (MCML)(慕尼黑机器学习中心);Konrad Zuse School of Excellence in Reliable AI (DAAD)(康拉德·楚泽可靠人工智能卓越学院)
OffQ: Taming Structured Outliers in LLM Quantization by Offsetting
School of Computer and Communication Sciences, EPFL, Switzerland(瑞士联邦理工学院计算机与通信科学学院);Huawei, Switzerland(华为公司);Swiss Data Science Center, ETHZ & EPFL, Switzerland(瑞士数据科学中心,苏黎世联邦理工学院与联邦理工学院)
When Lower Reconstruction Loss Hurts: Distributionally Robust Refinement for Low-Bit LLM Quantization
University of Science and Technology of China(中国科学技术大学);University College London(伦敦大学学院);Shanghai University of Finance and Economics(上海财经大学);AMSS, Chinese Academy of Sciences(中国科学院数学与系统科学研究院);University of Copenhagen(哥本哈根大学);Imperial College London(伦敦帝国学院);Technical University of Denmark(丹麦技术大学);Shenzhen Research Institute of Big Data(深圳大数据研究院)
LoTA-QAF: Lossless Ternary Adaptation for Quantization-Aware Fine-Tuning
Southwestern University of Finance and Economics(西南财经大学);Artificial Intelligence and Digital Finance Key Laboratory of Sichuan Province(四川省人工智能与数字金融重点实验室);The Hong Kong University of Science and Technology (Guangzhou)(香港科学与艺术大学(广州));Sun Yat-sen University(中山大学);Nanjing University(南京大学)