TurboQuant: Redefining AI efficiency with extreme compression
research.google - 437 poäng - 122 kommentarer - 55897 sekunder sedan
Kommentarer (36)
- amitport - 45903 sekunder sedanThis is a great development for KV cache compression. I did notice a missing citation in the related works regarding the core mathematical mechanism, though. The foundational technique of applying a geometric rotation prior to extreme quantization, specifically for managing the high-dimensional geometry and enabling proper bias correction, was introduced in our NeurIPS 2021 paper, "DRIVE" (https://proceedings.neurips.cc/paper/2021/hash/0397758f8990c...). We used this exact rotational approach and a similar bias correction mechanism to achieve optimal distributed mean estimation. I also presented this work and subsequent papers in a private invited talk at Google shortly after publication. Given the strong theoretical overlap with the mechanisms in TurboQuant and PolarQuant, I hope to see this prior art acknowledged in the upcoming camera-ready versions.
- gavinray - 25169 sekunder sedanCan someone ELI5 these two concepts please, which make no sense to me:
I don't understand how taking a series of data and applying a random rotation could mathemetically lead every time to "simpler" geometry.> "TurboQuant starts by randomly rotating the data vectors. This clever step simplifies the data's geometry"If I throw a bunch of shapes on the ground, tightly packed and touching each other, then rotate all of them, you can't guarantee that the new conglomerate shape is any more/less "simple" than before, right?
How can a boolean value preserve all of the relational and positional information between data points?> "Johnson-Lindenstrauss Transform to shrink complex, high-dimensional data while preserving the essential distances and relationships between data points. It reduces each resulting vector number to a single sign bit (+1 or -1)." - akhenakh - 27972 sekunder sedanSomeone implementing it on llamacpp already https://github.com/mudler/llama.cpp/commit/dee102db1bfd723c9...
- pstoll - 31421 sekunder sedanAnd a group has published an independent working implementation today, nice to see:
- benob - 48573 sekunder sedanThis is the worst lay-people explanation of an AI component I have seen in a long time. It doesn't even seem AI generated.
- Serhii-Set - 19777 sekunder sedanCompression research keeps producing surprisingly practical results. The interesting parallel in image formats — AVIF and JPEG XL both came from video codec research (AV1 and JPEG committee respectively), and the compression gains translated almost directly. Makes me wonder how much of the current AI quantization work will eventually land in production inference the same way.
- bilsbie - 28478 sekunder sedanIt seems like most breakthroughs I see are for efficiency? What are the most importsnt breakthroughs from the past two or three years for intelligence?
- bluequbit - 49798 sekunder sedanI did not understand what polarQuant is.
Is is something like pattern based compression where the algorithm finds repeating patterns and creates an index of those common symbols or numbers?
- mmastrac - 24470 sekunder sedanIs this a tradeoff between GPU-computation-expense vs accuracy? ie: you could quantize into segments or grids on the unit circle/sphere/etc, but that's too expensive so it's better to just quantize to a Cartesian grid because the GPU can decompress cheaper?
- iddan - 25993 sekunder sedanI am guessing as Google is vertically integrated and "actually pays" for AI infra (compared to OpenAI & Anthropic that receives hardware as partnerships) they have a more urgent incentive to reduce model sizes. Also, Google and Apple will be the first to gain from running model on-device
- zeeshana07x - 38751 sekunder sedanThe gap between how this is described in the paper vs the blog post is pretty wide. Would be nice to see more accessible writing from research teams — not everyone reading is a ML engineer
- ssijak - 32392 sekunder sedanFor my grug brain can somebody translate this to ELIgrug terms?
Does this mean I would be able to run 500b model on my 48gb macbook without loosing quality?
- macleginn - 33472 sekunder sedan"TurboQuant proved it can quantize the key-value cache to just 3 bits without requiring training or fine-tuning and causing any compromise in model accuracy" -- what do each 3 bits correspond to? Hardly individual keys or values, since it would limit each of them to 8 different vectors.
- maurelius2 - 45983 sekunder sedanI'm somewhat at a loss here other than understanding the fundamentals. Can someone tell me how the compression impact performance?
- moktonar - 46820 sekunder sedanAren’t polar coordinates still n-1 + 1 for radius for n-dim vector? If so I understand that angles can be quantized better but when radius r is big the error is large for highly quantized angles right? What am I missing?
- lwhi - 28199 sekunder sedanWill this help us run models locally?
- lucrbvi - 42095 sekunder sedanSounds like Multi-Head Latent Attention (MLA) from DeepSeek
- _s_a_m_ - 26438 sekunder sedanhas the word "advanced", gotta be good
- naasking - 24297 sekunder sedanThis sounds great! TurboQuant does KV cache compression using quantization via rotations, and ParoQuant [1] does weight compression using quantization via rotations! So we can get 4-bit weights that match bf16 precision, the KV cache goes down to 3 bits per key. This brings larger models and long contexts into the range of "possibly runnable" on beefy consumer hardware.
- Yanko_11 - 9015 sekunder sedan[dead]
- maxothex - 15838 sekunder sedan[dead]
- diablevv - 22840 sekunder sedan[flagged]
- pugchat - 33365 sekunder sedan[dead]
- ryguz - 17870 sekunder sedan[dead]
- leontloveless - 30579 sekunder sedan[dead]
- wei03288 - 24725 sekunder sedan[dead]
- QubridAI - 18934 sekunder sedan[dead]
- veunes - 40271 sekunder sedan[dead]
- aledevv - 39285 sekunder sedan[dead]
- rsmtjohn - 43190 sekunder sedan[flagged]
- mohsen1 - 45105 sekunder sedan[dead]
- dev_tools_lab - 37601 sekunder sedan[dead]
- hikaru_ai - 48250 sekunder sedan[dead]
- paxrel_ai - 27181 sekunder sedan[dead]
- vaildegraff - 30813 sekunder sedan[flagged]
- mskkm - 41201 sekunder sedanPied Piper vibes. As far as I can tell, this algorithm is hardly compatible with modern GPU architectures. My guess is that’s why the paper reports accuracy-vs-space, but conveniently avoids reporting inference wall-clock time. The baseline numbers also look seriously underreported. “several orders of magnitude” speedups for vector search? Really? anyone has actually reproduced these results?
Nördnytt! 🤓