Less Random, More Incoherent: Greedy Hadamard Alignment for LLM Quantization
Yun Ye, Zhaoqi Wu, Xueshu Wang, Cong Zhang, Zhonghua Sun, Yongbo Zhu, Beryl Xu
Abstract
Hadamard preprocessing is widely used in large language model (LLM) quantization to reduce activation coherence and suppress peaks. Existing methods typically rely on random sign flips before the Hadamard transform, which do not use information from the target data distribution. We propose Greedy Hadamard Alignment (GHA), a simple training-free method to build a signed-permutation preconditioner from calibration data. GHA uses a pooled representative activation, a greedy search over flat targets, and an efficient alignment step that is analytically optimal once the target is fixed. We also study when one shared GHA preconditioner can transfer across LLM activations. GHA works best when activations are directionally aligned and stable across calibration sources. Overall, GHA improves post-quantization model quality over randomized Hadamard baselines, with the strongest gains in KV-cache quantization, more moderate gains for hidden states, and little compute overhead during inference.
Create a lesson
Metadata
- Categories
- cs.LG, cs.AI
- Journal
- Proceedings of AACL-IJCNLP 2026 (Volume 1: Long Papers), pp. 1526-1540
- Comments
- AACL 2026 oral presentation. New in Table 1: independent prefill yields higher pre-RoPE accuracy than sequential prefill on RULER-4096. Code: https://github.com/intel-samples/AACL-2026-Greedy-Hadamard-Alignment-Quantization
Related papers
Alignment and Convergence Analyses of Gradient Flow in Two-Layer Convolutional Neural Networks
Shared title terminologycs.LGWang Xiang, Saptarshi Chakraborty
BlockDTW: Efficient, Parallel and Differentiable Time-Series Alignment for Neural Learning Systems
Shared title terminologycs.LGAlberto Zancanaro, Leonardo Badia, Giulia Cisotto
Reusable Latent Reward Interfaces for Diffusion Alignment
Shared title terminologycs.LGYuwei Zhang, Chubin Chen, Hao Chen et al.
AlignKV: Exact Evidence Recovery via Future-Use Distillation and Block-Aligned KV Selection
Shared title terminologycs.LGShanchen Pang, Junyi Li, Chenhao Zhang et al.
QWER: Quantized Weights and Errors in Reasoning at Three Bits
Shared title terminologycs.LGMinseok Shin
DIAL: Diffusion Post-Training for Inference-Time Adjustable Alignment by Reward Importance and Strength
Shared title terminologycs.LGMasato Ishii, Akio Hayakawa, Takashi Shibuya et al.