How TurboQuant could make LLMs use far less memory
Google Research has revealed TurboQuant, an AI-compression algorithm aimed at shrinking the key-value cache used by large language models. In Google’s tests, it reduced cache memory usage by 6x and made attention-score computation 8x faster in one comparison without lowering output quality.
Large language models are powerful, but they are also memory-hungry. Google Research says TurboQuant, a new AI-compression algorithm, can reduce that memory demand while preserving model quality.
“TurboQuant mainly improves LLM efficiency, mildly pushing AI systems toward greater capability without clear harm or dependence concerns.”Why it scores Terminator
The core claim is direct: TurboQuant targets the key-value cache, cuts its memory footprint, and can make parts of the model run faster. In Google’s early results, the method reduced key-value cache memory usage by 6x in some tests and delivered an 8x performance increase in one comparison.
Why the key-value cache matters
The key-value cache is a major part of how an LLM keeps track of information while generating output. Google compares it to a “digital cheat sheet” because it stores important information so the model does not have to recompute it repeatedly.
That cache is tied to vectors, which represent the semantic meaning of tokenized text. When vectors are close to each other, they signal conceptual similarity. This is part of how LLMs produce responses that appear to reflect understanding, even though the model is working through mathematical relationships rather than knowledge in the human sense.
The problem is scale. High-dimensional vectors can contain hundreds or thousands of embeddings. They may describe complex information, such as pixels in an image or a large data set, but they also consume substantial memory.
As the key-value cache grows, performance can become constrained. That is why developers use quantization: they run model data at lower precision to make the system smaller and more efficient. The tradeoff is usually quality, because lower precision can make token estimation worse.
What TurboQuant changes
TurboQuant is designed to compress the key-value cache without the usual drop in output quality. Google’s reported results say the algorithm can reduce memory usage while maintaining accuracy.
The method has two parts. The first is PolarQuant, which handles most of the compression. The second is Quantized Johnson-Lindenstrauss, or QJL, which is used to reduce errors left behind by the first step.
PolarQuant changes how vectors are represented. Instead of using standard XYZ coordinates, it converts vectors into polar coordinates in a Cartesian system. In that form, a vector can be represented through two pieces of information:
- Radius, which represents core data strength.
- Direction, which represents the meaning of the data.
Google explains the difference with a navigation example. Traditional encoding is like saying, “Go 3 blocks East, 4 blocks North.” The compressed representation is more like saying, “Go 5 blocks at 37-degrees.”
The advantage is that the model can store the essential information with less space. Google also says this approach avoids costly data normalization steps.
How QJL cleans up the errors
PolarQuant does the main compression work, but compression can introduce residual errors. QJL is meant to smooth those rough areas so the model can still calculate useful relationships between vectors.
QJL adds a 1-bit error-correction layer. It reduces each vector to a single bit, either +1 or -1, while preserving essential vector data about relationships.
That matters because these relationships feed into the attention score. The attention score is the process neural networks use to decide what information is important. If compression damages that process, output quality can suffer.
Google’s approach is meant to keep the attention score accurate even after heavy compression. That is the key distinction between TurboQuant and lower-precision methods that save memory but degrade token estimation.
What Google says the tests showed
Google says it tested TurboQuant on long-context benchmarks using Gemma and Mistral open models. The company reported perfect downstream results in all tests while reducing key-value cache memory usage by 6x.
The algorithm can quantize the cache to just 3 bits without additional training. That detail is important because it means TurboQuant can be applied to existing models, rather than requiring a model to be trained again from the beginning.
Google also says attention-score computation with 4-bit TurboQuant was 8x faster than with 32-bit unquantized keys on Nvidia H100 accelerators. That comparison points to a second benefit beyond memory savings: faster handling of a key internal model operation.
The practical impact depends on implementation. If used as described, TurboQuant could make AI models cheaper to run and less dependent on large amounts of memory. It could also let companies use the saved memory for more complex models instead.
Why mobile AI could benefit
TurboQuant may be especially relevant for mobile AI because smartphones have stricter hardware limits than larger systems. A smaller key-value cache could make it easier to run better model outputs locally.
The source article points to a clear implication: compression techniques like TurboQuant could improve output quality on a smartphone without sending user data to the cloud. That would make memory efficiency part of the broader push toward more capable on-device AI.
The immediate takeaway is simple. TurboQuant is not presented as a new model, but as a way to make existing LLMs more efficient. If its reported results hold in real deployments, reducing cache memory by 6x without quality loss would be a meaningful step for AI infrastructure, model serving, and mobile AI performance.
Read next