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

Patrik Czakó, Gábor Kertész, Sándor Szénási
6/4/2025
cs.CLcs.AIcs.LG

Official code: czakop/smoothrot (4 stars, MIT, last commit 2025-11-23).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

czakop/smoothrotOfficial100%
MIT

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

40Shell, PythonMar 7, 202511 months agoMIT

Cite this paper

@article{czak2025smoothrot,
  title  = {SmoothRot: Combining Channel-Wise Scaling and Rotation for Quantization-Friendly LLMs},
  author = {Patrik Czakó and Gábor Kertész and Sándor Szénási},
  year   = {2025},
  eprint = {2506.05413},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.05413v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.05413.svg)](https://codeofpaper.com/paper/2506.05413)

Discussion