arXiv Machine Learning

When Local Variance Optimality Is Not Enough: RoPE-Aligned Q/K Rotations for Dynamic 4-Bit Quantisation

arXiv:2608. 13365v1 Announce Type: new Abstract: Rotation-based post-training quantisation commonly applies an orthogonal transform across an entire attention head to reduce outlier-induced error.

arXiv Machine Learning
Oct 15

PrismQuant: Optimal Null-Space Rotations for Grouped Quantizers

PrismQuant introduces a rotation framework that aligns the leading activation eigenspace with the constant group subspace of asymmetric grouped INT4 quantizers, optimizing the alignment via Ky Fan trace maximization and providing a closed‑form solution. The method employs compact Householder transformations for efficient, gradient‑free construction and applies a predictive range law to relate unaligned activation energy and group size to quantization variation. Experiments on large language models up to 70B parameters show PrismQuant achieving state‑of‑the‑art perplexity and accuracy, while delivering significant speedups and memory reductions in deployment scenarios.

By Yanlong Chen, Yining Chen, Song Zhang, Amirhossein Habibian, Yawei Li
arXiv AI
Sep 4

HARP: Hadamard-Preconditioned Adaptive Rotation Processor for Extreme LLM Quantization

HARP (Hadamard‑Preconditioned Adaptive Rotation Processor) is a learnable, structured two‑sided orthogonal processor that replaces fixed randomized Hadamard transforms in post‑training quantization of large language models. By representing rotations as sparse butterfly‑like block‑orthogonal stages and supporting mixed‑radix schedules, HARP adapts the quantization basis to each layer and calibration distribution while maintaining full‑precision equivalence. Across 2–4‑bit settings on Llama models from 1B to 70B, HARP consistently improves perplexity, delivers the strongest zero‑shot gains at 2 bits, and preserves deployment efficiency—achieving 128 tokens per second on Llama 2 7B at 2 bits, roughly 90% of RHT throughput and over twice the speed of FP16.

By Artur Zagitov, Gleb Molodtsov, Aleksandr Beznosikov
arXiv AI
Nov 14

SignRot: LLM Quantization with Massive Outlier-Aware Sign-Adjusted Rotation

SignRot is a lightweight technique that improves low‑bit quantization of large language models by addressing massive outlier activations. It identifies outlier channels, applies a sign‑adjustment vector to unify Hadamard row signs, and pairs this with asymmetric activation quantization to shift the mean to zero. The method requires only a single calibration pass and no extra matrix multiplication, and when applied to QuaRot it yields better WikiText2 perplexity and zero‑shot reasoning accuracy than SpinQuant on LLaMA3‑70B.

By Jaehun Gim, Jaewoo Kim, Gyuwan Kim, Seo Yeon Park
arXiv Machine Learning
5d ago

Perplexity Ranks Activation Quantisers but Understates What They Remove

The paper investigates the limitations of using perplexity to evaluate four‑bit activation quantisation in language models. It shows that while perplexity correctly orders most quantisers, it underestimates the impact on closed‑book QA accuracy, especially for rare facts. The study also finds that the effect of quantisation depends on whether the error behaves like random noise or systematically removes signal, and that full‑width Hadamard rotations can significantly improve performance for certain model widths.

By Anish Sathyanarayanan, Min Xu
Hugging Face Trending Papers
Nov 12

SignRot: LLM Quantization with Massive Outlier-Aware Sign-Adjusted Rotation

SignRot is a lightweight technique that improves low‑bit quantization of large language models by addressing massive outlier activations. It identifies outlier channels, applies a sign‑adjustment vector to unify Hadamard rows, and pairs this with asymmetric activation quantization to shift the mean away from zero. The method requires only a single calibration pass and no extra matrix multiplication, and when applied to QuaRot it yields better WikiText2 perplexity and zero‑shot reasoning accuracy than SpinQuant on LLaMA3‑70B.

arXiv AI
Sep 28

Softmax Reparameterization for Output-Head Quantization

The paper introduces a post‑training softmax reparameterization technique that selects a functionally equivalent output head before quantization. By subtracting a scalar multiple of the vocabulary‑row mean from each output row and tuning this coefficient via validation KL, the method preserves the full‑precision softmax distribution while enabling efficient W4 quantization. Experiments on seven heads show significant error reductions and latency improvements, with the approach remaining complementary to other quantization strategies and transferable across datasets.

By Asim Kadav, Christian Flores, Chirag Arora, Varun Kotte, Hongbo Zheng, Lan Yan, Priya Shanmugasundaram, Tracy Holloway King
arXiv Machine Learning
Aug 27

Transforms for LLM Quantization: The Great Inversion and Format Co-Design

The paper surveys the use of linear, function‑preserving transforms in 4‑bit large‑language‑model (LLM) quantization, formalizing the underlying principle as the "Great Inversion"—the trade‑off between energy concentration favored by allocation‑flexible coding and within‑group flattening favored by grouped shared‑scale quantization. It reviews 200 works, classifies 43 transform methods by structure, data‑awareness, construction approach, and runtime cost, and examines how they interact with GPTQ rounding. The study also explores how different number formats (FP4, MXFP4, NVFP4) influence the optimal transform choice and outlines open research problems. "whyItMatters":"The survey clarifies the conflicting objectives in transform‑based LLM quantization and provides a practical guide for selecting transforms based on deployment regime, thereby informing future research and deployment strategies."

By Ehsan Jokar