mlsanityData to 7 Oct 2026

Quantizing With Randomized Hadamard Transforms: Efficient Heuristic Now Proven

arXiv 2605.06014 ↗First posted 7 May 2026cs.LG cs.AI cs.DScited by 4

On the map: Efficient LLM inference and serving → KV cache quantization

Abstract (arXiv)

Uniform random rotations (URRs) are a common preprocessing step in modern quantization approaches used for gradient compression, inference acceleration, KV-cache compression, model weight quantization, and approximate nearest-neighbor search in vector databases. In practice, URRs are often replaced by randomized Hadamard transforms (RHTs), which preserve orthogonality while admitting fast implementations. The remaining issue is the performance for worst-case inputs. With a URR, each coordinate is individually distributed as a shifted beta distribution, which converges to a Gaussian distribution in high dimensions. Generally, one RHT is not suitable in the worst case, as individual coordinates can be far from these distributions. We show that after composing two RHTs on any d-sized input vector, the marginal distribution of every fixed coordinate of the normalized rotated vector is within O(d-1/2) of a standard Gaussian both in Kolmogorov distance and in 1-Wasserstein distance. We then plug these bounds into the analyses of modern compression schemes, namely DRIVE and QUIC-FL, and show that two RHTs achieve performance that asymptotically matches URRs. However, we show that two RHTs may not be sufficient for Vector Quantization (VQ), which often requires weak correlation across fixed-size blocks of coordinates (as opposed to only marginal distribution convergence for single coordinates). We prove that a composition of three RHTs leads to decaying coordinate covariance. This ensures that any fixed, bounded, multi-dimensional VQ codebook optimized for URRs has the same expected error when using three RHTs, up to an additive term that vanishes with the dimension. Finally, because practical inputs are rarely adversarial, we propose a linear-time O(d) check on the input's moments to dynamically adapt the number of RHTs used at runtime to improve performance.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in KV cache quantization, one of 12 directions in Efficient LLM inference and serving. Builds on 27 of its 41 references that are in the map. First posted on arXiv 7 May 2026.

Builds on

27 of 41 references.

Closest ancestors · 1

Same direction, newest first

  1. 2024QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMs30 Mar

Other references · 26

  1. 2016Federated Learning: Strategies for Improving Communication Efficiencycited by 1,461
  2. 2023SpQR: A Sparse-Quantized Representation for Near-Lossless LLM Weight Compressioncited by 359
  3. 2024QuIP#: Even Better LLM Quantization with Hadamard Incoherence and Lattice Codebookscited by 354
  4. 2018Expanding the Reach of Federated Learning by Reducing Client Resource Requirementscited by 162
  5. 2016Distributed Mean Estimation with Limited Communicationcited by 134
  6. 2025TurboQuant: Online Vector Quantization with Near-optimal Distortion Ratecited by 116
  7. 2023OWQ: Outlier-Aware Weight Quantization for Efficient Fine-Tuning and Inference of Large Language Modelscited by 113
  8. 2024QTIP: Quantization with Trellises and Incoherence Processingcited by 86
  9. 2021EDEN: Communication-Efficient and Robust Distributed Mean Estimation for Federated Learningcited by 53
  10. 2021DRIVE: One-bit Distributed Mean Estimationcited by 52
  11. 2024RaBitQ: Quantizing High-Dimensional Vectors with a Theoretical Error Bound for Approximate Nearest Neighbor Searchcited by 46
  12. 2023DoCoFL: Downlink Compression for Cross-Device Federated Learningcited by 27
14 more
  1. 2024Pushing the Limits of Large Language Model Quantization via the Linearity Theoremcited by 20
  2. 2024Practical and Asymptotically Optimal Quantization of High-Dimensional Vectors in Euclidean Space for Approximate Nearest Neighbor Searchcited by 19
  3. 2026Quartet II: Accurate LLM Pre-Training in NVFP4 by Improved Unbiased Gradient Estimationcited by 16
  4. 2023THC: Accelerating Distributed Deep Learning Using Tensor Homomorphic Compressioncited by 15
  5. 2020How to send a real number using a single bit (and some shared randomness)cited by 12
  6. 2024Optimal Quantization for Matrix Multiplicationcited by 10
  7. 2025HACK: Homomorphic Acceleration via Compression of the Key-Value Cache for Disaggregated LLM Inferencecited by 10
  8. 2022ScionFL: Efficient and Robust Secure Quantized Aggregationcited by 8
  9. 2023OptiReduce: Resilient and Tail-Optimal AllReduce for Distributed Deep Learning in the Cloudcited by 8
  10. 2026A Note on TurboQuant and the Earlier DRIVE/EDEN Line of Workcited by 7
  11. 2024Beyond Throughput and Compression Ratios: Towards High End-to-end Utility of Gradient Compressioncited by 6
  12. 2025RaanA: A Fast, Flexible, and Data-Efficient Post-Training Quantization Algorithmcited by 5
  13. 2021Stein's method of normal approximation: Some recollections and reflectionscited by 4
  14. 2026DynamiQ: Accelerating Gradient Synchronization using Compressed Multi-hop All-reducecited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 4.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Provable Quantization with Randomized Hadamard Transform
  2. 2025Gradual Binary Search and Dimension Expansion : A general method for activation quantization in LLMs
  3. 2026Fast-TurboQuant: A Multiplier-Free Online Vector Quantization Approach
  4. 2026FibQuant: Universal Vector Quantization for Random-Access KV-Cache Compression
  5. 2025PolarQuant: Quantizing KV Caches with Polar Transformation
  6. 2025ConvRot: Rotation-Based Plug-and-Play 4-bit Quantization for Diffusion Transformers
  7. 2026Qift: Shift-Friendly No-Zero W2 Post-Training Quantization for Rotated W2A4/KV4 LLM Inference
  8. 2026Sliced-Wasserstein Distribution Alignment Loss Improves the Ultra-Low-Bit Quantization of Large Language Models