r/AIDiscussion • • 3d ago

How does AI math?

I'm dumb so you'll have to decipher my laymen notions here.

I see a lot of news that AI is doing a lot of mathing with some great successes claimed. My question is does AI's mathematical chops center purely around its ability to plug in massive amounts of variables indefinitely until it finds solutions or does it have a kind of alien intuition for mathematical logic?

Secondary question. How closely would these programs work with mathmaticians and/or software engineers to come to these conclusion? I guess I'm asking if humans work with AI to come to these grand solutions or is it truly just AI working through these problems mostly by itself to reach conclusions that then take humans time to re decipher?

2 Upvotes

3 comments sorted by

1

u/CS_70 3d ago

Just like mathmaticians do, only with larger volume.

The model reasons and tries ideas which seem promising (actually there's a coordination structure with a master model which spanws lots of indivdual agents to pursue individual ideas, but that's an implementation detail).

Some ideas are correct, some aren't. Most incorrect ideas are found and discarded right away, but the ones which survive still aren't sure, so they need an independent verification.

That's done by having the model produce the proof in a formal language that can be mechanically checked - in a deterministic "right/wrong" manner (there are a few languages, but Lean is the most known).

The Lean description is passed thru a theorem prover, which mechanically checks if the proof is sound (which is a less compelex problem than finding a proof: it's like finding a needle in a haystack vs. checking that you have the needle in your hand).

Since the agents have judgement, every new idea builds on where others have failed, in the direction that seems more promising.

After many ideas and checks, sooner or later hopefully one agent will find a complete proof that passes the mechanical verification and voila' - a proof.

In principle is the same job a mathmetician does, building on existing knowledge and past experience and exploring in the direction that seem more promising. Only done in much higher quantity.. a bit like a man and a car both go from A to B but the car can go much faster.

1

u/Letsgofriendo 2d ago edited 2d ago

Interesting. It can bypass the barriers of a singular mind and just work the problem from multiple angles then add volume. In a sense cutting its own mind into pieces and drilling down the problem with algorithmic logic. So not brute force but forceful none the less. Lol. What a problem we've created for ourselves.

2

u/Femi_Akin 3d ago

Not brute force, since the search space is too big. Models learn patterns from lots of math and guess which steps look promising, which is a bit like intuition, but they can be wrong, so good systems verify with a proof checker or code. Humans are usually involved they choose the problems, guide the tools, and check and interpret results.