So far, very little research has been done on the applications of machine learning to the topological field of knot theory. To the best of our knowledge, we are the first to investigate directly leveraging the topological structure of knots for learning tasks to predict certain properties.
We show that graph neural networks, in particular graph isomorphism networks, provide better accuracy in predicting the symmetry of prime knots, indicating that the structure of knots can indeed be leveraged. While the performance of models is still not sufficient for useful applications in research in mathematics, we hope that this study inspires further research at the intersection of knot theory and geometric learning methods.
This page is an excerpt; the full report has the details.
A (very!) short and informal introduction to knot theory
We briefly summarize some of the relevant theoretical background on knot theory from Lickorish’s “A Beginning for Knot Theory”. Knot theory is a branch of topology that intuitively studies how connected one-dimensional strings can be arranged in three-dimensional space. We rephrase definition 1.1 to be specific to knots, as we do not consider the more general case of links with more than one component:
Definition. A knot is a subset of , or , that consists of a single, piecewise linear, simple closed curve.
Two knots are said to be equivalent if there exists an orientation-preserving piecewise linear homeomorphism that maps both knots to the same value. A knot invariant is a quantity which remains constant under any two equivalent knots.
Kurt Reidemeister showed that any two equivalent knots can be related through a homeomorphism consisting of only three moves, the so-called Reidemeister moves:
Any knot can be represented by a so-called planar diagram (PD). Here, each edge of the plane graph representation of the knot is labeled by a number. The PD representation is a list of crossings of the knot, where each crossing is identified by four numbers which correspond to the connecting edges. The first denotes the incoming lower edge of the crossing, and the others are the remaining edges, in counter-clockwise order.
According to the Jordan Curve Theorem, in the plane graph representation there exists exactly one coloring where the unbounded face is colored white and the remaining surfaces are colored black, i.e. the planar graph is 2-colorable. The black faces describe the Seifert surface of the knot.
We finally distinguish between two crossings in this colored planar graph, left- and right-handed crossings. Distinguishing between the two is important, as it may affect the symmetry of the knot, or the knot altogether.
Results
We observe that encoding the crossing type into the node features improves the performance of the Graph Isomorphism Network by approximately 4%. Surprisingly, however, it also leads to an improvement for the basic MLP architecture. In the latter case, we suspect that the symmetry distribution of alternating and non-alternating knots changes, which the MLP could pick up on.
Encoding the crossing types into the node features, we compare the performance of additional networks against the MLP as a baseline. We observe that the MLP architecture achieves an accuracy close to 54%, which is the occurrence of the most frequent symmetry type and therefore not much better than an educated guess.
On the other hand, all graph-based models outperform the MLP, the Graph Isomorphism Network in particular. Learning the aggregation function appears to be useful for predicting the symmetry of knots.
| Architecture | Test accuracy |
|---|---|
| GIN | 65.54 ± 1.91% |
| GCN | 58.79 ± 1.85% |
| GAT | 58.27 ± 1.26% |
| MLP | 56.30 ± 1.74% |
References
- Planar Diagrams. The Knot Atlas. katlas.org/wiki/Planar_Diagrams
- Keir Adams, Lagnajit Pattanaik, and Connor W. Coley. Learning 3D Representations of Molecular Chirality with Invariance to Bond Rotations. arXiv:2110.04383, October 2021.
- Benjamin A. Burton. The Next 350 Million Knots. In 36th International Symposium on Computational Geometry (SoCG 2020), LIPIcs 164, pp. 25:1–25:17, 2020.
- Jessica Craven, Mark Hughes, Vishnu Jejjala, and Arjun Kar. Learning knot invariants across dimensions. SciPost Physics, 14(2):021, February 2023.
- Mark C. Hughes. A neural network approach to predicting and computing knot invariants. arXiv:1610.05744, October 2016.
- Thomas N. Kipf and Max Welling. Semi-Supervised Classification with Graph Convolutional Networks. arXiv:1609.02907, February 2017.
- Marc Lackenby. Elementary Knot Theory. Oxford University Press, May 2017.
- W. B. Raymond Lickorish. A Beginning for Knot Theory. In An Introduction to Knot Theory, Graduate Texts in Mathematics, pp. 1–14. Springer, 1997.
- Charles Livingston and Allison H. Moore. KnotInfo: Table of Knot Invariants. knotinfo.math.indiana.edu
- Kurt Reidemeister. Elementare Begründung der Knotentheorie. Abhandlungen aus dem Mathematischen Seminar der Universität Hamburg, 5(1):24–32, December 1927.
- Petar Veličković, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Liò, and Yoshua Bengio. Graph Attention Networks. ICLR 2018.
- Keyulu Xu, Chengtao Li, Yonglong Tian, Tomohiro Sonobe, Ken-ichi Kawarabayashi, and Stefanie Jegelka. Representation Learning on Graphs with Jumping Knowledge Networks. arXiv:1806.03536, June 2018.
- Keyulu Xu, Weihua Hu, Jure Leskovec, and Stefanie Jegelka. How Powerful are Graph Neural Networks? arXiv:1810.00826, February 2019.