encyclopegia.org

TurboQuant

TurboQuant is an online vector quantization algorithm for compressing high-dimensional Euclidean vectors while preserving their geometric structure.[src] It was proposed in 2025 by Amir Zandieh, Majid Daliri, Majid Hadian, and Vahab Mirrokni in the paper TurboQuant: Online Vector Quantization with Near-optimal Distortion Rate.[src] The paper lists Zandieh and Mirrokni as affiliated with Google Research, Daliri with New York University, and Hadian with Google DeepMind.[src] The method was developed for applications including large language model (LLM) inference, key–value (KV) cache compression, vector databases, and nearest neighbor search.[src] TurboQuant consists of two related algorithms: TurboQuant mse , which is optimized for mean squared error (MSE), and TurboQuant prod , which is optimized for unbiased inner product estimation.[src] The algorithm uses a random rotation of input vectors, applies scalar quantizers to the rotated coordinates, and, for inner-product estimation, applies a one-bit Quantized Johnson–Lindenstrauss (QJL) transform to the residual error.[src]

TurboQuant is an online vector quantization algorithm for compressing high-dimensional Euclidean vectors while preserving their geometric structure.[src] It was proposed in 2025 by Amir Zandieh, Majid Daliri, Majid Hadian, and Vahab Mirrokni in the paper TurboQuant: Online Vector Quantization with Near-optimal Distortion Rate.[src] The paper lists Zandieh and Mirrokni as affiliated with Google Research, Daliri with New York University, and Hadian with Google DeepMind.[src] The method was developed for applications including large language model (LLM) inference, key–value (KV) cache compression, vector databases, and nearest neighbor search.[src] TurboQuant consists of two related algorithms: TurboQuant mse , which is optimized for mean squared error (MSE), and TurboQuant prod , which is optimized for unbiased inner product estimation.[src] The algorithm uses a random rotation of input vectors, applies scalar quantizers to the rotated coordinates, and, for inner-product estimation, applies a one-bit Quantized Johnson–Lindenstrauss (QJL) transform to the residual error.[src] z=\Pi x .[src] Each coordinate of the rotated vector follows a shifted and scaled beta distribution, which converges to a normal distribution in high dimensions.[src] In high dimensions, distinct coordinates also become nearly independent, allowing the algorithm to apply scalar quantizers independently to each coordinate.[src] The scalar quantizer is constructed by solving a one-dimensional continuous k-means or Lloyd–Max quantization problem.[src] If the centroids are c_1,c_2,\ldots,c_{2^b} , the quantization step stores, for each coordinate, \mathrm{idx}_j=\operatorname*{arg\,min}_{k\in[2^b]} |z_j-c_k|.[src] During dequantization, the stored index for each coordinate is replaced by the corresponding centroid, giving a reconstructed rotated vector \tilde{z} .[src] The algorithm then rotates back: \tilde{x}=\Pi^\top \tilde{z}.[src] The paper gives the following bound for TurboQuant mse : D_{\mathrm{mse}}\leq \frac{\sqrt{3\pi}}{2}\cdot \frac{1}{4^b}.[src] It also reports finer-grained MSE values of approximately 0.36, 0.117, 0.03, and 0.009 for bit-widths b=1,2,3,4 , respectively.[src] r=x-Q_{\mathrm{mse}}^{-1}(Q_{\mathrm{mse}}(x)) be the residual after MSE quantization, and let \gamma=\|r\|_2 .[src] The QJL step stores a sign vector for the residual.[src] For \gamma\ne 0 , this can be written using the normalized residual u=r/\gamma : qjl=\operatorname{sign}(Su), where S\in\mathbb{R}^{d\times d} is a random projection matrix.[src] Since the sign function is invariant under positive rescaling, this is equivalent to \operatorname{sign}(Sr) when r\ne 0 .[src] If \gamma=0 , the residual correction is zero.[src] TurboQuant prod stores the MSE quantization, the QJL sign vector, and the residual norm: Q_{\mathrm{prod}}(x)= \left[ Q_{\mathrm{mse}}(x), qjl, \gamma \right].[src] The dequantized vector is reconstructed as \tilde{x}= \tilde{x}_{\mathrm{mse}}+ \frac{\sqrt{\pi/2}}{d}\,\gamma S^\top qjl .[src] The paper proves that TurboQuant prod is unbiased for inner-product estimation: \mathbb{E}_{\tilde{x}}\left[\langle y,\tilde{x}\rangle\right] = \langle y,x\rangle .[src] It also gives the distortion bound D_{\mathrm{prod}}\leq \frac{\sqrt{3\pi}}{2} \cdot \frac{\|y\|_2^2}{d} \cdot \frac{1}{4^b}.[src]

30 sentences · 30 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"TurboQuant." encyclopegia.org, 2026, https://encyclopegia.org/wiki/turboquant. Accessed 26 November 2026.

Chicago

"TurboQuant." encyclopegia.org. Accessed November 26, 2026. https://encyclopegia.org/wiki/turboquant.

APA

encyclopegia.org. (2026). TurboQuant. Retrieved November 26, 2026, from https://encyclopegia.org/wiki/turboquant

Accessed November 26, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1366320777 · 0.5 · snapshot enwiki-001366320777

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.