2025/05/11 by Patrik Czakó, Czakó, Patrik, Gábor Kertész +3 · 1 citation
Computer Science · Engineering · Physics and Astronomy · #Advancements in Photolithography Techniques #Artificial Intelligence (cs.AI) #Computation and Language (cs.CL) #FOS: Computer and information sciences #Machine Learning (cs.LG) #Magnetic confinement fusion research #Mathematics, Computing, and Information Processing #Metric (unit) #Outlier #Quantization (signal processing) #Scaling #Smoothing #Spurious relationship
paper · pdf · doi:10.48550/arxiv.2506.01967
published in arXiv (Cornell University) (Cornell University)
openalex publication_date 2025/05/11 · openalex created_date 2025/10/14 · openalex updated_date 2026/08/05
Quantization effectively reduces the serving costs of Large Language Models (LLMs) by speeding up data movement through compressed parameters and enabling faster operations via integer arithmetic. However, activating integer arithmetic requires quantizing both weights and activations, which poses challenges due to the significant outliers in LLMs that increase quantization error. In this work, we investigate these outliers with an emphasis on their effect on layer-wise quantization error, then examine how smoothing and rotation transform the observed values. Our primary contributions include introducing a new metric to measure and visualize quantization difficulty based on channel magnitudes, as well as proposing a hybrid approach that applies channel-wise scaling before rotation, supported by a mathematical formulation of its benefits.