Achieving Olympia-Level Geometry Large Language Model Agent via Complexity Boosting Reinforcement Learning

Haiteng Zhao, Junhao Shen, Yiming Zhang, Songyang Gao, Kuikun Liu, Tianyou Ma, Fan Zheng, Dahua Lin, Wenwei Zhang, Kai Chen

Here is a summary of the paper tailored for a technically literate audience.

TL;DR

The paper introduces InternGeometry, an LLM-based agent capable of solving International Mathematical Olympiad (IMO) level geometry problems. By combining long-horizon tool interactions with a novel Complexity-Boosting Reinforcement Learning (CBRL) curriculum, it achieves state-of-the-art results (solving 44 out of 50 IMO problems) using only a fraction of the training data required by previous expert systems like AlphaGeometry 2. This demonstrates that generalist LLM agents can conquer highly specialized, complex mathematical domains through efficient trial-and-error and dynamic memory.

What Problem Does This Paper Address?

While Large Language Models (LLMs) have shown impressive math and coding abilities, Olympiad-level geometry remains a stubborn outlier. The core challenge is auxiliary constructions—the need to draw new, unstated lines or points to solve a problem. Because the search space for these constructions is practically infinite and lacks strong heuristics, AI geometry solvers have historically relied on specialized "expert models" rather than general LLM agents.

Original IMO 2018 P6 problem versus the complex auxiliary constructions proposed by InternGeometry.

These expert models rely on brute-force search and massive datasets (hundreds of millions of synthetic examples) to guess constructions. The authors ask: Can we instead use an LLM agent paradigm—where a model iteratively thinks, proposes a construction, tests it in a symbolic engine, and learns from the feedback—to solve geometry more efficiently and with better generalization?

Methods

The authors build InternGeometry using a 32B-parameter LLM (InternThinker-32B) and an upgraded symbolic geometry engine (InternGeometry-DDAR). The system relies on two major innovations:

Overview of the InternGeometry agent architecture, featuring the dynamic memory loop and Complexity-Boosting Reinforcement Learning (CBRL).
  1. Long-Horizon Agentic Interaction with Dynamic Memory: Instead of predicting the whole proof at once, the agent interacts with the symbolic engine step-by-step. It proposes sub-goals or auxiliary points, and the engine verifies them. Because IMO problems can require hundreds of steps, the authors implemented a dynamic memory module that compresses the interaction history. This prevents context-window explosion while retaining key geometric properties discovered during exploration. A rejection-sampling mechanism is also used to prevent the agent from repeating failed actions.

  2. Complexity-Boosting Reinforcement Learning (CBRL): To train the agent efficiently, the authors dynamically synthesize training data. Instead of training on a static dataset, CBRL acts as an automated curriculum. It measures problem difficulty by the number of proof steps required by the symbolic solver. During RL training, the system adjusts the complexity of the generated problems to keep the agent's success rate around 50%. This "Goldilocks" difficulty maximizes the learning signal and prevents the agent from stalling on impossible problems or overfitting to trivial ones.

Datasets

  • Training Data: The model uses a remarkably small dataset. It starts with a supervised fine-tuning (SFT) "cold start" on 7K formalized problem/solution pairs. During the CBRL phase, it dynamically synthesizes another 6K problems. Total training data: ~13K examples.
  • Evaluation Data: IMO 50, a benchmark of 50 geometry problems from the IMO (2000–2024). They also evaluated the model on the IMO 2025 geometry problem.

Key Insights and Ideas

  • Agentic Trial-and-Error Beats Brute Force: Allowing an LLM to iteratively propose, test, and reflect on geometric constructions is highly effective. It mimics how human experts solve geometry problems (exploratory probing) rather than relying on blind, massive tree searches.
  • Curriculum is Crucial for RL Convergence: Training directly on IMO-hard problems fails because the rewards are too sparse. Training only on easy problems fails to generalize. CBRL's dynamic difficulty scaling is the sweet spot that allows the model to smoothly transition from basic theorems to expert-level proofs.
  • Extreme Data Efficiency: By shifting the heavy lifting from "massive pre-training data" to "longer inference trajectories," InternGeometry achieves SOTA performance using only 0.004% of the data used by AlphaGeometry 2 (13K vs. 300M examples).
  • Emergent Creativity: The model doesn't just memorize standard tricks. In case studies, InternGeometry found novel auxiliary constructions (e.g., exploiting isogonal conjugates in quadrilaterals) that fundamentally differed from standard human solutions.

Key Results

  • SOTA Performance: InternGeometry solved 44 out of 50 IMO geometry problems, surpassing AlphaGeometry 2 (42/50) and SeedGeometry (43/50).
  • Human-Level Mastery: The model's performance exceeds the average score of human IMO gold medalists (40.9 points). It also successfully solved the geometry problem from IMO 2025.
  • Ablation on Long Horizons: The ability to "think long" is critical. Capping the agent's steps or removing the context compression dropped performance drastically (from 44/50 down to 20/50 and 23/50, respectively).
  • Test-Time Scaling: The authors demonstrated that increasing the agent's trajectory length (giving it more steps to try and fail) scales performance much more effectively than simply running parallel repeated sampling.

Limitations and Future Work

  • Beyond Pure Geometry: The 6 problems InternGeometry failed to solve on the IMO 50 benchmark largely required numerical analysis, inequalities, or combinatorics mixed with geometry (e.g., "prove the sum of areas is at least twice the area of P"). The underlying symbolic engine (DDAR) is designed for pure geometric deduction and cannot express or verify these non-geometric constraints.
  • Future Work: The authors suggest that future research should focus on expanding the expressive range of symbolic engines to handle algebraic and inequality constraints, which would allow LLM agents to tackle an even broader class of Olympiad mathematics.

Summary updated

BibTeX
@inproceedings{zhao2026achieving,
  author = {Haiteng Zhao and Junhao Shen and Yiming Zhang and Songyang Gao and Kuikun Liu and Tianyou Ma and Fan Zheng and Dahua Lin and Wenwei Zhang and Kai Chen},
  title = {{Achieving Olympia-Level Geometry Large Language Model Agent via Complexity Boosting Reinforcement Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=1sffPGGQyT},
}
Figure