Google’s TurboQuant AI-compression algorithm can reduce LLM memory usage by 6x



Even if you don’t know much about the inner workings of generative AI models, you probably know they need a lot of memory. Hence, it is currently almost impossible to buy a measly stick of RAM without getting fleeced. Google Research recently revealed TurboQuant, a compression algorithm that reduces the memory footprint of large language models (LLMs) while also boosting speed and maintaining accuracy.

TurboQuant is aimed at reducing the size of the key-value cache, which Google likens to a “digital cheat sheet” that stores important information so it doesn’t have to be recomputed. This cheat sheet is necessary because, as we say all the time, LLMs don’t actually know anything; they can do a good impression of knowing things through the use of vectors, which map the semantic meaning of tokenized text. When two vectors are similar, that means they have conceptual similarity.

High-dimensional vectors, which can have hundreds or thousands of embeddings, may describe complex information like the pixels in an image or a large data set. They also occupy a lot of memory and inflate the size of the key-value cache, bottlenecking performance. To make models smaller and more efficient, developers employ quantization techniques to run them at lower precision. The drawback is that the outputs get worse—the quality of token estimation goes down. With TurboQuant, Google’s early results show an 8x performance increase and 6x reduction in memory usage in some tests without a loss of quality.

Angles and errors

Applying TurboQuant to an AI model is a two-step process. To achieve high-quality compression, Google has devised a system called PolarQuant. Usually, vectors in AI models are encoded using standard XYZ coordinates, but PolarQuant converts vectors into polar coordinates in a Cartesian system. On this circular grid, the vectors are reduced to two pieces of information: a radius (core data strength) and a direction (the data’s meaning).



Source link

  • Related Posts

    Oversight Board tells Meta expanding Community Notes outside of US poses ‘significant’ risks

    Meta didn’t consult its Oversight Board last year when it announced sweeping policy changes to content moderation and a rollback of third-party fact checking in the United States in favor…

    Are high gas prices good news for EVs? It’s complicated.

    Then again, maybe that won’t quite do the trick: One survey from Cox Automotive found that most US consumers would consider switching to an EV or hybrid if gas prices…

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    You Missed

    Two drone strikes on civilian targets kill 28 people in Sudan | Sudan

    Two drone strikes on civilian targets kill 28 people in Sudan | Sudan

    AngloGold Ashanti Publishes Its 2025 UK Annual Report, Form 20-F, Other Annual Reports and 2026 AGM Notice

    2 arrested in fatal shooting of 19-year-old Quebecer in Dominican Republic

    2 arrested in fatal shooting of 19-year-old Quebecer in Dominican Republic

    Oversight Board tells Meta expanding Community Notes outside of US poses ‘significant’ risks

    Oversight Board tells Meta expanding Community Notes outside of US poses ‘significant’ risks

    Starmer promises to tackle ‘addictive’ social media platforms after peers inflict fresh defeat on government – UK politics live | Politics

    Starmer promises to tackle ‘addictive’ social media platforms after peers inflict fresh defeat on government – UK politics live | Politics

    UK faces biggest hit to growth from Middle East war, OECD warns