>10x More Efficient Pretraining

(magic.dev)

98 points | by ronfriedhaber 2 days ago

13 comments

  • woadwarrior01 1 hour ago
    They have a history of making grandiose claims like this[1] from 2024, with no visible products or research.

    [1]: https://magic.dev/blog/100m-token-context-windows (also linked to in their blogpost)

  • simonw 4 hours ago
    > We match DeepSeek V4 Pro Base using ~50x fewer FLOPs – that’s around half of GPT3’s pretraining compute, or ~$0.5M on GB200.

    If this holds up that's a really big deal.

  • pvillano 3 hours ago
    A lot of people are betting their money on infinite growth forever of AI performance, compute usage, user base, subscription price.

    I think cost will decrease forever.

    • bilater 3 hours ago
      Cost will keep dropping, but the frontier will keep getting pushed. The whole "give me today's model 10x cheaper and I'm good" line is a fallacy. It isn't true now and it never will be for the top 1% of tasks, which will create the most economic gains.
      • OtherShrezzing 48 minutes ago
        > It isn't true now and it never will be for the top 1% of tasks, which will create the most economic gains

        Vulcan Materials Company has produced some of the strongest and most resilient economic gains for investors at around 25% gross margins for 50 years.

        Vulcan’s business is crushing rocks, and then driving those rocks to where people need crushed rocks.

        I mention it because Vulcan isn’t a sophisticated business at its core, but its economic returns are exceptional, because they do their unsophisticated work exceptionally well, and exceptionally efficiently.

        Across the economy, most economic gains are created by companies like Vulcan, who do boring repetitive work exceptionally well and efficiently.

        I expect this to hold true into the era of AI. Most stuff probably doesn’t need an exceptional model, and paying for an exceptional model to do unsophisticated work will leave your business vulnerable to competitors who take time to find the most efficient model for the task, and undercut you.

      • adam_arthur 2 hours ago
        There are an enormous number of tasks that can get by on good enough.

        If you need image recognition, and a 30B model saturates the use case with 100% accuracy, you absolutely wouldn't continue to use the next frontier model as they come out.

        And I'd argue most economically meaningful tasks will be saturated by cheaper models than those requiring frontier.

        Think about what today's models can do with pretty close to 100% accuracy, and then consider that they will be orders of magnitudes cheaper over the years.

        5.6 Sol can already obviate tons of labor, and why would you pay 2x or more for no meaningful gain?

        The relative gap between frontier and non frontier also continues to shrink, so it's not like you take a meaningful performance loss by rewinding to models from 3-6 months ago. And soon that gap will expand to 12-24 months.

        I get the impression the majority of people on here only think about coding, which net net will be a tiny volume of overall AI use in the end.

        • bilater 2 hours ago
          That can all be true but the frontier models will still have a huge market. You're thinking of all tasks as a fixed pie. The top 1% of intelligence opens up a whole new pie, stuff nobody does today because it's too expensive: daily cancer scans instead of one every few years, asteroid mining missions that need ten thousand PhD-hours of planning, custom drugs designed for your specific tumor, a personal lawyer and doctor for every person on earth, auditing every line of code in every bank and hospital continuously and so on.
          • throwup238 1 hour ago
            > daily cancer scans instead of one every few years

            Silly nitpick: the reason we don’t do daily cancer scans isn’t the cost, it’s the false positive rate. Invasive procedures like biopsies come with complications like infections that happen at a higher rate and do more damage than the cancer that doesn’t even exist. This dilemma is pervasive in medicine, because our tests aren’t perfect but the thing they’re testing for is rare.

            • sacred_numbers 1 hour ago
              The whole paradigm changes, though, when you can do daily cancer scans. You don't get a biopsy when the scan shows a lump. You get a biopsy after a couple weeks of daily scans showing the lump growing. Plus, having all the data from the daily scans improves your testing accuracy so false positives and negatives are more rare.
              • throwup238 1 hour ago
                The errors are correlated, not random. Lumps are usually benign cysts. If you start cutting people open for every cyst on a scan, you’d kill a lot more people than you’d save.

                This isn’t something you can solve with more scans because the tests test for data that is indistinguishable. They look the same on a scan, there’s an overlap in the assay with some random protein with the same binding sites that is only present in 1% of the population, the coding gene in one person gets repeated in a noncoding region in another, and so on. The “more data” that works is a doctor applying professional judgement (which they’re also famously bad at because biology is a fickle mistress).

                • mhluongo 21 minutes ago
                  More data (daily scans) can mean we get better at medicine, though, and more accurate. You're assuming "daily cancer scans" look just like they do today, rather than eg unobtrusive devices in our daily lives that measure changes over time.

                  The frequent "muh false positives" comment we hear from doctors appears to be a lack of imagination?

                  • throwup238 8 minutes ago
                    They “can mean” that, but they don’t. Empirically.

                    For example: you can get an unobtrusive device to measure your blood sugar, like a diabetic. Result: a bunch of hypochondriacs flooding doctors with spurious blood sugar readings that don’t mean anything because spoiler alert the research is entirely on actual diabetics, not healthy people. Repeat this kafkaesque pattern all over medicine, and you get to where we are today.

                    (yes i get the irony of my argument. But it’s not more data, it’s better data, of which we are sorely lacking)

          • adam_arthur 2 hours ago
            Yes, agree that token consumption will increase exponentially for the next while.

            Disagree that the frontier model is where the economic gains will be realized.

            The smaller the relative gap between frontier and non-frontier/open weights, the less pricing power.

            This gap has shown only to shrink over time, not expand.

            Businesses will pay more for frontier, but not meaningfully more to justify the economics. It's always going to be a low margin business, perhaps outside of cyber security, warfare/intelligence and perhaps drug discovery.

            Though the expensive and time consuming part of drugs is doing the trials and getting approval, not coming up with ideas

            • pixl97 2 hours ago
              Sounds kind of like another K shaped economy. Low end models will be highly competitive and low profit. Problems that can be solved by low end models will be highly competitive and low profit too.

              Where the interesting work will be is at the median point where cheap models do almost all of it but need to hand off some parts to the SOTA/more expensive models. Seems like there's money to be made by maximizing low end use while maintaining quality.

              • adam_arthur 2 hours ago
                Certainly there's still a business there, I'm not saying they won't exist. But it's not going to be a monopoly-esque business with so many players in the ring, OpenAI, Anthropic, Google, Meta, Deepseek, Alibaba, GLM, Kimi etc. It will be cutthroat and a race to the bottom on price. And the difference from today -> 6 months ago intelligence will not be very meaningful.

                Investors are largely treating these as future monopolies though.

                We can already do so much with existing models. Harness improvements are probably more meaningful at this point.

                e.g. say most image recognition can get saturated by a model of size xB parameters, so your tool for that can handoff to a smaller model. Document text extraction can use a model of size yB parameters. A model of size zB for summarizing text.

                We are starting to get to a point where you can reasonably scope out an upper bound of required size/effort for many common tasks, and if you string these together, the frontier will largely act as an intelligent invoker of more efficient models.

                Up until now there have been meaningful gains to each of those types of workstreams by using newer models, but that is starting to no longer be the case.

                Yes, I do believe token consumption will rise exponentially from here in the near term. But cost of switching is low, and substantial profitability will be difficult.

            • bilater 2 hours ago
              how much would you pay for a prompt that could cure cancer? if you're a pharma company you would pay millions to get there days faster than your competitor. as intelligence rises the marginal value it can deliver rises with it.
              • philipkglass 2 hours ago
                Something like curing cancer (more realistically, curing a specific kind of cancer) has to interact with much slower real-world processes. The most expensive part of drug development is Phase 3 clinical trials in humans. Even the smartest model in the world can't accelerate that meaningfully. Even much earlier when drugs are just testing in cell cultures, it's a lot slower to run lab tests than to run software tests or mathematical proof checkers.

                Or to put it another way, there's enough natural variation in real-world bottlenecks that no pharma company can assume they'll beat competitors to market by using a smarter model.

                A really smart model could significantly improve the pharma business if it could identify promising approaches to cancer treatment that are less likely to fail in clinical trials, but I don't think that the frontier labs have data to make that work yet. Much of the biomedical literature is poorly reproducible ("replication crisis") and much of the drug-development-specific data is proprietary, never published in the first place.

                I do have hopes that general laboratory automation will go faster with LLM assistance, even if all the LLM does is write Python glue scripts to enable custom workflows and instrument integrations.

          • michaellee8 2 hours ago
            yea you see no body are vibecoding games before opus 5 and astra, after they are released games basically got commoditized
            • adam_arthur 2 hours ago
              If the output is commoditized, how much can you afford to pay for the input?
            • sampullman 45 minutes ago
              Is this sarcasm? I assume most studios are integrating AI into their workflows, but I still haven't seen a single vibecoded game that looks interesting.
      • saulpw 2 hours ago
        I think there's an intelligence limit, or at least asymptote. It may be above human intelligence, but I don't think it's miles above it (at least not the kind of intelligence humans can create, recognize, or use). For example in Go, most estimates place God or "perfect play" three ranks above top professionals[0]. In the latest human-AI Go match, the human got a 2 stone handicap. So it's not like we have a lot more frontier to push there.

        [0]https://senseis.xmp.net/?HandOfGod

        • pixl97 2 hours ago
          Intelligence is spiky. In some things humans may play near the limit (Go possibly), but if you look at parts of mathematics like addition, humans can add in their head just fine but its a few trillion times faster to use a computer on addition problems of any size.

          And that's not even really touching societal/network intelligence. A single human isn't that smart and can't accomplish that much. Hence we form families, and companies, and societies, and governments. What does a society of AIs look like?

          • saulpw 2 hours ago
            Note that addition that's "trillion times faster" is purely an optimization, not greater intelligence.

            And a society of humans does not increase our overall intelligence. It allows all of humanity to access the accomplishments of our most intelligent members throughout history (which is huge, don't get me wrong!) but it seems almost self-evident that our civilization as a whole is not smarter than Newton/Einstein/von Neumann/etc.

        • bilater 2 hours ago
          this assumes our whole universe and what we can do in it is a finite go board. maybe it is. but we are no where close to exploring even a fraction of it. lots of things need to happen before any limit is reached. the cavemen would also probably think we saturated tools once they saw bows and arrows.
      • czhu12 2 hours ago
        its already true today according to openrouter usage stats. https://openrouter.ai/rankings Most people just use cheaper open weight
        • kennywinker 1 hour ago
          Intuitively I agree with you, but you've cited evidence that doesn't actually prove what you said. Yes, openrouter users choose cheaper open weights. If you're on openrouter, you're already shopping around. We'd need stats for claude, codex, gemini, grok (yuck), AND openrouter, to determine what people in general (not just the subset of people who decided to shop around) are actually doing.
    • blake__dev 2 hours ago
      I agree, but I also think as AI gets better we're going to see Jevons paradox in full swing, which might delay lower costs. We've seen this with Astra according to Tibo: https://x.com/thsottiaux/status/2097559315150426222
  • ansk 3 hours ago
    I don't know enough about the specific models they're comparing against to say this definitively, but it looks to me like they're comparing their pre-trained models with others' post-trained models.

    The metric upon which their 10x claim is based (bits-per-byte) is exactly the metric which is optimized during pre-training. Post-trained models are fine-tuned to optimize other metrics, which is known to be detrimental to performance on bits-per-byte evaluations. So bits-per-byte evaluations will always make a pre-trained model look favorable in comparison to a comparable model which has also undergone post-training.

    Can someone confirm whether the models they are comparing against (DeepSeek V4, Kimi K2, and Nemotron 3 Ultra) have been post-trained?

    • brrrrrm 3 hours ago
      they say they're looking at base models, so I think it's fairly compared as written.
  • ismael_rr 4 hours ago
    Super awesome. Wish they would release the paper about what they did to achieve this. I remember nous released the token superposition paper which improved pretraining FLOPs some, but not 50x: https://nousresearch.com/token-superposition. Wondering if they also found some cool tokenization strategiesa
    • pixl97 2 hours ago
      "Write a paper" < "Sell to a big AI lab for $$$"

      Going to be interesting to see what happens to discoveries like this in the future.

  • brrrrrm 3 hours ago
    this is basically the only thing pre-training teams work on in labs. compute efficiency is the metric, the assumption that scaling = intelligence is considered a given.
  • riazrizvi 55 minutes ago
    Very helpful thanks.
  • monneyboi 3 hours ago
    Imagine the sheer amount of power you could save by releasing the paper.
    • speedgoose 3 hours ago
      But thanks to the Jevon Paradox, the global power consumption would probably increase.

      https://en.wikipedia.org/wiki/Jevons_paradox

      • aaroninsf 3 hours ago
        Solar is now not only the cheapest energy it's cheaper to intitially deploy than non-renewables.

        Doesn't mean we should waste energy; it does mean that we have crossed a threshold beyond which energy concerns change shape.

        • pixl97 2 hours ago
          "Honey, why is there a solar panel-maximizer converting our car?"
          • pvillano 2 hours ago
            Sunlight no longer reaches the earth's surface but at least we know P vs NP
  • vatsachak 3 hours ago
    Cool story. If it's true the company will be bought by open AI/Anthropic and Chinese labs will discover the trick and open source it by next quarter.
    • vkaku 2 hours ago
      Next Quarter? :) That's too long
    • gdiamos 2 hours ago
      Training improvements are very easy to copy.
  • vkaku 2 hours ago
    This is great. All algorithmic efficiencies are amazing!

    One thing I'd remind all scientists and the wonderful people here is this wonderful meme/line from Jurassic Park: "Your scientists were so preoccupied with whether they could they didn't stop to think if they should."

    What is the actual amount of data that needs to be pre-trained and what is not? Nobody has come up with great answers to this question, and I'm already seeing amazing 0.5b-2b parameter models working very well with n-Gram corpuses of data. So, how many parameters do you really need for a given workload?

  • mohsen1 2 hours ago
    [dead]
  • pvillano 2 hours ago
    Imagine yourself the CEO of a big AI company. It takes about a month to develop and train a model, so you release a new model every month. A startup says they can 10x your efficiency. What does that get you? You can't release a new model every three days. You can't 10x R&D either. You definitely can't tell investors that you are growing at the same rate, but selling off assets and cancelling purchasing contracts. So you just never improve efficiency enough to use less energy than the previous model version.

    I don't believe this is actually happening.

    • alex_duf 1 hour ago
      A 10x reduction in pre-training means a 10x faster feedback loop. I'm pretty sure any lab would sign up for that. You can start experimenting on different approaches much more aggressively.
    • enzyme1234 1 hour ago
      the obvious answer is that you can try more experiments over the same period of time, so you find more improvements per month, and the rate of improvement of the models you release increases
    • awestroke 2 hours ago
      > What does that get you?

      Cheaper model training runs? Ability to scale training to larger model sizes without extending training time?

      • pvillano 2 hours ago
        Yes, but a 10x larger model is only marginally better, and 10x cheaper training runs is only useful if you can find a use for 10x as many.
    • BoorishBears 1 hour ago
      This seems weirdly pessemistic: frontier labs have much stronger pretraining than most open weights models

      And reading the release it feels very obvious this is also a ton of aligning their data mix with coding and science: we don't know that this model doesn't have terrible world knowledge or is ruined for anything related to subjective preference

      They also repeatedly mention knowledge almost as if they saw that skepticism coming, but then limit knowledge to topics where more understanding of how code/scientific writing looks would produce the same graph as having actual world knowledge maintained.

      That's not nefarious (they literally build coding models), but it also means the resulting model isn't necessarily competitive with a frontier model in a broader way.

      This feels like the inverse approach to what Thinking Machines did with Inkling (trying to train as "un-spikey" a base model as possible)

  • FailMore 3 hours ago
    If you're like me, a SWE who is curious about ML/LLM training but unfamiliar with the terms, I got an agent to explain to me how to read the charts.

    Basically, you can think of a LLM as a function which generates a probability distribution of words. If the next word in a series is "they", and one model predicts that word 40% of the time, and another model predicts that word 1% of the time, the latter model is worse as it is more surprised by the true distribution.

    You can convert these probabilities into "bits":

    surprise in bits = −log₂(probability of the actual token)

      Probability of actual token,Surprise
      1,0 bits
      1/2,1 bit
      1/8,3 bits
      1/1024,10 bits
    
    This is then normalised by text length:

    Bits per byte = total next-token surprise in bits / number of bytes in the evaluated text

    So the lower you go on the charts, the less surprises in the LLMs distribution (a better model).

    For more info: https://smalldocs.org/s/DfvdGuFsiR3LlzXw1H5J0K#k=AJ8V1AQECYj...

    • asadm 3 hours ago
      not a good enough submarine