What if AI doesn't need more RAM but better math?

(adlrocha.substack.com)

183 points | by adlrocha a day ago ago

97 comments

  • imjonse a day ago ago

    "The TurboQuant paper (ICLR 2026) contains serious issues in how it describes RaBitQ, including incorrect technical claims and misleading theory/experiment comparisons.

    We flagged these issues to the authors before submission. They acknowledged them, but chose not to fix them. The paper was later accepted and widely promoted by Google, reaching tens of millions of views.

    We’re speaking up now because once a misleading narrative spreads, it becomes much harder to correct. We’ve written a public comment on openreview (https://openreview.net/forum?id=tO3AS KZlok ).

    We would greatly appreciate your attention and help in sharing it."

    https://x.com/gaoj0017/status/2037532673812443214

    • zug_zug a day ago ago

      I guess I'm trying to understand. I'm hearing this paper has been around for a year -- I would think that many companies would have already implemented and measured its performance in production by now... is that not the case?

      • zug_zug a day ago ago

        Okay, I spent about half an hour reading about this and asking gemini I guess my best understanding is this:

        The main breakthrough [rotating by an orthogonal matrix to make important outliers averaged acrossed more dimensions] comes from RaBitQ. Sounds like the RaBitQ team was much more involved, and earlier, and the turbo quant paper very deliberately tries to avoid crediting and acknowledging RaBitQ.

        My understanding is that the efficacy of these methods isn't in dispute, what turboquant did was adapt the method that was being used in vector databases and adapted it for transformers, and passed it of more as a new invention than an adaptation.

    • _0ffh a day ago ago

      Openreview link is not working, was split apparently.

      https://openreview.net/forum?id=tO3ASKZlok

  • konaraddi a day ago ago

    > applying this compression algorithm at scale may significantly relax the memory bottleneck issue.

    I don’t think they’re going to downsize though, I think the big players are just going to use the freed up memory for more workflows or larger models because the big players want to scale up. It’s a cat and mouse race for the best models.

    • miohtama a day ago ago

      It will also help with local inference, making AI without big players possible.

      • otabdeveloper4 a day ago ago

        It's already possible. Post-training is vastly more important than model size. (There's bigtime diminishing returns with increasing model size.)

        • plagiarist a day ago ago

          Is there a size cutoff you would say where diminishing returns really kick in?

          My experience doesn't disagree, at least. I've been using Qwen for coding locally a bit. It is much better than I thought it would be. But also still falls short in some obvious ways compared to the frontiers.

          • otabdeveloper4 12 hours ago ago

            > Is there a size cutoff you would say where diminishing returns really kick in?

            No idea yet. But also it's obvious that making LLMs without MoE is stupid.

    • Verdex a day ago ago

      Known in the business as 'pulling a jevons'

  • mustyoshi a day ago ago

    The drop in memory stocks seems counterintuitive to me.

    The demand for memory isn't going to go down, we'll just be able to do more with the same amount of memory.

    • zug_zug a day ago ago

      Well, when a companies have 100billion dollar incentives to make discoveries like this, I don't know if we should assume this is the only optimization that will happen.

      Given that increasing model size doesn't yield proportional increases in intelligence, there is a world where these datacenters don't have a positive ROI if we make these models even a fraction as effective as the human brain.

    • boshalfoshal 14 hours ago ago

      Well considering basically the entire market was down these past few days, Google included, its unlikely attributable to this paper alone. Its most likely correlated with general war/trade route restrictions/potential recession fears, or at least, more correlated with those than it is with this paper.

      This paper was released a year ago and was probably part of how google got to 1m context before other labs.

    • yorwba a day ago ago

      It especially doesn't make sense considering that TurboQuant has been public on arXiv for almost a year: https://arxiv.org/abs/2504.19874 So it predates the late-2025 RAM price surge! https://pcpartpicker.com/trends/price/memory/

      I think that either investors were extremely skittish that the stocks might crash and jumped at the first sign of trouble (creating a self-fulfilling prophecy) or they were trading on non-public information and analysts who don't have access to said information are reading too much into the temporal coincidence of the Google Research blog highlighting this paper.

    • clawfund a day ago ago

      The stock drop isn't about demand volume, it's about pricing power. HBM vendors have been charging huge premiums because AI buyers had no alternative to buying more memory. A 6x compression result means per-GB willingness to pay drops even if total shipments hold. Flat volume at lower margins is a worse business than growing volume at premium margins.

      • aljgz a day ago ago

        It could also reduce the total cost of AI to the point it becomes feasible for more tasks, increasing the demand, in case Jevon's kicks in.

  • fph a day ago ago

    Despite the shortage, RAM is still cheaper than mathematicians.

    • Verdex a day ago ago

      It's also less frustrating to organize world wide ram production and logistics than to deal with a single mathematician.

      Constantly sitting around trying to solve problems that nobody has made headway on for hundreds of years. Or inventing theorems around 15th century mysticism that won't be applicable for hundreds of years.

      Now if you'll excuse me I need to multiply some numbers by 3 and divide them by 2 ... I'm so close guys.

      • Eddy_Viscosity2 a day ago ago

        The comment feels a bit like Verdex may have dated a mathematician at some point and it went sour.

    • captainbland a day ago ago

      I don't know, I think if you weighed up the costs of AI related datacentre spend vs. the average mathematics academic's salary you could come to a different conclusion.

      • iLemming a day ago ago

        Raising, nurturing, training, and mentoring an expert mathematician is not cheap; it never was, perhaps the first time in history when we can witness that rule to change - spinning up a bunch of math-savvy agents, each smarter than Ramanujan maybe will get too cheap.

        • high_na_euv 8 hours ago ago

          You dont have to raise them, someone already did it, you have to hire them

          • iLemming an hour ago ago

            You're oversimplifying the message I'm trying to convey. "you just hire them, someone already raised them" - treats mathematicians as a commodity stock rather than a flow. The conversation frames it as "mathematicians vs. RAM" - a cost comparison. But that's like comparing the cost of a GPS unit vs. a ship captain. The captain isn't expensive because they can calculate routes; they're expensive because they know when the route is wrong. AI makes the math cheaper but makes the mathematician more valuable, at least until true AGI genuinely surpasses human mathematical creativity - at which point we have much bigger economic questions than mathematician salaries.

            The topic on itself is quite interesting, and far complex than supply/demand norms. Even before AI, there was and both wasn't shortage of mathematicians - academic pure mathematics - there's a glut. High school teachers - people exist; but they won't work for teacher salaries. Applied math - acute shortage - quant finance, ML research, cryptography, pharmaceutical modeling - we don't have enough. NSA - always struggled to hire - private sector salaries pull people away. Interdisciplinary - mathematical biology, climate modeling, materials science - domains where math is the bottleneck but the job title isn't really "mathematician" - acute shortage.

    • _fizz_buzz_ a day ago ago

      Doubt it. You have to pay these mathematicians once and then you can deploy to millions of sites.

    • mandeepj a day ago ago

      But not everyone has to pay mathematicians, like RAM :-)

    • Almondsetat a day ago ago

      At the same time, processing is much cheaper than memory

      • gunalx a day ago ago

        Without memory you have no data to compute on. Memory and compute scaling only makes sense in tandem.

  • abdelhousni a day ago ago

    The same could be said about other IT domain... When you see single webpages that weight by tens of MB you wonder how we came to this.

    • Yokohiii a day ago ago

      Detachment from reality. Code elegance is more important then anything else. As simple as that.

  • mxmlnkn a day ago ago

    > The obvious one outside of KV caches as mentioned above is vector databases. Any RAG pipeline that stores embedding vectors for retrieval benefits from the same compression. TurboQuant reduces indexing time to “virtually zero” on vector search tasks and outperforms product quantisation and RabbiQ on recall benchmarks using GloVe vectors.

    This part sounds especially cool. I did not think about this application when reading the other articles about TurboQuant. It would be cool to have access to this performance optimization for local RAG.

  • convexly 19 hours ago ago

    There's a bunch of research showing that more/better information doesn't reliably improve judgement, but better feedback on your existing predictions does. Makes me think of Soros and his whole thing about reflexivity.

  • simne a day ago ago

    Sure, we need better math, it is obvious.

    Unfortunately, nobody at big companies know, what exactly math will win, so competition not end.

    So, researchers will try one solution, then other solution, etc, until find something perfect, or until semiconductors production (Moore's Law) made enough semiconductors to run current models fast enough.

    I believe, somebody already have silver bullet of ideal AI algorithm, which will lead all us to AGI, when scaled in some big company, but this knowledge is not obvious at the moment.

  • Lerc a day ago ago

    This is one of the basic avenues for advancement.

    Compute, bytes of ram used, bytes in model, bytes accessed per iteration, bytes of data used for training.

    You can trade the balance if you can find another way to do things, extreme quantisation is but one direction to try. KANs were aiming for more compute and fewer parameters. The recent optimisation project have been pushing at these various properties. Sometimes gains in one comes at the cost of another, but that needn't always be the case.

  • am17an a day ago ago

    There are techniques which already achieve great compression of the cache at 4 bit, eg using hadamard transforms. Going from 4 bit to 3 bit isn’t the great leap people expect this to be. It’s actually slower to run and is generally worse in practice.

  • SphericalCowww a day ago ago

    I mean, since GPT-4, I believe the RAM is no longer creating the miracle that the LLM performance scales directly with the model size. At least ChatGPT itself convinced me that any decent-sized company can create a GPT4 equivalent in terms of model size, but limited by service options, like memory cache and hallucination handling. Companies buy RAM simply to ride the stock hype.

    I am no expert, so this is a shallow take, but I think the global LLM already reaches its limit, and general AGI could only be possible if it's living in the moment, i.e., retraining every minute or so, and associating it with a much smaller device that can observe the surroundings, like a robot or such.

    Instead of KV cache, I have an idea of using LoRA's instead: having a central LLM unchanged by learning, surrounded by a dozen or thousands of LoRAs, made orthogonal to each other, each competed by weights to be trained every 1 min say. The LLM, since it's a RNN anyway, provides "summarize what your state and goal is at this moment" and trains the LoRAs with the summary along with all the observations and say inputs from the users. The output of the LoRAs feeds back to the LLM for it to decide the weights for further LoRAs training.

    Anyways, I am just thinking there needs to be a structure change of some kind.

    • fittingopposite 13 hours ago ago

      Re continuous fine-tuning: how do you avoid catastrophic forgetting in your proposal?

    • redanddead a day ago ago

      share it on gh and make a show hn post about it, maybe you're right

      the models are still very stupid atm something needs to change

  • alienbaby a day ago ago

    Ive thought for a while that the real gains now will not come from throwing more hardware at the problem, but advances in mathematical techniques to make things for more efficient.

  • PaddyLena a day ago ago

    I think the biggest issue isn’t the tool itself, but access and stability. I had more trouble finding reliable AI accounts than using them tbh

  • chr15m a day ago ago

    Is this something that will show up in Ollama any time soon to increase context size of local models?

    • zozbot234 a day ago ago

      KV quantization has long been available in llama.cpp

      • chr15m 20 hours ago ago

        Yes but the optimisation described has not right?

  • Skunkleton a day ago ago

    The TurboQuant paper is from April 2025. I’m sure the major labs knew about it on, or even before, the day it published. Any impact it had would have been a year ago. Yet I keep seeing these posts and discuss completely ignoring this.

    Can we please start talking about this in that context? We already know what TurboQuant will do to DRAM demand. We already know what it will do to context windows. There is no need to speculate. There is no need to panic sell stocks.

  • exabrial a day ago ago

    I was thinking it needs speciality hardware. Sort of like how GPUs were born…

  • barbegal a day ago ago

    Does the KV cache really grow to use more memory than the model weights? The reduction in overall RAM relies on the KV cache being a substantial proportion of the memory usage but with very large models I can't see how that holds true.

    • zozbot234 a day ago ago

      For long context, yes this is at least plausible. And the latest models are reaching context lengths of 1M tokens or perhaps more.

  • LoganDark a day ago ago

    We will not see memory demand decrease because this will simply allow AI companies to run more instances. They still want an infinite amount of memory at the moment, no matter how AI improves.

    • rainsford a day ago ago

      I'm not sure that's infinitely true as long as AI costs to the user are proportional to the cost it takes to run the model. Even if user costs are heavily subsidized by investment, as long as they are non-zero and go up when models cost more, there will be at least some pressure for cheaper models and not just more capable ones and that pressure will go up with costs. AI is a crazy industry, but it's not totally immune to the law of supply and demand.

      The real question though is how close are we to the point where the pressure is more for efficiency rather than capability. Anecdotally I think it's a ways off. Right now the general vibe I get is that people feel AI is very impressive for how cheap it is to use, which suggests to me that a lot of users would be very willing to pay more for more capable models. So the tipping point where AI hardware demand might slow down seems a ways off.

      • LoganDark 19 hours ago ago

        It has yet to be seen when hyperscalers will change their tune.

    • jurgenburgen a day ago ago

      If models become more efficient we will move more of the work to local devices instead of using SaaS models. We’re still in the mainframe era of LLM.

      • rainsford a day ago ago

        We moved from the mainframe era to desktops and smaller servers because computers got fast enough to do what we needed them to do locally. Centralized computing resources are still vastly more powerful than what's under your desk or in a laptop, but it doesn't matter because people generally don't need that much power for their daily tasks.

        The problem with AI is that it's not obvious what the upper limit of capability demand might be. And until or if we get there, there will always be demand for the more capable models that run on centralized computing resources. Even if at some point I'm able to run a model on my local desktop that's equivalent to current Claude Opus, if what Anthropic is offering as a service is significantly better in a way that matters to my use case, I will still want to use the SaaS one.

        • lelanthran a day ago ago

          > Even if at some point I'm able to run a model on my local desktop that's equivalent to current Claude Opus, if what Anthropic is offering as a service is significantly better in a way that matters to my use case, I will still want to use the SaaS one.

          Only if it's competitively priced. You wouldn't want to use the SaaS if the breakeven in investment on local instances is a matter of months.

          Right now people are shelling out for Claude Code and similar because for $200/m they can consume $10k/m of tokens. If you were actually paying $10k/m, than it makes sense to splurge $20k-$30k for a local instance.

        • zozbot234 a day ago ago

          The underlying advantage of local inference is that you're repurposing your existing hardware for free. You don't need your token spend to pay a share of the capex cost for datacenters that are large enough to draw gigawatts in power, you can just pay for your own energy use. Even though the raw energy cost per operation will probably be higher for local inference, the overall savings in hardware costs can still be quite real.

      • throwatdem12311 a day ago ago

        The hyperscalers do not want us running models at the edge and they will spend infinite amounts of circular fake money to ensure hardware remains prohibitively expensive forever.

        • topspin a day ago ago

          > they will spend infinite amounts of circular fake money > forever

          If that's the plan (there is no plan) then it expires at some point, because it's a spiral and such spirals always bottom out.

          • throwatdem12311 a day ago ago

            And when that happens people STILL won’t be able to afford the hardware.

            • lelanthran a day ago ago

              > And when that happens people STILL won’t be able to afford the hardware.

              Of course they will - if that happens all these AI token providers won't have a use for all that hardware they bought. You'll be buying used H100s and H200s off eBay for pennies on the dollar.

              • throwatdem12311 a day ago ago

                No they won’t they’re just going to get absorbed into Azure and AWS and used for generic GPU compute that you rent until they’re burned out trash.

                • Dylan16807 4 hours ago ago

                  Then those datacenters will barely need any new GPUs, so the companies making them will be desperate to get gamers to buy cards and set very competitive prices.

        • Imustaskforhelp a day ago ago

          > of circular fake money

          Oh it gets worse than that, the money which caused all of this by OpenAI was taken from Japanese banks at cheap interest rates (by softbank for the stargate project), and the Japanese Banks are able to do it because of Japanese people/Japanese companies and also the collateral are stocks which are inflated by the value of people who invest their hard earned money into the markets

          So in a way they are using real hard earned money to fund all of this, they are using your money to basically attack you behind your backs.

          I once wrote an really long comment about the shaky finances of stargate, I feel like suggesting it here: https://news.ycombinator.com/item?id=47297428

          • joquarky a day ago ago

            What is the difference between "hard earned" and not?

            • Imustaskforhelp a day ago ago

              Well cartel money for example, depends on the definition of hard earned but I don't quite imagine for example the japanese Yakuza to deposit into banks/stock markets for example, I am not sure but I imagine something like gold/cash being used.

              Maybe you can argue that yakuza is making hard earned money but imo, they are doing illegal activities within the law and are doing something more closer to extortion.

              Ironically, in a sense, what AI did in a sense is also an extortion.

              One is just legal (barely, I am not even sure how or why), the other isn't. That was my intention to highlight when I said hard earned money.

        • naasking a day ago ago

          > and they will spend infinite amounts of circular fake money to ensure hardware remains prohibitively expensive forever.

          That's ridiculous, "infinite money" isn't a thing. They will spend as much as they can not because they want to keep local solutions out, but because it enables them to provide cheaper services and capture more of the market. We all eventually benefit from that.

          • lelanthran a day ago ago

            > That's ridiculous, "infinite money" isn't a thing.

            My reading of GP is that he was being sarcastic - "infinite amounts of circular fake money" is probably a reference to these circular deals going on.

            If A hands B investment of $100, then B hands A $100 for purchase of hardware, A's equity in B, on paper, is $100, plus A has revenue of $100 (from B), which gives A total assets of $200.

            Obviously it has to be shuffled more thoroughly, but that's the basic idea that I thought GP was referring to.

          • throwatdem12311 a day ago ago

            Cheaper for who? For them maybe but certainly not for you or me.

      • delecti a day ago ago

        As I understand this advancement, this doesn't let you run bigger models, it lets you maintain more chat context. So Anthropic and OpenAI won't need as much hardware running inference to serve their users, but it doesn't do much to make bigger models work on smaller hardware.

        Though I'm not an expert, maybe my understanding of the memory allocation is wrong.

        • dd8601fn a day ago ago

          Seems to me if the model and the kv cache are competing for the same pool of memory, then massively compressing the cache necessarily means more ram available for (if it fits) a larger model, no?

          • delecti a day ago ago

            Yes, but the context is a comparatively smaller part of how much memory is used when running it locally for a single user, vs when running it on a server for public... serving.

      • mustyoshi a day ago ago

        I don't see how we'll ever get to widespread local LLM.

        The power efficiency alone is a strong enough pressure to use centralized model providers.

        My 3090 running 24b or 32b models is fun, but I know I'm paying way more per token in electricity, on top of lower quality tokens.

        It's fun to run them locally, but for anything actually useful it's cheaper to just pay API prices currently.

        • singpolyma3 a day ago ago

          Until you put up your solar and then power is almost free...

          • vidarh a day ago ago

            The amortised cost including the panels and labour is nowhere near "almost free".

            • boredatoms a day ago ago

              It is over a couple of years

              • vidarh a day ago ago

                Even if you live somewhere where it does, that is not remotely "almost free", and lots of places the payback period is more in the range of 10-15 years even with subsidies.

        • leptons a day ago ago

          AI is not cheap to run no matter where it is running. The price we get charged today for AI is a loss-leader. The actual cost is much higher, so much higher that the average paying user today would balk at what it actually costs to run. These AI companies are trying to get people hooked on their product, to get it integrated into every business and workflow that they can, then start raising prices.

      • Ray20 a day ago ago

        > If models become more efficient

        Then we can make them even bigger.

        • Imustaskforhelp a day ago ago

          > Then we can make them even bigger.

          But what if it becomes "good enough", that for most intents and purposes, small models can be "good enough"

          There are some people here/on r/localllama who I have seen run some small models and sometimes even run multiple of them to solve/iterate quickly and have a larger model plug into it and fix anything remaining.

          This would still mean that larger/SOTA models might have some demand but I don't think that the demand would be nearly enough that people think, I mean, we all still kind of feel like there are different models which are good for different tasks and a good recommendation is to benchmark different models for your own use cases as sometimes there are some small models who can be good within your particular domain worth having within your toolset.

          • Ray20 a day ago ago

            > But what if it becomes "good enough", that for most intents and purposes, small models can be "good enough"

            It's simple: then we'll make our intents and purposes bigger.

          • Almondsetat a day ago ago

            Because the true goal is AGI, not just nice little tools to solve subsets of problems. The first company which can achieve human level intelligence will just be able to self-improve at such a rate as to create a gigantic moat

            • Dylan16807 4 hours ago ago

              There's no particular reason to assume a human level AI would be able to improve itself any better than the thousands of human level humans that designed it.

              • Almondsetat 2 hours ago ago

                Sure, but: that single human with the intelligence of a top tier engineer of scientist will have immediate access to all human knowledge. Plus, what do you think happens the moment its optimizes itself to run in 2, 4, 8, 16, etc. parallel instances?

                • Dylan16807 an hour ago ago

                  Well, A) "top tier engineer/scientist" is a significant step above generic human, B) the human engineers/scientists also have immediate access to the same database, C) The humans have been optimizing it for even longer, so what makes us think the AI can optimize itself even a couple percent?

                  For example, if the number of AIs you can run per petaflop started to scale with the cube root of researcher-years, then even if your researcher AIs are quite fast and you can double your density in a couple years, hitting 5x will take a decade and hitting 10x will approach half a century.

            • 9rx a day ago ago

              > The first company which can achieve human level intelligence will just be able to...

              They say prostitution is the oldest industry of all. We know how to achieve human-level intelligence quite well. The outstanding challenge is figuring out how to produce an energy efficient human-level intelligence.

      • acuozzo a day ago ago

        But what about The Jevons Paradox?

      • DeathArrow a day ago ago

        I don't think we are there yet. Models running in data centers will still be noticeably better as efficiency will allow them to build and run better models.

        Not many people would like today models comparable to what was SOTA 2 years ago.

        To run models locally and have results as good as the models running in data centers we need both efficiency and to hit a wall in AI improvement.

        None of those two conditions seem to become true for the near future.

    • jLaForest a day ago ago
    • redrove a day ago ago

      I disagree. I think a sharp drop in memory requirements of at least an order of magnitude will cause demand to adjust accordingly.

      • cyanydeez a day ago ago

        Department of Transportation always thinks adding more lanes will reduce traffic.

        It doesn't, it induces demand. Why? Because there's always too many people with cars who will fill those lanes.

        • nkmnz a day ago ago

          Citation needed. I've heard this quite often, but so far, I haven't seen proof of the stated causality.

          PS: This doesn't mean that better public transportation could deliver more bang for the buck than the n-th additional car lane. But never ever have I heard from anybody that they chose to buy a car or use an existing car more often because an additional lane has been built.

  • Bydgoszczo a day ago ago

    And maverick 2

  • effnorwood a day ago ago

    this is exactly correct.

  • amelius a day ago ago

    Can we say something about the compression factor for pure knowledge of these models?

  • tornikeo a day ago ago

    Sigh. Don't make me tap the sign [1]

    [1] http://www.incompleteideas.net/IncIdeas/BitterLesson.html

    • staminade a day ago ago

      Doesn't seem relevant here. TurboQuant isn't a domain-specific technique like the BL is talking about, it's a general optimisation for transformers that helps leverage computation more effectively.

  • Yokohiii a day ago ago

    > If I were Google, I wouldn’t release research that exposes a competitive advantage.

    Isn't that a classic tit for tat decision and head for a loss?

    Excellence and prestige are valuable too. You get those expensive ML for a small discount, public/professional perception, etc. Considering the public communication from Google, that isn't complete sociopathic, they know this war isn't won in one night, they are the only sustainably funded company in the competition. Surely they are at risk with their business, but can either go rampant or focus. They decided to focus.

  • signa11 a day ago ago

    why not, you know, just use LLMs to do this job ?