paper-with-me

Papers

OstQuant: Refining Large Language Model Quantization with Orthogonal and Scaling Transformations for Better Distribution Fitting

2025-01-23 · Xing Hu, Yuan Cheng, Dawei Yang, Zukang Xu, Zhihang Yuan, Jiangyong Yu, Chen Xu, Zhe Jiang, Sifan Zhou

Post-training quantization (PTQ) has emerged as a widely adopted technique for compressing and accelerating Large Language Models (LLMs). The major challenge in LLM quantization is that uneven and heavy-tailed data distributions can expand the quantization range, thereby reducing bit precision for most values. Recent methods attempt to eliminate outliers and balance inter-channel differences by employing linear transformations; however, they remain heuristic and are often overlook optimizing the data distribution across the entire quantization space.In this paper, we introduce Quantization Space Utilization Rate (QSUR), a novel metric that effectively assesses the quantizability of transformed data by measuring the space utilization of the data in the quantization space. We complement QSUR with mathematical derivations that examine the effects and limitations of various transformations, guiding our development of Orthogonal and Scaling Transformation-based Quantization (OSTQuant). OSQuant employs a learnable equivalent transformation, consisting of an orthogonal transformation and a scaling transformation, to optimize the distributions of weights and activations across the entire quantization space. Futhermore, we propose the KL-Top loss function, designed to mitigate noise during optimization while retaining richer semantic information within the limited calibration data imposed by PTQ. OSTQuant outperforms existing work on various LLMs and benchmarks. In the W4-only setting, it retains 99.5\% of the floating-point accuracy. In the more challenging W4A4KV4 configuration, OSTQuant reduces the performance gap by 32\% on the LLaMA-3-8B model compared to state-of-the-art methods. \href{https://github.com/BrotherHappy/OSTQuant}{https://github.com/BrotherHappy/OSTQuant}.

📄 PDF Abstract BibTeX arXiv:2501.13987

Code (1)

brotherhappy/ostquant 공식 구현 pytorch

Tasks

Language ModelingLanguage ModellingLarge Language ModelQuantization

Similar Papers 제목 키워드 기반

OptRot: Mitigating Weight Outliers via Data-Free Rotations for Post-Training Quantization

2025-12-30 · Advait Gadhikar, Riccardo Grazzi, James Hensman arxiv

The presence of outliers in Large Language Models (LLMs) weights and activations makes them difficult to quantize. Recent work has leveraged rotations to mitigate these outliers. In this work, we propose methods that lea…

NestQuant: Nested Lattice Quantization for Matrix Products and LLMs

2025-02-13 · Semyon Savkin, Eitan Porat, Or Ordentlich, Yury Polyanskiy

Post-training quantization (PTQ) has emerged as a critical technique for efficient deployment of large language models (LLMs). This work proposes NestQuant, a novel PTQ scheme for weights and activations that is based on…

Quantization

RUQuant: Towards Refining Uniform Quantization for Large Language Models

2026-04-05 · Han Liu, Haotian Gao, Changya Li, Feng Zhang 외 arxiv

The increasing size and complexity of large language models (LLMs) have raised significant challenges in deployment efficiency, particularly under resource constraints. Post-training quantization (PTQ) has emerged as a p…

R2Q: Towards Robust 2-Bit Large Language Models via Residual Refinement Quantization

2025-11-21 · Jiayi Chen, Jieqi Shi, Jing Huo, Chen Wu arxiv

The rapid progress of Large Language Models (LLMs) has brought substantial computational and memory demands, spurring the adoption of low-bit quantization. While 8-bit and 4-bit formats have become prevalent, extending q…

Question Answering

ConQuR: Corner Aligned Activation Quantization via Optimized Rotations for LLMs

2026-05-11 · Chayne Thrash, Ali Abbasi, Soheil Kolouri arxiv

Large language models (LLMs) are costly to deploy due to their large memory footprint and high inference cost. Weight-activation quantization can reduce these costs, but low-bit activation quantization remains difficult …

Common Sense Reasoning