Google DeepMind's AlphaEvolve Cracks Three Unsolved Computer Science Problems
Google DeepMind's AlphaEvolve cracks open three hardness-of-approximation problems, improving TSP, MAX-k-CUT, and random graph bounds that have resisted human effort for decades.
ProTakeaways
- AlphaEvolve (Google DeepMind's Gemini-powered evolutionary coding agent) produced new state-of-the-art hardness-of-approximation results in three classical complexity theory problems.
- Metric TSP: NP-hardness bound improved from 117/116 to 111/110 via a new equation gadget discovered by AlphaEvolve.
- MAX-4-CUT inapproximability improved from 0.9883 to 0.987; MAX-3-CUT gadget-based bound improved from 0.9853 to 0.9649.
- AlphaEvolve was used recursively to speed up its own verification step by 10,000×, enabling search over gadgets large enough to beat prior results.
- Direct LLM prompting, SAT/MIP solvers, and classical LP methods all failed where AlphaEvolve succeeded; the paper argues gadget proofs are a natural target for AI optimization.
- The approach has limits: it failed on the Hadamard-668 conjecture and cannot replicate custom PCP constructions that hold the current MAX-3-CUT record.
Can an AI system make genuine, lasting contributions to theoretical computer science? A new paper from Google DeepMind researchers answers with a resounding yes. Using AlphaEvolve, a Gemini-powered evolutionary coding agent, the team cracked open three long-standing problems in computational complexity theory, producing new state-of-the-art results that the authors believe would have been essentially impossible to find by hand, SAT solver, or direct LLM prompting.
Why complexity theory, and why now?
Hardness-of-approximation theory asks a deceptively simple question: for a computationally hard problem, how close to optimal can an efficient algorithm get before it becomes NP-hard to do better? Answering this precisely requires constructing mathematical objects called gadgets -- small, finite combinatorial structures that act as "translation layers" between well-understood hard problems and the target problem you want to prove is hard. Finding a better gadget directly tightens the hardness bound.
The catch is that gadgets live in enormous search spaces, and verifying whether a candidate gadget actually works can itself be exponentially expensive. This is exactly the kind of structured, scoreable search problem where AlphaEvolve excels. The paper, titled "Reinforced Generation of Combinatorial Structures: Hardness of Approximation," is authored by Ansh Nagda (UC Berkeley / Google DeepMind), Prabhakar Raghavan (Google), and Abhradeep Thakurta (Google DeepMind).
What AlphaEvolve actually does
AlphaEvolve maintains a population of candidate programs, uses LLMs to propose mutations or refinements, evaluates the resulting programs with a scoring function, and feeds the best candidates back into later generations for further evolution. Crucially, it focuses on discovery problems in which the candidates can be automatically evaluated, representing the candidates as algorithms and using a set of LLMs to generate, critique, and evolve a pool of such algorithms.
In the context of this paper, the system operates in three parts: a code snippet that generates combinatorial structures (the gadget), an evaluation function (the verifier) that scores those structures, and the LLM that proposes improved code. The key insight is that AlphaEvolve doesn't search for the gadget directly -- it searches for code that produces a good gadget, which is a much richer and more flexible search space.
Three breakthroughs, one tool
The paper reports new state-of-the-art results across three distinct problem families:
- Metric TSP inapproximability: It is now proven NP-hard to approximate the Traveling Salesman Problem within a factor of 111/110, improving the previous best of 117/116. AlphaEvolve found a new "equation gadget" -- a small graph encoding a linear constraint -- whose satisfied/unsatisfied tour-cost gap is tighter than anything previously known.
- MAX-k-CUT inapproximability: For MAX-4-CUT (partitioning a graph into 4 parts to maximize crossing edges), the new hardness threshold is 0.987, improving on the prior 0.9883. For MAX-3-CUT, the best gadget-based bound improved from 0.9853 to 0.9649.
- Average-case hardness for random graphs: The paper constructs nearly extremal Ramanujan graphs on up to 163 vertices, tightening the bounds on how hard it is to certify upper limits on MAX-CUT and MAX-Independent-Set in sparse random graphs. The new upper and lower bounds now match to within 0.005 in absolute error.

The verification bottleneck -- and how AlphaEvolve solved it
The most technically interesting challenge wasn't finding the gadgets -- it was verifying them fast enough to search at scale. For MAX-k-CUT gadgets, verifying a candidate requires checking it against all possible variable assignments: a brute-force search over k^m combinations, where m is the number of variables. For the final MAX-4-CUT gadget with m=19 variables, that's 4^19 ≈ 275 billion checks.
The team's solution was recursive: they used AlphaEvolve itself to optimize the verifier. They gave the system a naive brute-force verifier and asked it to maximize the gadget size that could be verified within one second. The result was a 10,000× speedup for both the k=3 and k=4 cases. For k=3, AlphaEvolve discovered that the O(3^m) computation could be offloaded to a highly optimized NumPy tensor contraction, reducing the slow Python-based work to only O(3^{m/3}) time. For k=4, it found a sequential branch-and-bound strategy that pruned the search tree aggressively.
This meta-optimization loop -- using the agent to speed up the agent's own inner loop -- is arguably the paper's most reusable contribution. The final theorems don't depend on the fast verifiers (the gadgets were ultimately confirmed by brute force), but without them, the search would never have reached gadgets large enough to beat the state of the art.
How the gadget search works, step by step
For MAX-k-CUT, the reduction pipeline looks like this:
- Start from Håstad's classic PCP theorem, which gives a hard instance of 3LIN(k) -- a constraint satisfaction problem where each clause checks whether x+y+z ≡ i (mod k).
- For each of the k predicate types, find a gadget: a small weighted graph (instance of MAX-k-CUT) such that satisfying assignments to the predicate correspond to high-scoring colorings, and unsatisfying ones to low-scoring colorings.
- Score each candidate gadget by the resulting inapproximability ratio (completeness / soundness).
- Run AlphaEvolve to evolve code that constructs better gadgets, guided by this score.
- Once a promising gadget is found, verify it exhaustively with the fast verifier, then confirm with brute force.
For TSP, the team had to do significant human work first: they modularized the existing proof structure from prior work so that the equation gadget's soundness and completeness parameters could be defined as standalone optimization targets. This modularization is itself a contribution -- it makes the reduction amenable to automated search in a way the original proofs were not.

What makes these results hard to replicate otherwise
The paper directly compares AlphaEvolve against the alternatives. The classical TSSW framework for finding optimal gadgets via linear programming requires a doubly-exponential number of variables -- 3^(3^6) for MAX-3-CUT -- making it completely infeasible. Mixed integer programming (MIP) solvers like SCIP were tried: even with most existential constraints eliminated, solving the MIP for a 14-variable gadget took 10 hours. Direct LLM prompting also failed: the authors report that GPT-5.2 and Gemini 3.0 Ultra could not reproduce a known gadget even when told exactly which paper to look in.
The gadgets themselves have structural properties that are hard to anticipate. The MAX-4-CUT gadget contains edges with multiplicities ranging from 1 to 1,429 -- the kind of asymmetric, large-integer solution that human intuition would likely never explore. For TSP, the authors note that asymmetry appears to be central to the improvement: human experts tend to impose symmetry constraints that rule out the best solutions.
Limitations and what's still open
The approach has real limits. AlphaEvolve failed entirely on the Hadamard-668 conjecture (constructing a 668×668 Hadamard matrix), even though verification is trivial. The search space is simply too large and too unstructured for the evolutionary approach to gain traction. For MAX-3-CUT, the new gadget-based bound of 0.9649 is still weaker than the state-of-the-art 16/17 ≈ 0.9412 result, which uses a custom PCP construction rather than a gadget reduction -- a fundamentally different technique that AlphaEvolve cannot replicate.
The paper's broader thesis is that gadget-based proofs are a natural fit for AI-assisted optimization: they have well-defined scoring functions, finite search spaces, and correctness that can be verified independently. The authors suggest that any existing gadget-based hardness result is a candidate for a pass through AlphaEvolve -- and that beating those results will increasingly require non-gadget methods like custom PCPs.