Manuscript Offprint

arXiv:2610.20303

SpectrumQuant: Spectrum Alignment for LLM Quantization

Dwaipayan Haldar, Indranil Patra, Azhar Yousuf, Chandra Sekhar Seelamantula

Dwaipayan Haldar ∗^{*}

Indian Institute of Science

Bengaluru-560012, Karnataka, India

dwaipayanh@iisc.ac.in

Indranil Patra ∗^{*}

Indian Institute of Science

Bengaluru-560012, Karnataka, India

indranilp@iisc.ac.in

Azhar Yousuf ∗^{*}

Indian Institute of Science

Bengaluru-560012, Karnataka, India

azharyousuf@iisc.ac.in

Chandra Sekhar Seelamantula

Indian Institute of Science

Bengaluru-560012, Karnataka, India

css@iisc.ac.in

Abstract

Orthogonal transforms have emerged as an effective tool for low-bit quantization of large language models (LLMs), as they reshape activation distributions without changing the underlying model function. Existing approaches typically rely either on fixed data-agnostic transforms, such as Hadamard rotations, or on calibration-time optimization of learned rotations. We study rotation selection from first principles and show that maximizing covariance leads to spectral alignment and provides a principled criterion for constructing quantization-friendly orthogonal transforms. Based on this insight, we propose SpectrumQuant, a closed-form rotation method that estimates activation covariance from calibration data and uses it to construct a covariance-aware orthogonal transform for post-training quantization. Our formulation characterizes quantization-friendly rotations as compositions of alignment and mixing components, while recovering Hadamard matrices as a special case. Interestingly, a class of butterfly matrices belongs to this category. In the realm of LLM quantization, SpectrumQuant bridges the gap between data-agnostic structured rotations and learned rotations, providing an effective and efficient data-aware alternative for post-training quantization. Experiments on Llama and Mistral models show that SpectrumQuant is competitive with state-of-the-art rotation strategies while requiring less than one-third of the GPU memory and significantly less time than learned rotations approaches like SpinQuant and DartQuant.

∗^{*}These authors contributed equally to this work.

1 Introduction

Large language models (LLMs) have demonstrated exceptional proficiency across a broad range of natural language processing applications, driving rapid growth in model scale. While this scaling has enabled strong capabilities, it has also created a major deployment bottleneck due to the high cost of inference. To improve inference efficiency, a variety of approaches have been explored, including pruning, distillation, and quantization (Han et al., 2016; Hinton et al., 2015; Ma et al., 2023; Yao et al., 2022). Among these, post-training quantization (PTQ) is particularly attractive because it reduces memory usage and inference cost by mapping weights and activations to low-precision representations, without requiring expensive retraining or fine-tuning. However, activation outliers remain a fundamental obstacle to accurate low-bit quantization in LLMs. Because a small number of extreme values can dominate the activation dynamic range, they substantially degrade low-bit quantization accuracy, motivating methods that explicitly reshape activations into more quantization-friendly representations.

Activation quantization is typically more challenging than weight quantization in LLMs because extreme outliers can substantially distort the quantization range and degrade low-bit accuracy. Addressing this challenge, previous work has proposed several outlier-mitigation techniques, including mixed-precision models (Zhao et al., 2024) and shifting the quantization burden from activations to weights (Lin et al., 2024; Xiao et al., 2023). Very recently, rotation-based methods have proved to be a particularly effective approach (Chee et al., 2023; Tseng et al., 2024). Such methods rely on rotational invariance, which allows rotation matrices to be integrated into nearby weights without altering the original network outputs. The resulting rotated basis disperses outlier magnitude across dimensions, leading to smoother activations and improved quantizability (Ashkboos et al., 2024; Liu et al., 2025; Shao et al., 2026).

Despite the empirical effectiveness of rotation-based quantization, current methods exhibit a clear trade-off. Fixed rotations such as the Hadamard transform (Chee et al., 2023; Ashkboos et al., 2024; Tseng et al., 2024) are simple as well as efficient, but data-agnostic: they apply the same transform to every model, even though activation outliers differ across models and layers. On the other hand, learned rotations (Hu et al., 2025; Liu et al., 2025; Shao et al., 2026; Xu et al., 2026) adapt to the activation statistics of each model, but they rely on iterative optimization, which is computationally expensive and lacks theoretical guarantees. Nevertheless, learned rotation approaches require specialized procedures to enforce orthogonality constraints, and the underlying search-based approximation does not assure convergence to a global optimum. Additionally, such learned rotations introduce a substantial calibration cost in terms of memory and time requirement. Calibration costs are difficult to reconcile with the practical appeal of post-training quantization, whose main advantage lies in enabling fast and lightweight deployment.

To address this gap, we propose SpectrumQuant, a data-aware and mathematically grounded approach to LLM post training quantization. Instead than relying on either data-agnostic rotations or empirically learned rotations with no theoretical guarantees, SpectrumQuant derives quantization-friendly orthogonal transforms from first principles via a well-motivated covariance-based objective. The resulting formulation yields a closed-form hybrid rotation that combines a Hadamard backbone (mixing component) with an adaptive (alignment) component estimated from calibration data. Experiments across multiple prominent LLM architectures demonstrate that the proposed transform dramatically reduces the calibration costs while yielding on-par quantization performance.

Our main contributions are two-fold:

• We formulate a novel and theoretically well-motivated covariance-based objective for rotation design and derive a closed-form family of hybrid orthogonal transforms that unifies fixed or data-independent structured rotations and data-dependent alignment within a single framework, which we use for LLM PTQ.

  • The proposed method SpectrumQuant delivers high accuracy while reducing the calibration cost by a significant margin. For instance, for the 70B model, SpectrumQuant completes calibration in 43 minutes on a single A6000 GPU with pre-saved activations. It achieves a 21×21 \times speedup in total calibration time and a 9.8×9.8 \times reduction in memory usage relative to the state-of-the-art

(SOTA) methods like SpinQuant(Liu et al., 2025) while giving on-par or better accuracy. Notably, SpectrumQuant can also be calibrated efficiently on CPU unlike prior learned rotation methods.

References (34)