Google DeepMind’s AlphaEvolve Cracks Five Ramsey Number Puzzles That Stumped Mathematicians For Decades

Imagine a problem so fiendishly hard that one of the greatest mathematicians of the 20th century publicly mused that even alien civilisations might struggle with it. That was Paul Erdős on Ramsey numbers — a class of combinatorics problems that sit at the intersection of order, chaos, and the fundamental limits of mathematical knowledge. For decades, progress on these numbers has come in painstaking, one-off breakthroughs from specialists armed with bespoke algorithms. Now, Google DeepMind’s AlphaEvolve has quietly walked in and improved lower bounds for five of these classical Ramsey numbers — in one shot, with a single system, overturning results that in some cases had stood for more than ten years.

What Are Ramsey Numbers?

Ramsey theory, at its simplest, asks: how large does a structure need to be before some form of order inevitably appears within it? The classical example involves party guests: how many people must be in a room before you’re guaranteed that either r of them all know each other, or s of them are all strangers? The answer to that question — for given values of r and s — is a Ramsey number.

They sound almost whimsical, but Ramsey numbers are deeply connected to the foundations of combinatorics and graph theory, fields that underpin everything from network routing to cryptography. The trouble is that these numbers are extraordinarily difficult to compute. Even R(5,5) — asking about groups of five mutual acquaintances or five mutual strangers — is unknown, with only a range of 43–48 established after decades of effort. Erdős famously illustrated the difficulty by suggesting that if an alien civilisation threatened to destroy humanity unless we computed R(5,5), our best strategy would be to dedicate all of our resources to the problem. For R(6,6), he suggested, we should try to destroy the aliens instead.

What AlphaEvolve Did

Researchers at Google DeepMind, working with AlphaEvolve, published new improved lower bounds for five classical Ramsey numbers. The paper, titled Reinforced Generation of Combinatorial Structures: Ramsey Numbers and authored by Ansh Nagda, Prabhakar Raghavan, and Abhradeep Thakurta, describes how the team used AlphaEvolve as a single meta-algorithm capable of automatically discovering the search procedures needed to find these new bounds — a task that historically required hand-crafted, problem-specific algorithms built by specialists.

What makes this doubly impressive is the breadth of the achievement. Beyond the five new records, the system also recovered known lower bounds for all Ramsey numbers whose exact values are established, and matched best-known results across many other cases — including some for which the original researchers never even published their methods.

Pushmeet Kohli, who leads science and strategic initiatives at Google DeepMind, highlighted the significance: “For many of these bounds, the best previous results are at least a decade old. AlphaEvolve changes this by acting as a single meta-algorithm that automatically discovers the search procedures needed to find these new bounds.”

How AlphaEvolve Works

AlphaEvolve, which Google DeepMind unveiled in May 2025, is an evolutionary coding agent powered by Gemini. It doesn’t just generate answers — it generates and iteratively improves algorithms. Think of it as a system that mimics biological evolution: it starts with a population of candidate programs, evaluates them against a problem’s criteria, and uses large language models to mutate the most promising solutions. Programs that perform well survive and breed further variations; weaker ones are discarded.

The key distinction from conventional AI problem-solving is that AlphaEvolve isn’t just searching for a solution to a specific problem instance. It is searching for the search strategy itself — a meta-level capability that allows it to tackle an enormous variety of problems without requiring a human to design a bespoke algorithm for each one. For Ramsey numbers, this meant AlphaEvolve could autonomously design and evolve the combinatorial search procedures that experts previously had to craft by hand over months or years.

This same capability has already been applied across a range of domains. AlphaEvolve improved a 56-year-old algorithm for matrix multiplication — the operation at the heart of virtually all modern AI. It has also advanced the kissing number problem in geometry, optimised Google’s data centre scheduling, and accelerated the training of Gemini itself. Across more than 50 open mathematical problems it was tested on, AlphaEvolve rediscovered state-of-the-art solutions 75% of the time and improved upon them in 20% of cases.

Why This Matters Beyond Mathematics

The Ramsey number breakthrough is significant not just as a mathematical milestone but as a signal of where AI-assisted scientific research is heading. Traditionally, each advance in this area required a domain expert to design a specialised search algorithm — a labour-intensive process that meant only a handful of results were produced per effort. AlphaEvolve collapses that bottleneck. One system, one deployment, multiple new records.

This pattern — AI as a general-purpose research accelerant rather than a narrow tool — is consistent with what Google DeepMind CEO Demis Hassabis has called the beginning of science’s “flywheel” moment: AI discovers better algorithms, those algorithms accelerate further AI development, which in turn leads to new discoveries. AlphaEvolve has now been used to optimise the very training pipeline that makes models like itself possible — a genuinely recursive loop of improvement.

For businesses and technologists, the practical implications are worth tracking closely. The same meta-algorithmic approach that cracked decade-old Ramsey bounds could, in principle, be pointed at optimisation problems in logistics, drug discovery, chip design, or financial modelling. The point isn’t the specific mathematical results — it’s the architecture of capability that produced them. And for anyone watching the frontier of AI and science, AlphaEvolve has just solved five notoriously hard problems, simultaneously, almost as a side effect of being a general-purpose research tool.

Posted in AI