paper-with-me

홈 › Papers

LeanQuant: Accurate Large Language Model Quantization with Loss-Error-Aware Grid

2024-07-14 · Tianyi Zhang, Anshumali Shrivastava

Large language models (LLMs) have numerous applications across various domains, but their high computational and memory demands pose significant deployment challenges. Weight quantization is an effective technique for reducing the decoding latency and memory requirements of LLMs. Existing approaches primarily aim to maintain the quality of quantized models by preserving outliers in input features, but they still suffer significant quality loss at lower bit widths. Our approach builds on Optimal Brain Quantization (OBQ), an iterative weight-update-based quantization framework. We identify a key limitation of OBQ, specifically that its uniform quantization grid is suboptimal for maintaining model quality, as it introduces large errors to the task loss. To address this, we propose LeanQuant, which learns a loss-error-aware quantization grid by leveraging the inverse diagonal Hessian. Extensive empirical evaluations demonstrate that LeanQuant is both efficient and accurate; it can quantize a 70-billion-parameter model in 6 hours using a single 32GB GPU and performs favorably compared to competitive baselines in the 4-bit, 3-bit, and 2-bit regions.

📄 PDF Abstract BibTeX arXiv:2407.10032

Code (0)

등록된 구현이 없습니다.

Tasks

GPULanguage ModelingLanguage ModellingLarge Language ModelQuantization

Similar Papers 제목 키워드 기반

RDQ: Residual Distribution Quantization for Large Language Models

2026-07-11 · Prateek Singh arxiv

Post-training quantization (PTQ) of large language models degrades sharply below 4-bit precision. We identify the root cause as residual stream distributional drift: quantization noise injected at each transformer layer …

Training Dynamics Impact Post-Training Quantization Robustness

2025-10-07 · Albert Catalan-Tatjer, Niccolò Ajroldi, Jonas Geiping arxiv

While post-training quantization is widely adopted for efficient deployment of large language models, the mechanisms underlying quantization robustness remain unclear. We conduct a comprehensive analysis of quantization …

Accurate Deep Representation Quantization with Gradient Snapping Layer for Similarity Search

2016-10-30 · Shicong Liu, Hongtao Lu

Recent advance of large scale similarity search involves using deeply learned representations to improve the search accuracy and use vector quantization methods to increase the search speed. However, how to learn deep re…

Quantization

SmoothQuant+: Accurate and Efficient 4-bit Post-Training WeightQuantization for LLM

2023-12-06 · Jiayi Pan, Chengcan Wang, Kaifu Zheng, Yangguang Li 외

Large language models (LLMs) have shown remarkable capabilities in various tasks. However their huge model size and the consequent demand for computational and memory resources also pose challenges to model deployment. C…

GPUQuantization

SOAR: Scale Optimization for Accurate Reconstruction in NVFP4 Quantization

2026-05-12 · Chengzhu Bao, Xianglong Yan, Zhiteng Li, Guangshuo Qin 외 arxiv

NVFP4 has recently emerged as an efficient 4-bit microscaling format for large language models (LLMs), offering superior numerical fidelity with native hardware support. However, existing methods often yield suboptimal p…