cs.LGOct 12, 2026

Fast Quantized Johnson−-Lindenstrauss Transforms

Authors: Angelos Korakitis, Vasileios Nakos

Organizations: National and Kapodistrian University of Athens

Abstract

Quantization has emerged as one of the primary techniques for reducing the memory footprint of large language models during inference. A prominent example is Quantized Johnson−-Lindenstrauss (QJL), which compresses KV caches using 1-bit asymmetric quantization while approximately preserving the inner products required by the attention mechanism. Recent theoretical and practical work aims at replacing the dense Gaussian projections used by the aforementioned transforms with more structured embeddings −- such as compositions of randomized Hadamard transforms −- while retaining the same embedding dimension. In this paper, we introduce two constructions based on a composition of randomized Hadamard transforms, albeit with a Gaussian rather than Rademacher diagonal in the second stage. The first adds Gaussian dithering to smooth the quantizer, while the second inserts a random permutation to regularize the covariance structure of the resulting Gaussian measurements. We prove embedding-dimension and running-time guarantees analogous to those of Fast JL in the non-quantized setting. The first construction achieves m=O(ε−2log⁡2(d/δ))m=O(\varepsilon^{-2}\log^2(d/δ)), while the second achieves m=O(ε−2log⁡(d/δ))m=O(\varepsilon^{-2}\log(d/δ)) under a restriction on mm. Both constructions can be applied in O(dlog⁡d)O(d\log d) time.

Explore similar work

CardsList
  1. Structured Transforms for Low-Overhead Quantization of Language Models

    Sep 10, 2026Daria Cherniuk, Alexander Rudikov, Boris Kashin +1LLM QuantizationWeight-Only Quantization

  2. Fast-TurboQuant: A Multiplier-Free Online Vector Quantization Approach

    Jun 19, 2026Pedro M. R. Pereira, Felipe A. P. de Figueiredo, Rausley A. A. de SouzaLLM QuantizationRotation-Based Quantization

  3. Statistically-Lossless Quantization of Large Language Models

    May 4, 2026Michael Helcig, Eldar Kurtic, Dan AlistarhLLM QuantizationLLM Inference Acceleration