Manuscript Offprint

arXiv:2610.25675

LIRQuant: An Efficient Locally Isolated Rotation Quantization Method for Large Language Models

Desheng Xu, Hanglin Li, Tianchen Song, Zhiyong Zhao, Kun Zhan

Abstract

Post-Training Quantization (PTQ) enables efficient deployment of Large Language Models (LLMs), yet activation outliers remain a key challenge for low-bit quantization. Existing global transformation methods overlook heterogeneous channel sensitivity to quantization noise, leading to suboptimal accuracy-efficiency trade-offs. To address this, we propose Locally Isolated Rotation Quantization (LIRQuant), a sensitivity-aware framework that selectively applies transformations. LIRQuant identifies sensitive channels using a noise-weighted sensitivity metric, applying expressive learnable rotations only to these channels and lightweight fixed rotations to the remaining ones. This decoupled design reduces optimization complexity without sacrificing outlier smoothing capability. Extensive experiments across the LLaMA-2/3, Mistral, Qwen3, and Mixtral families demonstrate that LIRQuant achieves state-of-the-art accuracy under the challenging W4A4KV4 setting. Meanwhile, LIRQuant calibrates LLaMA-3-8B in only 25 minutes with 20.3 GB peak GPU memory, achieving the fastest calibration and the lowest memory footprint among recent learnable-rotation methods, and its fused inference kernels deliver up to 2.3×2.3\times prefill speedup and 3.5×3.5\times memory saving over FP16.

1 Introduction

Large Language Models (LLMs) have achieved remarkable capabilities across a wide range of tasks (Brown et al., 2020; Hendrycks et al., 2020). Models such as LLaMA (Touvron et al., 2023), GPT (Achiam et al., 2023), and Qwen (Yang et al., 2025) continue to drive progress toward universal language intelligence. However, their massive parameter counts incur substantial memory and computational costs, posing significant challenges for deployment on resource-constrained devices (Samsi et al., 2023; Fernandez et al., 2025; Lucioni et al., 2024). Post-Training Quantization (PTQ) addresses this issue by converting weights and activations into low-precision formats, thereby reducing memory footprint and inference cost with minimal performance degradation (Frantar et al., 2022; Shao et al., 2023; Ashkboos et al., 2024a). Consequently, PTQ has emerged as a critical technique for practical LLM deployment.

Activation outliers remain a major obstacle to low-bit quantization of LLMs (Dettmers et al., 2022; Xiao et al., 2023; Lin et al., 2024b). Recent studies mitigate activation outliers through various linear transformations, including orthogonal rotations and Hadamard transforms, which smooth activation distributions and improve quantization robustness (Ashkboos et al., 2024b; Liu et al., 2025). Existing rotation-based approaches implicitly adopt a homogeneous transformation strategy, where a single dense transformation is jointly optimized across all channels. Such full-dimensional rotations provide strong distribution reshaping capability, but also introduce substantial optimization complexity and parameter overhead.

Through extensive analysis, we observe that Transformer channels exhibit heterogeneous sensitivity to quantization noise. Specifically, only a small subset of channels is fragile under low-bit quantization, while most channels remain comparatively robust. This suggests that different channels require fundamentally different transformation capacities during quantization. However, existing methods such as SpinQuant (Liu et al., 2025) and OSTQuant (Hu et al., 2025) optimize dense learnable rotations over all channels indiscriminately. Jointly optimizing full-channel rotations forces sensitive and robust channels to share the same transformation subspace, causing optimization capacity to be unnecessarily allocated to robust channels while introducing cross-channel interference that destabilizes sensitive channels. Consequently, globally shared rotations result in suboptimal accuracy-efficiency trade-offs.

Motivated by these observations, we propose Locally Isolated Rotation Quantization (LIRQuant), a sensitivity-aware rotation framework for LLM quantization. LIRQuant decouples sensitive and robust channels into isolated transformation subspaces according to their quantization sensitivity. Subsequently, it selectively applies highly expressive learnable rotations to high-sensitivity channels, while employing lightweight fixed Hadamard transforms for low-sensitivity ones, thereby substantially reducing optimization costs while preserving quantization accuracy. Extensive experiments across the LLaMA-2/3 families, Mistral7B, Qwen3-8B, and the MoE model Mixtral-8×7B fully demonstrate the effectiveness of LIRQuant. Under the challenging W4A4KV4 setting, LIRQuant matches or outperforms existing rotation-based methods, such as SpinQuant (Liu et al., 2025) and FlatQuant (Sun et al., 2024), while requiring only 25% of the trainable parameters of a dense rotation. Our main contributions are summarized as follows:

• We reveal that quantization sensitivity in Transformer activations is highly heterogeneous across channels, and different channels require different transformation capacities during quantization.

• We propose LIRQuant, a sensitivity-aware locally isolated rotation framework. It selectively applies learnable rotations to sensitive channels and lightweight Hadamard transforms to insensitive ones, striking a superior accuracy-efficiency trade-off, and deeply integrates this design with the Transformer architecture.

• Extensive experiments across multiple LLMs and quantization settings demonstrate that LIRQuant achieves state-of-the-art quantization performance with the lowest calibration overhead among recent rotation-based methods, and further delivers practical inference speedups via fused block-diagonal kernels.

References (34)