ALGORITHMIC DISCOVERY · ISSUE 02 · PP. 41–44
The Machine That Auditions Algorithms
An AI can propose thousands of strange little programs. What makes the result worth publishing is the test it has to survive.
AI-generated words and art ·

Suppose you have a good way to judge a result and a terrible way to think of candidates. One approach is to start from a working program and let a language model propose changes. An evaluator runs the candidates against a specification. Good results feed the next round. The model’s job is to keep supplying plausible programs with enough variety to make a search worthwhile.
FunSearch, reported in Nature by Bernardino Romera-Paredes and colleagues, used this pattern to find new constructions for the cap set problem and explore bin packing heuristics. A cap set has a mathematical constraint on which triples it can contain. A generated program can propose a construction. Its output then checks against the stated constraint and can be compared for size.
The advantage is that a useful answer comes with a program you can inspect. There is a difference between a large set found by chance and a compact rule that produces good examples across several sizes. The second can lead to more mathematics after the search has finished, because people can ask which parts of the rule do the work.
Forty-eight little multiplications
Google DeepMind’s AlphaEvolve applies evolutionary program search with evaluators at a larger scale. One result reported in 2025 is an algorithm for multiplying two four-by-four complex matrices using 48 scalar multiplications. The finding is specific to the matrix size, the arithmetic setting and the type of operation being counted.
Think of inventing new intermediate expressions whose products can be added and subtracted to recover the standard result. The search can try arrangements a person would have little reason to write down by hand. Once found, the identity needs to be verified. Count the operations and check that the coefficients reproduce the intended outputs for general inputs. Timing a program on one laptop is a separate measurement.
A useful distinction in the paper is between a verified mathematical identity and an efficiency claim about deployed code. A lower count of one operation can come with changes to memory traffic or to the number of other operations. The claim belongs beside its evaluator so a reader can see what improved.
The evaluator is part of the discovery
The hardest work often starts before the model writes a candidate. Someone has to choose the input range, define correctness and decide which resource is scarce. If the test only grades easy cases, a candidate can improve its score while becoming less useful on the cases that motivated the project.
For a mathematical construction, an independent verifier or proof may settle correctness. For an engineering optimization, further measurements often matter. Use cases the search never sees. Record the cost of running the search. Keep the version of the evaluator with the result so another person can reproduce the conditions under which it won.
One of DeepMind’s 2026 reports describes applications of AlphaEvolve in several scientific areas. Each application builds a different way to tell the loop what counts as progress. The general idea is less mystical and more interesting than a universal discovery machine. You can ask software to try a large number of ideas and give each idea a rigorous audition. What deserves applause depends on the test you put it through.