BASE-Q: Bias and Asymmetric Scaling Enhanced Rotational Quantization for Large Language Models

Liulu He, Shenli Zheng, Kaiwei Sun, Yufei Zhao, Hengyu Fang, Chongkang Tan, Yuan Du, Huanrui Yang, Yijiang Liu, Li Du · Submission to ICLR 2026 · Rejected

TL;DR

Recent state-of-the-art LLM quantization methods spend massive amounts of compute learning global rotation matrices to suppress activation outliers. BASE-Q shows that learning a single global rotation is an inefficient dead-end; instead, pairing fixed Hadamard rotations with lightweight, block-wise bias correction (to align channel means) and asymmetric scaling (to restore energy lost from clipping) beats prior methods while quantizing a 70B model on a single GPU in just 10 hours.

What Problem Does This Paper Address?

Pushing Large Language Models down to 4-bit weights, activations, and KV cache (W4A4KV4) causes severe accuracy drops due to extreme outliers in activation channels. Recent methods like QuaRot, SpinQuant, and OSTQuant apply orthogonal rotations (such as Hadamard transforms) to "smear" outliers across channels, rendering activations more Gaussian.

However, recent techniques attempt to optimize a single, globally shared rotation matrix across the entire model using end-to-end backpropagation. This approach has two fundamental flaws:

  1. Prohibitive Cost: Optimizing a 70B model with full-model backpropagation requires multi-GPU clusters (e.g., at least 5 $\times$ A800 GPUs for 30 hours).
  2. Diminishing Returns: A single global rotation cannot accommodate block-specific distributional variations across dozens of transformer layers.

Even under an "optimal" global rotation, two overlooked error sources persist:

  • Channel mean misalignment: Persistent channel mean variance ($\text{Var}(\mu_j)$) inflates rounding errors (accounting for up to 85% of layer-wise rounding error in models like Qwen2.5-3B).
  • Clipping-induced energy loss: Gaussianized activations concentrate substantial energy in their tails; clipping at standard MSE thresholds truncates roughly 18.4% of activation energy, compounding layer-by-layer degradation.

Methods

BASE-Q replaces costly global rotation search with targeted, block-by-block corrections:

[Input x] ──> [Fixed Rotation R⁻¹] ──> [Asymmetric Scale sᵃ] ──> [Bias Shift - bᶜ] ──> [Quantize / MatMul] ──> [Fused Bias Add]
  • Fixed PCA-Hadamard Rotations: Instead of learning global rotations, the residual rotation $R_{\text{res}} = U^T H$ is computed via a closed-form PCA ($U$) of linear weights combined with a Hadamard matrix ($H$), fusible into weights without inference overhead. Only intra-block value rotation ($R_v$) is optimized locally.
  • Blockwise Bias Correction ($b^c$): A learnable vector subtracted prior to activation quantization and added back after the linear projection (fused into the layer bias: $W R b^c + b$). This directly cancels the inter-channel mean variance $\text{Var}(\mu_j)$ with $<0.1\%$ parameter overhead.
  • Per-Quantizer Asymmetric Scaling ($s^a$): An adjusted scaling factor applied during quantization to counteract the ~18.4% energy attenuation caused by clipping Gaussian tails.
  • Blockwise MSE Optimization: Parameters ($R_v$, bias $b^c$, scales $s$, asymmetric scales $s^a$, and clipping bounds $\alpha$) are optimized block-by-block using mean squared error against the original full-precision outputs.
  • Kernel Fusion: Bias, scaling, quantization, and dequantization operations are fused into custom Triton kernels to introduce zero measurable latency overhead over standard INT4 GEMM.

Datasets

  • Calibration: 128 samples from the Wikitext-2 dataset.
  • Evaluation Datasets:
  • Language Modeling: Wikitext-2 perplexity.
  • 9 Common Sense Zero-Shot Benchmarks: ARC-Easy, ARC-Challenge, BoolQ, HellaSwag, LAMBADA, OpenBookQA, PIQA, SIQA, and WinoGrande.
  • Multi-Subject Reasoning: MMLU (5-shot).
  • No new datasets were introduced.

Key Insights and Ideas

  • The Law of Total Variance Explains the Error Floor: Total activation variance is $\sigma^2 = \frac{1}{n} \sum \sigma_j^2 + \text{Var}(\mu_j)$. Rotations equalize channel variances ($\sigma_j^2$) but cannot zero out the variance of channel means across different layers. Explicit bias correction neutralizes $\text{Var}(\mu_j)$ directly.
  • Global Rotation Learning is Made Redundant: When bias correction is applied, random Hadamard, standard Hadamard, and learned rotation matrices yield virtually identical quantization performance (Table 5). The need for expensive global rotation training disappears.
  • The "Gaussian Tail" Paradox: While rotations eliminate heavy-tailed outliers, ideal Gaussian distributions place significant aggregate mass in the tails. Optimal clipping strips non-negligible energy, necessitating explicit asymmetric magnitude compensation.

Key Results

  • State-of-the-Art W4A4KV4 Accuracy: BASE-Q narrows the accuracy gap to full precision by 50.5% vs. QuaRot, 42.9% vs. SpinQuant, and 29.2% vs. OSTQuant (average degradation of only 3.40% from FP16 across evaluated models).
  • Fixing Sensitive Architectures: On Qwen2.5-3B—where QuaRot and SpinQuant suffer catastrophic perplexity explosions (69.33 and 46.35, respectively)—BASE-Q achieves 10.43 (FP16 baseline is 8.03).
  • Extreme Low-Bit Stability: At W3A4 and W2A4, where competing online transform methods like FlatQuant crash or output NaN, BASE-Q remains stable and functional.
  • Resource and Inference Efficiency:
  • Quantization of a 70B model requires only 10 hours on a single A800 GPU (SpinQuant requires $\ge 5$ GPUs and 30 GPU-hours).
  • Fused INT4 prefill kernels achieve 2.1$\times$ to 2.4$\times$ speedups over FP16 on an NVIDIA RTX 3090, while saving 71–72.5% memory during decoding.

Limitations and Future Work

  • Residual Clipping Errors: While asymmetric scaling compensates for lost energy magnitude, it scales the whole distribution and does not reconstruct non-linear waveform information lost beyond clipping boundaries.
  • Multi-Stage Block Calibration: Calibration requires a sequenced pipeline (symmetric scaling $\to$ GPTQ $\to$ bias/asymmetric scaling/clipping optimization) rather than a single unified pass.
  • Online Transform Overhead: Although binary Hadamard operations are optimized with Triton, online projections (e.g., $R_{\text{down}}$) still introduce small extra FLOPs compared to weight-only quantization schemes.

Summary updated

BibTeX
@misc{he2025base,
  author = {Liulu He and Shenli Zheng and Kaiwei Sun and Yufei Zhao and Hengyu Fang and Chongkang Tan and Yuan Du and Huanrui Yang and Yijiang Liu and Li Du},
  title = {{BASE-Q: Bias and Asymmetric Scaling Enhanced Rotational Quantization for Large Language Models}},
  year = {2025},
  eprint = {2506.15689},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.15689},
}
Figure