Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That was dense but seemed nuanced. Anyone care to summarize for those of us who lack the mathematics nomenclature and context?


I'm not claiming to be an expert, but more or less what the article says is this:

- Context: Terence Tao is one of the best mathematician alive.

- Context: AlphaEvolve is an optimization tool from Google. It differs from traditional tools because the search is guided by an LLM, whose job is to mutate a program written in a normal programming language (they used Python). Hallucinations are not a problem because the LLM is only a part of the optimization loop. If the LLM fucks up, that branch is cut.

- They tested this over a set of 67 problems, including both solved and unsolved ones.

- They find that in many cases AlphaEvolve achieves similar results to what an expert human could do with a traditional optimization software package.

- The main advantages they find are: ability to work at scale, "robustness", i.e. no need to tune the algorithm to work on different problems, better interpretability of results.

- Unsurprisingly, well-known problems likely to be in the training set quickly converged to the best known solution.

- Similarly unsurprisingly, the system was good at "exploiting bugs" in the problem specification. Imagine an underspecified unit test that the system would maliciously comply to. They note that it takes significant human effort to construct an objective function that can't be exploited in this way.

- They find the system doesn't perform as well on some areas of mathematics like analytic number theory. They conjecture that this is because those problems are less amenable to an evolutionary approach.

- In one case they could use the tool to very slightly beat an existing bound.

- In another case they took inspiration from an inferior solution produced by the tool to construct a better (entirely human-generated) one.

It's not doing the job of a mathematician by any stretch of the imagination, but to my (amateur) eye it's very impressive. Google is cooking.


> AlphaEvolve is an optimization tool from Google. It differs from traditional tools because the search is guided by an LLM, whose job is to mutate a program written in a normal programming language (they used Python).

To clarify, AlphaEvolve is an evolutionary algorithm which uses a neural network (in this case an LLM), which is based on gradient descent, for mutation.

Evolutionary algorithms are generally a less efficient form of optimization compared to gradient descent. But evolutionary algorithms can be applied more widely, e.g. to discrete problems which aren't directly differentiable, like the optimization of Python code. AlphaEvolve combines the two optimization approaches by replacing random mutation with the output of a gradient-based model.


Important clarification

> search is guided by an LLM

The LLM generates candidates. The selection of candidates for the next generation is done using a supplied objective function.

This matters because the system is constrained to finding solutions that optimise the supplied objective function, i.e. to solving a specific, well-defined optimisation problem. It's not a "go forth and do maths!" instruction to the LLM.


>> If the LLM fucks up, that branch is cut.

Can you explain more on this? How on earth are we supposed to know LLM is hallucinating?


We don't, but the point is that it's only one part of the entire system. If you have a (human-supplied) scoring function, then even completely random mutations can serve as a mechanism to optimize: you generate a bunch, keep the better ones according to the scoring function and repeat. That would be a very basic genetic algorithm.

The LLM serves to guide the search more "intelligently" so that mutations aren't actually random but can instead draw from what the LLM "knows".


In this case AlphaEvolve doesn't write proofs, it uses the LLM to write Python code (or any language, really) that produces some numerical inputs to a problem.

They just try out the inputs on the problem they care about. If the code gives better results, they keep it around. They actually keep a few of the previous versions that worked well as inspiration for the LLM.

If the LLM is hallucinating nonsense, it will just produce broken code that gives horrible results, and that idea will be thrown away.


Math is a verifiable domain. Translate a proof into Lean and you can check it in a non-hallucination-vulnerable way.


But that's not what they're doing here. They're comparing Alphaevolve's outputs numerically against a scoring function


They did also take some of the informal proofs and formalized them using AlphaProof, emitting Lean.


Ah ok, I didn't notice that part, thx


The final evaluation is performed with a deterministic tool that's specialized for the current domain. It doesn't care that it's getting its input from a LLM that may be allucinating.

The catch however is that this approach can only be applied to areas where you can have such an automated verification tool.


Google's system is like any other optimizer, where you have a scoring function, and you keep altering the function's inputs to make the scoring function return a big number.

The difference here is the function's inputs are code instead of numbers, which makes LLMs useful because LLMs are good at altering code. So the LLM will try different candidate solutions, then Google's system will keep working on the good ones and throw away the bad ones (colloquially, "branch is cut").


Exactly, he even mentioned that it's a variant of traditional optimization tool so it's not surprising to see cutting-plane methods and when the structure allows; benders decomposition


The LLM basically just produces some code that either runs and produces good results or it doesn't. If it produces garbage, that is the end of the line for that branch.


They put an LLM in a loop that mimics how people do real math, and it did research-level math.

Like humans, it wasn't equally capable across all mathematical domains.

The experiment was set up to mimic mathematicians who are excellent at proving inequalities, bounds, finding optimal solutions, etc. So more like Ramanujan and Erdős in their focus on a computationally-driven and problem-focused approach.


An LLM as a component of a tool, plus a team of research mathematicians, did research level math


Yes mathematicians chose problems for the LLM to solve, and then the LLM solved them. That's how we know they were good open problems and that this is research level math.


The LLMs generated candidate solutions which were evaluated by a scoring function written by hand by the mathematicians. No LLM produced these results by itself


yes the LLM produced the results themselves


Yes, some good ones and some garbage, and the LLMs had no idea which was which. The good solutions were arrived at by an iterative procedure which depended on the scoring function written by the mathematicians, and it seems plenty of other ingenuity besides.

It's a fascinating use of LLMs by mathematicians to produce new results, but the LLMs are just one component of the tools used to get the results.


> that mimics how people do real math

Real people do not do math like AlphaEvolve...


What do you feel is fundamentally different about the feedback loop in AlphaEvolve compared to, say, Einstein and Grossman repeatedly running calculations until they found the right tensor setup for General Relativity? Or Euler filling his notebooks with computations? Or Ramanujan? Or Newton working out infinite series? Or Kepler, etc etc.

They are all doing iterative search with feedback from a function that tells them whether they're getting closer or farther from their goal. They try different things, see what works, and keep the stuff that works.


The reward functions in the problems that they proposed alphaevolve are easy. The reward funtions of at least 50% of maths are not. You can say that validating if a proof is correct is a straightforward reward, but the size of interesting theorems over the space of all theorems is very small. And also what does "interesting" could even mean?


"All human work is just an iterative search with a feedback function" is the kind of trite and ignorant take that belongs only in the private group chats of VC bros.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: