Can an LLM invent a genuinely new algorithm, or just remix old ones?
Happy Thanksgiving everyone! The discussion came from my pre-Thanksgiving dinner with a friend, and I found it fun - while can't settle the disagreement.
My friend works on cascade reservoir scheduling optimization. Skipping the details, the problem is the complexity grows exponentially with the number of reservoirs, and while dynamic programming, interior-point methods (not sure, I don't understand this), and other optimizations help, they are not efficient enough. And she wants to invent better algorithm, instead of relying more compute power :D
After the recent claimed Riemann proof with Claude, my view was: AI can be creative in problem-solving, and eventually it will be able to do what humans can do.
My friend disagrees. Her question is: if you only give an LLM the problem statement and the existing algorithms, can it invent a better algorithm? She thinks not.
I can't prove or disprove her... If it fails to produce a new algorithm, maybe the context was bad. If it succeeds, maybe it borrowed an idea from this field or another field, rather than inventing something entirely new.
So posting here and seeking ideas from the community:
What would count as a genuinely new algorithm, versus a clever recombination?
Do we have clear examples? The Riemann case, AlphaEvolve, or LLM-assisted drug discovery, did the LLM show genuinely new creativity there?
What would a fair test look like for a problem like reservoir scheduling?
Happy Thanksgiving to you too!
I think Turing completeness makes this super tricky, for any set of instructions that's Turing complete by definition all "new algorithms" can be expressed as "clever recombinations" of those instructions. In principle any "new algorithm" could be expressed as a set of operations in Magic the Gathering (arxiv.org). I think a meaningful definition of this might be something like can it create an algorithm and communicate the intuition behind it using just words such that a smart human familiar with the problem could reconstruct the algorithm? Basically rules out big Lean dumps that nobody can understand.
I think the OpenAI matrix multiplication exponent result (github.com) was genuinely very new, not only did it establish the best possible lower bound, previously there was no known lower bound other than the obvious quadratic lower bound of 2.
I think the most straightforward test would be whether AI can improve on the best known guarantee for a version of the problem.