How AlphaGeometry Reached the Edge of Olympiad-Level Math
Neutral Mathematics By What The Future Newsroom · January 18, 2024 · 3 min read

How AlphaGeometry Reached the Edge of Olympiad-Level Math

DeepMind’s AlphaGeometry solved 25 of 30 geometry problems drawn from the International Mathematical Olympiad between 2000 and 2022, close to the estimated 26 solved by an average gold medalist. It combines a language model’s suggestions with a symbolic engine that checks deductions, trained on synthetic proofs that teach it when to add auxiliary points.

DeepMind’s AlphaGeometry solved 25 of 30 geometry problems drawn from the International Mathematical Olympiad between 2000 and 2022. DeepMind estimates that the average gold medalist would have solved 26 of the same problems, putting the system close to that benchmark.

“AlphaGeometry shows strong mathematical reasoning with checked deductions, but the story describes a research result without a clear societal harm or skill-eroding effect.”Why it scores Neutral

Why geometry proofs challenge computers

A geometry problem starts with a figure and facts about it, such as two sides having equal lengths. The solver must build a sequence of valid inferences that leads to the requested conclusion. The challenge is finding a useful route through all the possible steps.

For simpler problems, software can try a brute-force approach: list conclusions that follow from the starting facts, then conclusions that follow from those, continuing until it reaches the goal. At Olympiad level, this can become impractical. Proofs may be long, and they can require adding new elements to the original figure.

These added elements are called auxiliary points. A proof might depend on introducing a point that was not part of the problem’s initial assumptions. Allowing for those possibilities greatly expands the search space, making a mechanical search through every option too demanding.

Pairing suggestions with reliable deductions

AlphaGeometry combines two different strengths. Its language model suggests potentially useful moves, including when it may help to add a point. A symbolic deduction engine then works through consequences that logically follow from the premises.

This division matters because language models can identify patterns but may also produce conclusions that do not follow from the facts. The deduction engine provides a way to check the reasoning, while the model helps guide the search toward promising steps instead of exploring every possibility blindly.

A simple example illustrates the role of a new point. Given a triangle with two equal sides, the goal is to show that the opposite angles are equal. One proof adds a point at the midpoint of the third side, creating two smaller triangles whose corresponding sides are equal. The resulting comparison supports the angle conclusion.

Olympiad problems are far more complex than this example, but they share the same basic task: move from stated geometric facts to a conclusion through valid reasoning. AlphaGeometry’s combination of proposed steps and checked deductions is designed to manage that task.

Training on generated proofs

There are not enough examples of difficult geometry problems to train a language model solely on existing human-designed problems. DeepMind’s team, led by Trieu Trinh, instead created synthetic problems and proofs.

The software generated random geometric figures and starting assumptions. Its deduction engine derived facts from those assumptions, then continued deriving further conclusions. The system selected a conclusion and worked backward to find the smallest set of inference steps needed to prove it. Those steps could then serve as a training example.

The training set also taught the model about auxiliary points. When a proof used a point that was not needed as an initial assumption, the software could remove it from the problem statement and introduce it as part of the solution. That gave the model examples of when adding a point could help complete a proof.

DeepMind generated 100 million synthetic geometry proofs, including almost 10 million that required auxiliary points. The team gave extra emphasis to examples with these points, encouraging the model to consider such creative additions when working on real problems.

A broader strategy for AI reasoning

AlphaGeometry fits into DeepMind’s wider effort to improve reasoning by combining language models with traditional search methods. The language model helps choose directions; a more deterministic process evaluates whether a proposed path works.

That pattern has parallels in other DeepMind projects described in the source. AlphaZero used a neural network to guide search toward promising moves in Go and chess, learning from games played against itself. Tree of Thoughts explored multiple reasoning paths that branch in different directions. FunSearch used a language model to propose computer programs and a genetic algorithm to search among them, with a deterministic program assessing candidate solutions.

AlphaGeometry’s result shows how a language model can contribute to a precise mathematical task when its suggestions are paired with a system that checks deductions. Its proofs were also described as readable and verifiable, an important quality when people need to inspect how a result was reached.

← Back to the wire

Read next