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

Liulu He, Shenli Zheng, Karwei Sun, Yijiang Liu, Yufei Zhao, Chongkang Tan, Huanrui Yang, Yuan Du, Li Du

TL;DR

BASE-Q is a lightweight post-training quantization framework for Large Language Models (LLMs) that fixes two hidden flaws of rotational quantization: inter-channel mean misalignment and clipping-induced energy loss. By replacing expensive full-model rotation learning with blockwise bias correction and asymmetric scaling under fixed rotations, it slashes the 4-bit quantization accuracy gap by up to 50.5% while running efficiently on a single GPU.

What Problem Does This Paper Address?

Quantizing LLMs down to ultra-low precisions like 4-bit (W4A4) drastically reduces memory and latency, but it usually tanks model accuracy due to extreme activation outliers. Recent state-of-the-art methods use "rotational quantization" (e.g., Hadamard transforms) to mathematically rotate the activation space, effectively smearing out these massive outliers into a smooth, manageable distribution.

However, the authors uncover two major blind spots in existing rotational methods:

  1. Channel Mean Misalignment: While rotation suppresses outliers, it fails to align the means of different channels. This residual variance introduces massive rounding errors.
  2. Clipping Energy Loss: Rotating the activations makes their distribution highly Gaussian. When standard outlier-clipping techniques are applied to a Gaussian distribution, they inadvertently chop off a significant chunk of the total activation energy, breaking the mathematical equivalence of the model.
Figure 1: (a) Raw activation distribution of the first MLP block in Llama3-8B. (b) Hadamard rotation suppresses outliers but leaves residual inter-channel misalignment. (c) Learned rotations also fail to address this misalignment. (d) Our bias correction eliminates most inter-channel mean variability, thereby reducing V ar(µj), which is the main rounding error component as formalized in Equations (5) and (6). More visualizations are in Appendix B.

Furthermore, trying to fix these issues by optimizing the rotation matrices requires loading the entire model into memory for global backpropagation, creating a massive computational and memory bottleneck.

Methods

To solve these issues without the overhead of full-model training, the authors introduce BASE-Q (Bias and Asymmetric Scaling Enhanced Quantization), which uses a fixed rotation matrix combined with efficient blockwise adjustments:

  • Channel Bias Correction: Instead of trying to rotate the means into alignment, BASE-Q injects a lightweight learnable bias before activation quantization to explicitly align channel means, and then subtracts it afterward. This eliminates the variance-of-means rounding error with near-zero inference overhead.
  • Asymmetric Scaling: To counteract the energy loss from clipping near-Gaussian distributions, BASE-Q introduces an asymmetric scaling factor that dynamically adjusts the quantization range, preserving the total activation energy and signal magnitude after clipping.
  • Blockwise Optimization: Instead of full-model backpropagation, BASE-Q optimizes these parameters block-by-block. This allows memory-efficient tuning that can easily scale to massive models.

Datasets

The authors evaluated BASE-Q on 12 open-source LLMs across various sizes, including Llama-2 (7B/13B/70B), Llama-3 (8B/70B), Llama-3.1 (8B/70B), Llama-3.2 (1B/3B), and Qwen2.5 (3B/14B/32B).

Evaluation benchmarks included:

  • Wikitext-2 for perplexity.
  • 9 Zero-shot downstream tasks: ARC-Easy, ARC-Challenge, BoolQ, HellaSwag, LAMBADA, OpenBookQA, PIQA, SIQA, and WinoGrande.

Key Insights and Ideas

  • The Conflict of Global Rotations: Trying to use a single shared global rotation matrix to simultaneously suppress outliers and align channel means is a losing battle—the two objectives inherently conflict across different layers. Explicit bias correction completely bypasses this trade-off.
  • The Gaussian Trap: Making a distribution look more Gaussian is great for eliminating extreme outliers, but terrible for standard clipping. Because a Gaussian distribution concentrates a lot of mass in its tails, standard MSE-optimal clipping discards a non-negligible 18.4% of the layer's input energy, causing severe downstream distortion.
Figure 3: (Left) MSE-optimal clipping on rotated activations results in a 18.4% loss of layer’s input energy, (Right) which induces significant discrepancies in the layer output.
  • 85% Error Source: In models like Qwen2.5-3B, the unaligned channel means post-rotation account for up to 85% of the total layer rounding error, explaining why previous quantization methods completely collapsed on these architectures.

Key Results

  • Accuracy Gap Reduction: Under a strict 4-bit weight, 4-bit activation, and 4-bit KV-cache (W4A4KV4) setup, BASE-Q narrowed the accuracy gap to full-precision models by 50.5%, 42.9%, and 29.2% compared to state-of-the-art baselines QuaRot, SpinQuant, and OSTQuant, respectively.
  • Rescuing Qwen: On Qwen2.5-3B, where all existing rotational methods suffered catastrophic failure (perplexity spiking past 100%), BASE-Q maintained a stable perplexity of 10.83 (close to the full-precision baseline of 8.03).
  • Hardware Speedups: By fusing the online bias and scaling operations into a single custom Triton kernel, BASE-Q achieves a 2.1× to 2.4× speedup during the compute-bound prefill stage on an NVIDIA 3090 GPU compared to standard FP16.
  • Massive Resource Savings: Because it optimizes block-by-block rather than globally, BASE-Q can quantize a massive 70B model on a single A800 GPU in just 10 hours. In comparison, SpinQuant requires at least 5 A800 GPUs and 36 total GPU-hours.

Limitations and Future Work

  • The paper focuses heavily on the W4A4KV4 configuration; performance at even lower bit-widths (e.g., 2-bit weight or activation quantization) remains to be explored.
  • The method relies on a small set of calibration data (128 samples from Wikitext-2), meaning its performance could potentially be sensitive to the choice or distribution of the calibration dataset.

Summary updated

BibTeX
@misc{he2025base,
  author = {Liulu He and Shenli Zheng and Karwei Sun and Yijiang Liu and Yufei Zhao and Chongkang Tan and Huanrui Yang and Yuan Du 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