SmoothRot: Combining Channel-Wise Scaling and Rotation for Quantization-Friendly LLMs

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Czakó, Patrik, Kertész, Gábor, Szénási, Sándor
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918106353369088
author Czakó, Patrik
Kertész, Gábor
Szénási, Sándor
author_facet Czakó, Patrik
Kertész, Gábor
Szénási, Sándor
contents We present SmoothRot, a novel post-training quantization technique to enhance the efficiency of 4-bit quantization in Large Language Models (LLMs). SmoothRot addresses the critical challenge of massive activation outliers, by integrating channel-wise scaling with Hadamard transformations. Our technique effectively transforms extreme outliers into quantization-friendly activations, significantly improving quantization accuracy. Experiments conducted on popular LLMs (LLaMA2 7B, LLaMA3.1 8B, and Mistral 7B) demonstrate that SmoothRot consistently reduces the performance gap between quantized and FP16 models by approximately 10-30\% across language generation and zero-shot reasoning tasks, without introducing additional inference latency. Code is available at https://github.com/czakop/smoothrot.
format Preprint
id arxiv_https___arxiv_org_abs_2506_05413
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle SmoothRot: Combining Channel-Wise Scaling and Rotation for Quantization-Friendly LLMs
Czakó, Patrik
Kertész, Gábor
Szénási, Sándor
Computation and Language
Artificial Intelligence
Machine Learning
We present SmoothRot, a novel post-training quantization technique to enhance the efficiency of 4-bit quantization in Large Language Models (LLMs). SmoothRot addresses the critical challenge of massive activation outliers, by integrating channel-wise scaling with Hadamard transformations. Our technique effectively transforms extreme outliers into quantization-friendly activations, significantly improving quantization accuracy. Experiments conducted on popular LLMs (LLaMA2 7B, LLaMA3.1 8B, and Mistral 7B) demonstrate that SmoothRot consistently reduces the performance gap between quantized and FP16 models by approximately 10-30\% across language generation and zero-shot reasoning tasks, without introducing additional inference latency. Code is available at https://github.com/czakop/smoothrot.
title SmoothRot: Combining Channel-Wise Scaling and Rotation for Quantization-Friendly LLMs
topic Computation and Language
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2506.05413