mlsanityData to 14 Oct 2026

CayleyPy RL: Pathfinding and Reinforcement Learning on Cayley Graphs

arXiv 2502.18663 ↗First posted 25 Feb 2025cs.LG cs.DM cs.SIcited by 6

On the map: Deep reinforcement learning methods → RL for games and combinatorial optimization

Abstract (arXiv)

This paper is the second in a series of studies on developing efficient artificial intelligence-based approaches to pathfinding on extremely large graphs (e.g. 1070 nodes) with a focus on Cayley graphs and mathematical applications. The open-source CayleyPy project is a central component of our research. The present paper proposes a novel combination of a reinforcement learning approach with a more direct diffusion distance approach from the first paper. Our analysis includes benchmarking various choices for the key building blocks of the approach: architectures of the neural network, generators for the random walks and beam search pathfinding. We compared these methods against the classical computer algebra system GAP, demonstrating that they "overcome the GAP" for the considered examples. As a particular mathematical application we examine the Cayley graph of the symmetric group with cyclic shift and transposition generators. We provide strong support for the OEIS-A186783 conjecture that the diameter is equal to n(n-1)/2 by machine learning and mathematical methods. We identify the conjectured longest element and generate its decomposition of the desired length. We prove a diameter lower bound of n(n-1)/2-n/2 and an upper bound of n(n-1)/2+ 3n by presenting the algorithm with given complexity. We also present several conjectures motivated by numerical experiments, including observations on the central limit phenomenon (with growth approximated by a Gumbel distribution), the uniform distribution for the spectrum of the graph, and a numerical study of sorting networks. To stimulate crowdsourcing activity, we create challenges on the Kaggle platform and invite contributions to improve and benchmark approaches on Cayley graph pathfinding and other tasks.

Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Placed in RL for games and combinatorial optimization, one of 15 directions in Deep reinforcement learning methods. Builds on 18 of its 84 references that are in the map. First posted on arXiv 25 Feb 2025.

Builds on

18 of 84 references.

Closest ancestors · 1

Same direction, newest first

  1. 2024What makes math problems hard for reinforcement learning: a case study27 Aug

Other references · 17

  1. 2013Playing Atari with Deep Reinforcement Learningcited by 3,274
  2. 2019Deep Learning for Symbolic Mathematicscited by 270
  3. 2024Quantum Circuit Optimization with AlphaTensorcited by 36
  4. 2024PatternBoost: Constructions in Mathematics with a Little Help from AIcited by 34
  5. 2024Global Lyapunov functions: a long-standing open problem in mathematics, with symbolic transformerscited by 29
  6. 2024Cayley Graph Propagationcited by 21
  7. 2022TransPath: Learning Heuristics For Grid-Based Pathfinding via Transformerscited by 13
  8. 2017Solving the Rubik's Cube Optimally is NP-completecited by 10
  9. 2023Machine learning detects terminal singularitiescited by 9
  10. 2025Advancing Geometry with AI: Multi-agent Generation of Polytopescited by 9
  11. 2021Puzzle Solving without Search or Human Knowledge: An Unnatural Language Approachcited by 8
  12. 2022Learning Graph Search Heuristicscited by 7
5 more
  1. 2021Self-Supervision is All You Need for Solving Rubik's Cubecited by 4
  2. 2024Towards Learning Foundation Models for Heuristic Functions to Solve Pathfinding Problemscited by 4
  3. 2025A Machine Learning Approach That Beats Large Rubik's Cubescited by 4
  4. 2021CubeTR: Learning to Solve The Rubiks Cube Using Transformerscited by 2
  5. 2024Probabilistic estimates of the diameters of the Rubik's Cube groupscited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 5.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Diffusion Models for Cayley Graphs
  2. 2024Graph Reinforcement Learning for Combinatorial Optimization: A Survey and Unifying Perspective
  3. 2024Reinforcement Learning Discovers Efficient Decentralized Graph Path Search Strategies
  4. 2026Computations of the slice genus and the unknotting number of links via machine learning
  5. 2025Reinforcement learning for graph theory, Parallelizing Wagner's approach
  6. 2026RLGT: A reinforcement learning framework for extremal graph theory
  7. 2026Projecting Latent RL Actions: Towards Generalizable and Scalable Graph Combinatorial Optimization
  8. 2026Reinforcement Learning for Graph Generation under a Hard Assortativity Constraint