Share from 0:00
0:00
/

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

Below podcast is generated with Google's Illuminate.

The paper proposes is a quantization method named OSTQuant. It uses orthogonal and scaling transformations to refine weight distribution in Large Language Models for better quantization and performance.

-----

Paper - https://arxiv.org/abs/2501.13987

Original Problem ๐Ÿ˜ฎ:

โ†’ Post-training quantization methods often degrade model performance.

โ†’ This degradation arises from distribution outliers in Large Language Model weights and activations.

-----

Solution in this Paper ๐Ÿ˜Ž:

โ†’ This paper introduces OSTQuant.

โ†’ OSTQuant refines weight distributions before quantization.

โ†’ It employs orthogonal and scaling transformations.

โ†’ Orthogonal transformation decorrelates weight dimensions.

โ†’ Scaling transformation reduces the dynamic range of weights.

โ†’ These transformations make weight distributions more quantization-friendly.

โ†’ OSTQuant is applied before standard quantization techniques.

-----

Key Insights from this Paper ๐Ÿค”:

โ†’ Outlier dimensions in Large Language Model weights negatively impact quantization.

โ†’ Orthogonal transformation reduces the impact of these outlier dimensions.

โ†’ Scaling transformation further optimizes the weight distribution for quantization.

โ†’ Pre-processing weights with these transformations significantly improves quantization accuracy.

-----

Results ๐Ÿš€:

โ†’ OSTQuant reduces perplexity by up to 4.2% on LLaMA-7B quantized to 4-bit, compared to standard quantization.

โ†’ On OPT-1.3B, OSTQuant improves accuracy on average by 2.1% across various quantization bitwidths.

โ†’ OSTQuant achieves performance close to full-precision models even at 4-bit quantization.

Discussion about this video

User's avatar

Ready for more?