Introduction
In the pursuit of Artificial General Intelligence (AGI), mathematics represents a formidable frontier due to its rigid logical requirements and the "needle in a haystack" nature of its search spaces. Many mathematical problems feature ultra-sparse rewards and solution paths that grow superexponentially, making them ideal stress tests for modern Reinforcement Learning (RL). This study investigates the Andrews–Curtis (AC) conjecture—a notoriously difficult problem in combinatorial group theory—to identify the specific factors that contribute to mathematical "hardness" for AI agents.
The Andrews–Curtis Conjecture
The AC conjecture asks whether any "balanced presentation" of a trivial group can be transformed into a standard form using a specific set of AC-moves. Despite its simple premise, certain examples, such as the Akbulut–Kirby (AK) series, have resisted simplification for over 40 years. These "hard" instances serve as the primary benchmark for the authors' RL agents and topological analysis, as researchers have long wondered if these examples might actually be counterexamples to the conjecture.
Methodology
The researchers approached mathematical simplification as a sequential decision-making game, employing a multi-faceted AI strategy to navigate the search space:
1. Reinforcement Learning with Variable Horizons
The authors utilized Proximal Policy Optimization (PPO) to train agents to find sequences of AC-moves. To address the challenge of long horizons, they implemented a variable horizon schedule. By starting with short paths and incrementally increasing the search depth as the agent's performance improved, this curriculum allowed the RL agent to learn complex sequences that were unattainable under fixed-length training.
2. Supermoves and Search Efficiency
To navigate the search space more efficiently, the authors identified frequently recurring sequences of moves (sub-paths) and "packaged" them into supermoves. These high-level actions allowed the agent to make larger jumps across the state space, effectively reducing the complexity of the search.
3. Topological Data Analysis (TDA)
A novel contribution of this work is the use of persistent homology to quantify problem hardness. By analyzing the "barcodes" of the graph formed by potential moves, the authors developed a principled measure of difficulty. These topological features provide a "compass" for the search process, capturing structural properties of the mathematical presentation that simple metrics, like expression length, often overlook.
4. Language Modeling for Syntactic Intuition
The authors trained a decoder-only Transformer on a synthetic dataset of 1.8 million mathematical presentations. The goal was to determine if a model could recognize the difficulty of a problem based solely on its linguistic and syntactic structure, without performing an explicit search.
Experimental Results
The study utilized the Miller–Schupp (MS) series for benchmarking and the Akbulut–Kirby (AK) series for testing length reduction.
Mathematical Breakthroughs
The RL-driven approach yielded significant mathematical results. The authors proved that the Akbulut–Kirby series AK(n) is length-reducible for all $n \geq 5$. This provides a substantial reduction in the complexity of these long-standing problems, demonstrating that RL can assist in genuine mathematical discovery.
Performance and Predictability
While a standard length-based Greedy Search (GS) solved 533 MS presentations, the PPO agent with a variable horizon successfully solved two "hard" cases that both GS and Breadth-First Search (BFS) failed to resolve. Furthermore, the TDA-based barcode features proved highly effective at predicting success; a classifier built on these features achieved an F1 score of 0.943 in distinguishing between GS-solvable and non-solvable instances.
The "Syntactic Footprint" of Hardness
Analysis of the Transformer model revealed that "solved" and "unsolved" problems clustered distinctly within the model's embedding space. This suggests that mathematical difficulty leaves a "syntactic footprint" that AI can detect even without performing a search. Additionally, the authors found an "anatomy of success" in successful RL runs: certain moves (specifically move #2 in their taxonomy) occurred disproportionately often, while others were almost never used.
Conclusion and Future Work
This case study demonstrates that RL, combined with topological analysis and language modeling, can tackle notoriously difficult mathematical problems. The findings suggest that "hardness" is not merely a function of path length but is encoded in the topological and linguistic structure of the problem itself.
Future work will focus on "closing the loop" by integrating the Transformer's syntactic intuition and TDA-based hardness measures directly into the RL agent's reward function or search priority. Such integration could allow agents to prioritize search paths more effectively, potentially solving even more complex presentations within the Andrews–Curtis framework.
Summary updated