Pushing the Limits of Block Rotations in Post-Training Quantization

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Sanjeet, Sai, Colbert, Ian, Monteagudo-Lago, Pablo, Franco, Giuseppe, Umuroglu, Yaman, Fraser, Nicholas J.
Format: Preprint
Veröffentlicht: 2026
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866911725766311936
author Sanjeet, Sai
Colbert, Ian
Monteagudo-Lago, Pablo
Franco, Giuseppe
Umuroglu, Yaman
Fraser, Nicholas J.
author_facet Sanjeet, Sai
Colbert, Ian
Monteagudo-Lago, Pablo
Franco, Giuseppe
Umuroglu, Yaman
Fraser, Nicholas J.
contents Recent post-training quantization (PTQ) methods have adopted block rotations to diffuse outliers prior to rounding. While this reduces the overhead of online full-vector rotations, the effect of block structure on outlier suppression remains poorly understood. To fill this gap, we present the first systematic, non-asymptotic analysis of outlier suppression for block Hadamard rotations. Our analysis reveals that outlier suppression is fundamentally limited by the geometry of the input vector. In particular, in the deterministic worst case, post-rotation outliers are minimized when the pre-rotation $\ell_1$ norm mass is evenly distributed across blocks. Guided by these insights, we introduce PeRQ (Permute, Rotate, then Quantize), a PTQ framework that redistributes activation mass via permutations prior to rotation. We propose a greedy mass diffusion algorithm to calibrate permutations by equalizing the expected blockwise $\ell_1$ norms. To avoid adding inference overhead, we identify permutation-equivariant regions in transformer architectures to merge these permutations into model weights before deployment. Experiments show that PeRQ consistently improves accuracy across all block sizes, recovering up to 90% of the full-vector rotation perplexity when quantizing Llama3 1B to INT4 with block size 16, compared to 46% without permutations.
format Preprint
id arxiv_https___arxiv_org_abs_2601_22347
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Pushing the Limits of Block Rotations in Post-Training Quantization
Sanjeet, Sai
Colbert, Ian
Monteagudo-Lago, Pablo
Franco, Giuseppe
Umuroglu, Yaman
Fraser, Nicholas J.
Machine Learning
Artificial Intelligence
Recent post-training quantization (PTQ) methods have adopted block rotations to diffuse outliers prior to rounding. While this reduces the overhead of online full-vector rotations, the effect of block structure on outlier suppression remains poorly understood. To fill this gap, we present the first systematic, non-asymptotic analysis of outlier suppression for block Hadamard rotations. Our analysis reveals that outlier suppression is fundamentally limited by the geometry of the input vector. In particular, in the deterministic worst case, post-rotation outliers are minimized when the pre-rotation $\ell_1$ norm mass is evenly distributed across blocks. Guided by these insights, we introduce PeRQ (Permute, Rotate, then Quantize), a PTQ framework that redistributes activation mass via permutations prior to rotation. We propose a greedy mass diffusion algorithm to calibrate permutations by equalizing the expected blockwise $\ell_1$ norms. To avoid adding inference overhead, we identify permutation-equivariant regions in transformer architectures to merge these permutations into model weights before deployment. Experiments show that PeRQ consistently improves accuracy across all block sizes, recovering up to 90% of the full-vector rotation perplexity when quantizing Llama3 1B to INT4 with block size 16, compared to 46% without permutations.
title Pushing the Limits of Block Rotations in Post-Training Quantization
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2601.22347