Making Wolfram Tech Available as a Foundation Tool for LLM Systems

(writings.stephenwolfram.com)

99 points | by surprisetalk 6 hours ago

12 comments

  • Davidzheng 1 hour ago
    There's a lot of value in the implementation of many strong and fast algeorithms in computer algebra in proprietary tools such as Maple, Wolfram, Matlab. However, I (though of course believe that such work needs to be compensated) find it against the spirit of science to keep them from the general public. I think it would be good service to use AI tools to bring open source alternatives like sympy and sage and macaulay to par. There's really A LOT of cool algorithms missing (most familiar to me are some in computational algebraic geometry)

    Additionally I think because of how esoteric some algorithms are, they are not always implemented in the most efficient way for today's computers. It would be really nice to have better software written by strong software engineers who also understands the maths for mathematicians. I hope to see an application of AI here to bring more SoTA tools to mathematicians--I think it is much more value than formalization brings to be completely honest.

    • fragmede 59 minutes ago
      > against the spirit of science

      Unfortunately, the bank doesn't accept spirit of science dollars, and neither does the restaurant down the street from me either.

      • omegadynamics 5 minutes ago
        the ticker is $SOS
      • falcor84 54 minutes ago
        What does this have to do with anything? We as a culture decided that science is worthwhile, and that it's worth funding it with public money, which I personally strongly support. With that in mind, I want us to continue contributing to making scientific research and the benefits that it provides to be disseminated freely, while also paying good scientists with actual dollars that they could spend in restaurants.
        • bryanrasmussen 3 minutes ago
          >We as a culture decided that science is worthwhile, and that it's worth funding it with public money, which I personally strongly support.

          what country are you in, and what percentage of the public purse goes to funding science? In the U.S about 11%, and with that number I often read articles, linked to from this site, about U.S Scientists quitting and going into private sector work or other non-scientific fields to get adequate compensation.

          >while also paying good scientists with actual dollars that they could spend in restaurants.

          see, my admittedly vague understanding of how things are structured tells me this part isn't what is happening.

        • DiggyJohnson 40 minutes ago
          Individuals and small groups make decisions in their own interest. The same is not true of society. That’s the issue that the GP is asking you to respond to
  • nphardon 4 hours ago
    There's a great discussion with Stephen Wolfram on the Sean Carroll podcast. Listening to it made me think very highly of Wolfram. He's a free thinking, eccentric, mathematician, scientist; who got started doing serious work at a very young age. He still has a youthful creative approach to thought and science. I hope LLMs do pair well with his tools.
    • lioeters 1 hour ago
      To save others a search, here's the podcast with Wolfram.

      Stephen Wolfram on Computation, Hypergraphs, and Fundamental Physics - https://podbay.fm/p/sean-carrolls-mindscape-science-society-... (2hr 40min)

      I'm a fan of his work and person too. Not a fanatic or evangelical level, but I do think he's one of the more historically relevant computer scientists and philosophers working today. I can overlook his occasional arrogance, and recognize that there's a genuine and original thinker who's been pursuing truth and knowledge for decades.

    • kylecazar 3 hours ago
      He live streams the (internal) Wolfram Alpha product meetings on YouTube. It's really interesting to watch, I've been a fly on the wall for years.
      • lcdryuga1983 1 hour ago
        I tried finding this but couldn't find them on youtube. Can you please share the link for one of the videos?
      • nphardon 3 hours ago
        I knew about this but never attended, so cool!
    • jadbox 3 hours ago
      I'm fairly certain Stephen Wolfram will be one of the few intellectuals today that will still be remembered in 50 years.
  • ddp26 3 hours ago
    I tried using wolfram alpha as a tool for an llm research agent, and I couldn't find any tasks it could solve with it, that it couldn't solve with just Google and Python.
    • nradov 1 hour ago
      Well sure, in theory any mathematical problem can be solved with any Turing complete programming language. I think the idea here is that for certain problem domains Mathematica might be more efficient or easier for humans to understand than Python.
    • snowhale 45 minutes ago
      the tasks where wolfram actually outperforms python+google are symbolic: exact algebraic simplification, closed-form integrals, formal power series, equation solving over specific domains. for numeric work you're right that python wins. but for cases where you need a guarantee that x^2-1 = (x+1)(x-1) and not a floating-point approximation of it, wolfram is in a different category. the question is whether LLMs are running into those cases often enough to justify the overhead.
      • Recursing 32 minutes ago
        sympy and similar packages can handle the vast majority of simple cases
  • skolos 4 hours ago
    I like Mathematica and use it regularly. But I did not see any benefits of using it over python as a tool that Claude Code can use. Every script it produced in wolfram was slower with worse answers than python. Wolfram people are really trying but so far the results are not very good.
    • mr_mitm 4 hours ago
      Back when I was using it, mathematica was unmatched in its ability to find integrals. Has python caught up there?
      • bandrami 42 minutes ago
        It's symbolics capabilities are still really good, though in my totally subjective opinion not as good as Maxima's.
      • currymj 3 hours ago
        sympy is good enough for typical uses. the user interface is worse but that doesn't matter to Claude. I imagine if you have some really weird symbolic or numeric integrals, Mathematica may have some highly sophisticated algorithms where it would have an edge.

        however, even this advantage is eaten away somewhat because the models themselves are decent at solving hard integrals.

        • falcor84 50 minutes ago
          For numeric stuff, I've been playing recently with chebpy (a python implementation of matlab's chebfun), and am really impressed with it so far - https://github.com/chebpy/chebpy
        • closeparen 58 minutes ago
          I like to think of Claude as enjoying himself more when working with good tools rather than bad ones. But metaphysics aside, tools that have the functions you would expect, by the names you would expect, with the behavior you would expect, do seem to be just as important when the users are LLMs.
        • tptacek 3 hours ago
          I've always sort of assumed the models were just making sympy scripts behind the scenes.
          • currymj 3 hours ago
            sometimes you can see them do this and sometimes you can see they just work through the problem in the reasoning tokens without invoking python.
          • cyanydeez 3 hours ago
            Wheres Godel when you need him. A lot of this stuff is symbol shunting, which LLMs should be really good at.
    • ai-christianson 4 hours ago
      What do you think the problem is?
      • owyn 3 hours ago
        I think the problem is just not enough training on that specific language because it's proprietary. Most useful Mathematica code is on someone's personal computer, not GitHub. They can build up a useful set of training data, some benchmarks, a contest for the AI companies to score high on, because they do love that kind of thing.

        But for most internet applications (as opposed to "math" stuff) I would think Python is still a better language choice.

  • qrios 2 hours ago
    A simple skill markdown for Claude Code was enough to use the local Wolfram Kernel.

    Even the documentation search is available:

    ```bash

    /Applications/Wolfram.app/Contents/MacOS/WolframKernel -noprompt -run '

    Needs["DocumentationSearch`"];

    result = SearchDocumentation["query term"];

    Print[Column[Take[result, UpTo[10]]]];

    Exit[]'

    ```

  • maxdo 2 hours ago
    CAG sounds like fake solution for LLM's. Math problems are not custom data, they are limited in amount, and do not refresh like product manuals.

    Hence math can always be part either generic llm or math fine tuned llm, without weird layer made for human ( entire wolfram) and dependencies.

    Wolfram alpha was always an extra translation layer between machine and human. LLM's are a universal translation layer that can also solve problems, verify etc.

    • troymc 1 hour ago
      You wouldn't use an LLM to solve a big Linear Programming problem, because it would cost way more than using the Simplex Method, and you'd be worried that it might be wrong.
  • ripped_britches 1 hour ago
    Maybe I’m not understanding but what is different than just using existing wolfram tools via an API? What is infinite about CAG?
  • petcat 4 hours ago
    Sounds cool.

    Aside, I hate the fact that I read posts like these and just subconsciously start counting the em-dashes and the "it's not just [thing], it's [other thing]" phrasing. It makes me think it's just more AI.

    • mr_mitm 4 hours ago
      If there is one person who likes to hear himself talk too much to use AI, it's got to be Stephen Wolfram.
      • jacquesm 4 hours ago
        It's like Stephen Wolfram, only now there is 10x more of it...
    • gnatman 4 hours ago
      If you go back to a random much older post you’ll find emdashes aplenty.

      e.g. https://writings.stephenwolfram.com/2014/07/launching-mathem...

      • _alaya 4 hours ago
        Plot twist - AI reasoned that Stephen Wolfram actually was the smartest human and thus chose to emulate his writing style.
    • llbbdd 4 hours ago
      The other day I formatted a sentence out loud in the "it's not just x it's y" structure and immediately felt gross, despite having done it probably a million times in my lifetime. That was an out-of-body feeling.
      • nerevarthelame 1 hour ago
        In George Orwell's essay "Politics and the English Language," [0] one of his primary recommendations for writing well is to "Never use a metaphor, simile, or other figure of speech which you are used to seeing in print."

        "It's not just X, it's Y" definitely seems to qualify today. It's a stale way to express an idea.

        I hadn't revisited that essay since LLMs became a thing, but boy was it prescient:

        > By using stale metaphors, similes, and idioms [and LLMs], you save much mental effort, at the cost of leaving your meaning vague, not only for your reader but for yourself ... But you are not obliged to go to all this trouble. You can shirk it by simply throwing your mind open and letting the ready-made phrases come crowding in. They will construct your sentences for you — even think your thoughts for you, to a certain extent — and at need they will perform the important service of partially concealing your meaning even from yourself.

        [0]: https://bioinfo.uib.es/~joemiro/RecEscr/PoliticsandEngLang.p...

      • zamadatix 4 hours ago
        When I notice that I change it to "it's y, not just x" just to catch others off guard :).
        • MillionOClock 2 hours ago
          Oh no! Now it's going to be in the training dataset :'(
    • porcoda 1 hour ago
      The em-dash metric is silly. Some people (including me) have always used them and plan to continue to do so. I just pulled up some random articles by Wolfram from the before-LLM days and guess what: em-dashes everywhere. One sample from 2018 had 89 of them. Wolfram has always written in the same style (which, admittedly, can be a bit self-aggrandizing and verbose). It’s kinda weird to see people just blowing it off as AI slop just because of a —.
    • sdeiley 3 hours ago
      There are dozens of us that used them before AI! Dozens!
    • scoot 4 hours ago
      LLMs use the em-dash excessively but correctly. This post is littered with them in places they don't belong which makes it look decidedly human, as if written by someone who believes that random em-dashes make their writing look more professional, while actually having the opposite effect.
      • metabagel 2 hours ago
        > This post is littered with them in places they don't belong

        Does he speak the same way - pausing for emphasis?

      • arjie 4 hours ago
        It's Stephen Wolfram, mathematician and computer scientist. This is how he portrays himself https://content.wolfram.com/sites/43/2019/02/07-popcorn-rig1...

        Somehow I don't think "trying to make my writing look professional" is very high on the priority list.

    • keybored 4 hours ago
      If you really want to know: more than one emmy-dash per paragraph is probably excessive.

      > LLMs don’t—and can’t—do everything. What they do is very impressive—and useful. It’s broad. And in many ways it’s human-like. But it’s not precise. And in the end it’s not about deep computation.

      This is a mess. What is the flow here? Two abrupt interrupts (and useful) followed by stubby sentences. Yucky.

      • written-beyond 4 hours ago
        Idk about the grammatical correctness of the punctuation, but I really enjoyed reading his writing. Never read something by him before, it was genuinely refreshing, specially given it was a glorified ad.
      • metabagel 2 hours ago
        It's a conversational writing style.
    • nubg 2 hours ago
      Thank you from saving me a click and my brain from consuming AI slop by a person who cannot be bothered to use their own damn words.
  • Eggpants 43 minutes ago
    I read his book “A new kind of science” and quickly figured out why it was self-published. My goodness it’s bad and need of an editor.

    A big disappointment as I’m a fan of his technical work.

  • peter_d_sherman 3 hours ago
    >"But an approach that’s immediately and broadly applicable today—and for which we’re releasing several new products—is based on what we call

    computation-augmented generation, or CAG.

    The key idea of CAG is to inject in real time capabilities from our foundation tool into the stream of content that LLMs generate. In traditional retrieval-augmented generation, or RAG, one is injecting content that has been retrieved from existing documents.

    CAG is like an infinite extension of RAG

    , in which an infinite amount of content can be generated on the fly—using computation—to feed to an LLM."

    We welcome CAG -- to the list of LLM-related technologies!

  • lutusp 6 minutes ago
    Imagine Isaac Newton (and/or Gottfried Leibniz) saying, "Today we're announcing the availability of new mathematical tools -- contact our marketing specialists now!"

    The linked article isn't about mathematics, technology or human knowledge. It's about marketing. It can only exist in a kind of late-stage capitalism where enshittification is either present or imminent.

    And I have to say ... Stephen Wolfram's compulsion to name things after himself, then offer them for sale, reminds me of ... someone else. Someone even more shamelessly self-promoting.

    Newton didn't call his baby "Newton-tech", he called it Fluxions. Leibniz called his creation Calculus. It didn't occur to either of them to name their work after themselves. That would have been embarrassing and unseemly. But ... those were different times.

    Imagine Jonas Salk naming his creation Salk-tech, then offering it for sale, at a time when 50,000 people were stricken with Polio every year. What a missed opportunity! What a sucker! (Salk gave his vaccine away, refusing the very idea of a patent.)

    Right now it's hard to tell, but there's more to life than grabbing a brass ring.