This paper, a collaboration between researchers at Google DeepMind and the University of Oxford, applies modern reinforcement learning (RL) to one of the most "elusive" problems in low-dimensional topology: the unknotting number.
TL;DR
Researchers trained a reinforcement learning agent (IMPALA) to find the minimal number of crossing changes needed to untie complex knots. The agent successfully determined the unknotting numbers for 43 previously unsolved knots and generated a massive dataset of 2.6 million "hard unknots"—diagrams of the trivial loop that are paradoxically difficult to simplify.
What Problem Does This Paper Address?
In knot theory, the unknotting number $u(K)$ is the minimum number of times you must pass a string through itself (a "crossing change") to turn a knot into a simple, untied loop (the unknot).
Despite being a fundamental concept, $u(K)$ is notoriously difficult to compute. There is no known general algorithm to find it, and even for knots with only 12 crossings, the value was unknown for dozens of cases. A related challenge involves "hard unknots": diagrams that represent a simple loop but are so tangled that any standard simplification move (Reidemeister moves) must first make the diagram more complex before it can be untied. Before this paper, only a handful of such diagrams were known to the mathematical community.
Methods
The authors framed unknotting as a sequential decision-making problem suitable for Reinforcement Learning.
- The Agent: They used IMPALA (Importance Weighted Actor-Learner Architecture), a distributed RL framework. The agent's "state" is a knot diagram, and its "action" is choosing which crossing to flip.
- The Reward: The agent receives a reward of +1 only when it successfully reaches the unknot.
- Feature Engineering: Instead of feeding raw images, the researchers used mathematical invariants as features. Crucially, they employed a "one-step lookahead" strategy: for every possible crossing change, the agent calculates the invariants of the resulting knot.
- The "Secret Sauce": They tested various invariants, including the Alexander and Jones polynomials. Surprisingly, the Jones polynomial was the most effective feature for guiding the agent, suggesting it contains deep, previously unobserved information about a knot's distance from the unknot.
Datasets
The study utilized and produced several significant datasets:
- KnotInfo: A standard database of knots up to 13 crossings used for initial validation.
- 57k Knots: A new dataset of 57,000 knots where the agent found unknotting sequences that match known theoretical lower bounds.
- 2.6 Million Hard Unknots: The authors generated a massive collection of distinct "hard" diagrams of the unknot, most with fewer than 35 crossings.
- Counterexamples: 20 specific examples that disprove a "strong" version of the additivity conjecture (Conjecture 1.2).
Key Insights and Ideas
- Jones Polynomial as a Compass: The most striking "aha" moment was the Jones polynomial's performance. While mathematicians have long suspected the Jones polynomial can detect the unknot, this work shows it is remarkably good at predicting how close a knot is to being unknotted.
- Testing Additivity: A major open question is whether $u(K \# K') = u(K) + u(K')$ (i.e., is the unknotting number of two knots tied together just the sum of their individual numbers?). The RL agent was used to hunt for counterexamples. While it didn't find any for the main conjecture, it successfully found counterexamples for a stronger version of the conjecture regarding "unknotting arcs."
- The Complexity of Simplicity: The discovery of millions of hard unknots shows that "trivial" knots can hide immense complexity. This dataset provides a new benchmark for testing unknotting algorithms.
Key Results
- Solved 43 Knots: The authors determined the unknotting numbers for 43 knots with 12 or fewer crossings that had remained unsolved for decades (assuming the additivity conjecture holds).
- Scaling to 200 Crossings: Unlike brute-force methods, the RL agent can find unknotting sequences for diagrams with up to 200 crossings.
- Dataset Expansion: They increased the known "population" of hard unknot diagrams from a few dozen to over 2.6 million.
- Heuristic Superiority: The RL agent significantly outperformed standard baselines like Bayesian Optimization and random walkers in finding minimal unknotting paths.
Limitations and Future Work
- Upper Bounds vs. Exact Values: RL naturally provides an upper bound (it finds a way to unknot, but not necessarily the shortest). The authors had to rely on topological invariants like Floer homology to provide lower bounds to confirm the exact unknotting number.
- Braid Representation: While the agent worked well on standard diagrams, a separate attempt using a Transformer model on "braid words" struggled with larger knots, suggesting that the choice of knot representation is critical.
- Theoretical Mystery: The paper leaves a tantalizing question for topologists: Why exactly does the Jones polynomial provide such a strong signal for the unknotting number? Future work could involve "opening the black box" of the RL model to extract new mathematical theorems.
Summary updated