Sari la conținut

Română · beta. Traducerea a fost făcută automat și este încă în curs de revizuire. Citește pagina în engleză

perspectiva aiqbenchMachine learning

analiza aiqbench

This paper advances the efficiency of Large Language Model inference by introducing new randomized Hadamard-based constructions for Quantized Johnson-Lindenstrauss transforms, specifically targeting the compression of KV caches. The authors provide theoretical guarantees on embedding dimension and running time that match or improve upon existing non-quantized Fast JL methods while maintaining 1-bit quantization constraints. These structural improvements directly address the memory footprint challenges inherent in deploying massive models at scale.
Sursă care acoperăarXiv
Ce este aceastaLectura unui model asupra articolului și a acoperirii conexe, scrisă pentru aiqbench. Nu sunt cuvintele publicației.

Fast Quantized Johnson$-$Lindenstrauss Transforms

arXiv2 min de cititArticolul și perspectiva sunt în engleză.

arXiv:2610.16289v1 Announce Type: new 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(\varepsilon^{-2}\log^2(d/\delta))$, while the second achieves $m=O(\varepsilon^{-2}\log(d/\delta))$ under a restriction on $m$. Both constructions can be applied in $O(d\log d)$ time.

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(\varepsilon^{-2}\log^2(d/\delta))$, while the second achieves $m=O(\varepsilon^{-2}\log(d/\delta))$ under a restriction on $m$. Both constructions can be applied in $O(d\log d)$ time.

Machine Learning (cs.LG); Data Structures and Algorithms (cs.DS)

arXiv:2610.16289 [cs.LG]

(or arXiv:2610.16289v1 [cs.LG] for this version)

https://doi.org/10.48550/arXiv.2610.16289 Focus to learn more arXiv-issued DOI via DataCite (pending registration)

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Text integral sub licența deschisă a publicației · 274 cuvinte

Subiecte conexe