arXiv:2610.21981math.AGOct 2026

Manuscript Offprint

arXiv:2610.21981

Deep Learning of Topological Equivalence Classes

Linden Disney-Hogg, Max Zuev

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

LINDEN DISNEY-HOGG ∗^{*} AND MAX ZUEV

ABSTRACT. We demonstrate an application of deep learning to the problem of identifying whether two generating vectors correspond to topologically equivalent finite group actions on Riemann surfaces, showing how architectures developed for semantic understanding have use for pure mathematical problems. In doing so we discuss how desired algebraic structure influences model design, and explore which structural properties of topological equivalence classes the model has successfully learnt.

1. INTRODUCTION

A fundamental problem in the study of Riemann surfaces is an understanding of their moduli, and one key approach to this is via describing the possible holomorphic actions of a finite group GG on a smooth compact connected Riemann surface SS, defined as monomorphisms ϵ:G→Aut(S)\epsilon: G \to \text{Aut}(S). A foundational result in this direction is the theorem of Hurwitz showing that when SS has genus g≥2g \geq 2, ∣Aut(S)∣≤84(g−1)| \text{Aut}(S) | \leq 84(g - 1) [Hur92].

Associated to the image of a group action G=ϵ(G)≤Aut(S)\mathcal{G} = \epsilon(G) \leq \text{Aut}(S) one has the quotient map π:S→S/G\pi: S \to S/\mathcal{G}.

Definition 1.1 ([LR22]). Given an action of GG on SS, define the quotient genus to be g0=g(S/G)≥0g_0 = g(S/\mathcal{G}) \geq 0. Moreover, letting QiQ_i, i=1,…,ri = 1, \ldots, r, denote the branch points of π\pi, for any Pi∈π−1(Qi)P_i \in \pi^{-1}(Q_i) denote with ci=∣GPi∣>1c_i = |\mathcal{G}_{P_i}| > 1 the order of the stabiliser of PiP_i in G\mathcal{G}. We call the integer tuple (g0;c1,…,cr)(g_0; c_1, \ldots, c_r) the signature of the action.

Moreover, given any finite group GG and signature (g0;c1,…,cr)(g_0; c_1, \ldots, c_r), define a generating vector associated to the signature to be {α1,β1,…,αg0,βg0,γ1,…,γr}⊂G\{\alpha_1, \beta_1, \ldots, \alpha_{g_0}, \beta_{g_0}, \gamma_1, \ldots, \gamma_r\} \subset G such that

• {α1,β1,…,αg0,βg0,γ1,…,γr}\{\alpha_1, \beta_1, \ldots, \alpha_{g_0}, \beta_{g_0}, \gamma_1, \ldots, \gamma_r\} generates GG,

• γi\gamma_{i} has order cic_{i}, and

Date: October 2026.

Key words and phrases. Topological Equivalence, Deep Learning, Automorphisms.

  • Corresponding author.

Acknowledgements. MZ was supported by a University of Leeds School of Mathematics Undergraduate Summer Research Bursary. The research of LDH was supported by a UK Engineering and Physical Sciences Research Council (EPSRC) doctoral prize fellowship, and a Chapman-Schmidt AI in Science postdoctoral fellowship, a Schmidt Sciences program. Computing for this work was undertaken on the Aire HPC system at the University of Leeds, UK..

Data Availability. The datasets generated during the current study and the code for their creation/analysis are openly available at https://github.com/Max-Zuev/PermutationGroupDeepLearning.

Statements and Declarations. The authors have no relevant financial or non-financial interests to disclose.

The generative AI tool Claude Code was used in the implementation and optimisation of the code written for this project. All code was subsequently checked by humans.

LINDEN DISNEY-HOGG AND MAX ZUEV

∙∏i=1g0(αiβiαi−1βi−1)∏j=1rγj=1.\bullet \quad \prod_{i=1}^{g_{0}}(\alpha_{i}\beta_{i}\alpha_{i}^{-1}\beta_{i}^{-1})\prod_{j=1}^{r}\gamma_{j}=1.

The Riemann existence theorem states that, given a finite group G, a signature (g0;c1,…,cr)(g_0; c_1, \ldots, c_r), and a generating vector in G associated to this signature, then there exists an action of G on a surface S of genus g if and only if the Riemann-Hurwitz equation

2g−2=∣G∣[(2g0−2)+∑i=1r(1−1ci)]2g-2=|G|\left[(2g_{0}-2)+\sum_{i=1}^{r}\left(1-\frac{1}{c_{i}}\right)\right]

holds [Bro90]. In this work we shall restrict ourselves to investigating group actions where g0=0g_0 = 0 (and hence r≥3r \geq 3), but this is not a theoretical barrier to the application of our methods.

Remark 1.2. Given the data of the character table of G one may use character theory to estimate the difficulty of finding all generating vectors of G for a particular signature, and the expected number. Denote with CiC_i a conjugacy class in G, let xi∈Cix_i \in C_i, and denote with {χi}\{\chi_i\} the irreducible characters of G. It is then known the size of the conjugacy classes may be determined by the orthogonality relation

1∣G∣∑iχi(xr)χi(xs)=δrs∣Cr∣.\frac{1}{|G|}\sum_{i}\chi_{i}(x_{r})\chi_{i}(x_{s})=\frac{\delta_{rs}}{|C_{r}|}.

Fixing conjugacy classes C1,…,CrC_1, \ldots, C_r one may imagine an algorithm which searches for generating vectors with γi∈Ci\gamma_i \in C_i by looping over the cartesian product C1×⋯×Cr−1C_1 \times \cdots \times C_{r-1} and checking whether the inverse of the product is in CrC_r. This is a search over a space of size ∣C1∣×⋯×∣Cr−1∣|C_1| \times \cdots \times |C_{r-1}| which may be determined, and the number of solutions is given by Frobenius' formula [Bre00, Theorem 14.1]

∣{(γ1,⋯ ,γr)∣γi∈Ci,∏i=1rγi=1}∣=∏i=1r∣Ci∣∣G∣∑i∏j=1rχi(xj)χi(1)r−2.|\{\left(\gamma_{1},\cdots,\gamma_{r}\right)\mid\gamma_{i}\in C_{i},\prod_{i=1}^{r}\gamma_{i}=1\}|=\frac{\prod_{i=1}^{r}\left|C_{i}\right|}{\left|G\right|}\sum_{i}\frac{\prod_{j=1}^{r}\chi_{i}(x_{j})}{\chi_{i}(1)^{r-2}}.

As is natural in mathematics one wants to describe all such group actions up to a concept of equivalence; many such concepts of equivalence have been considered [Bro22], but in this paper we shall focus on perhaps the most well studied, namely topological equivalence.

Definition 1.3 ([Kur87], [Bro22]). Actions ϵi\epsilon_i of GG on Riemann surfaces SiS_i ( i=1,2i = 1, 2) of the same genus are said to be topologically equivalent if there exists h:S1→S2h: S_1 \to S_2 an orientation preserving homeomorphism and σ∈Aut(G)\sigma \in \text{Aut}(G) such that ∀g∈G\forall g \in G, ϵ2(g)=h∘ϵ1(σ(g))∘h−1\epsilon_2(g) = h \circ \epsilon_1(\sigma(g)) \circ h^{-1}.

This definition of equivalence is particularly important because topological equivalence classes biject with conjugacy classes of finite subgroups of the mapping class group, a fundamental object in many areas of mathematics [Bro90]. It is clear that the signature of a group action is an invariant of its topological equivalence class up to permutation of the cic_i. Through the theory of surface kernel epimorphisms one can show that topological equivalence classes correspond to orbits of generating vectors under the action [Bro90, BRTC23] of

• Aut(G)\text{Aut}(G), with σ∈Aut(G)\sigma \in \text{Aut}(G) acting on (γ1,…,γr)(\gamma_1, \ldots, \gamma_r) as

σ⋅(γ1,…,γr)=(σ(γ1),…,σ(γr)),\sigma\cdot(\gamma_{1},\ldots,\gamma_{r})=(\sigma(\gamma_{1}),\ldots,\sigma(\gamma_{r})),

and

  • the subgroup of the braid group Br\mathbb{B}_r generated by Φi\Phi_i, i=1,…,r−1i = 1, \ldots, r - 1, acting as
Φi⋅(γ1,…,γr)=(γ1,…,γi−1,γiγi+1γi−1,γi,…,γr).\Phi_{i}\cdot(\gamma_{1},\ldots,\gamma_{r})=(\gamma_{1},\ldots,\gamma_{i-1},\gamma_{i}\gamma_{i+1}\gamma_{i}^{-1},\gamma_{i},\ldots,\gamma_{r}).

We shall further fix the ordering of the signature (c1,…,cr)(c_1, \ldots, c_r), and consider only the subgroup of Br\mathbb{B}_r which does not permute the signature.

Example 1.4. Consider the example of G=⟨γ∣γ4=1⟩≅C4G = \langle \gamma \mid \gamma^4 = 1 \rangle \cong C_4 acting with signature (0;4,4,4,4)(0; 4, 4, 4, 4) in genus g=3g = 3. Any generating vector must be of the form

v=(γa1,γa2,γa3,γa4),v=(\gamma^{a_{1}},\gamma^{a_{2}},\gamma^{a_{3}},\gamma^{a_{4}}),

where ai=1,3a_i = 1, 3 and ∑iai≡0mod  4\sum_i a_i \equiv 0 \mod 4. Aut(G)=⟨γ↦γ3⟩\text{Aut}(G) = \langle \gamma \mapsto \gamma^3 \rangle and any permutation preserves the signature, so we have two equivalence classes of generating vector

• two of the aia_{i} equal 1, and two of the aia_{i} equal 3,

• all of the aia_{i} are equal.

Example 1.5. Consider the group G=A4G = A_4 the alternating group on 4 elements acting with signature (0;3,3,3,3)(0; 3, 3, 3, 3) in genus g=5g = 5. Any generating vector must consist of four 3-cycles, two examples are

v1=((1,2,4),(1,3,4),(2,3,4),(1,2,3)),v_{1}=((1,2,4),(1,3,4),(2,3,4),(1,2,3)), v2=((2,3,4),(1,3,4),(1,2,4),(1,2,3)).v_{2}=((2,3,4),(1,3,4),(1,2,4),(1,2,3)).

One may check that these are in distinct equivalence classes despite differing by a permutation.

Given a generating vector it is easy to compute its associated signature but this is not a complete invariant of the equivalence class, that is there exist topologically inequivalent generating vectors with the same signature (as demonstrated in Examples 1.4 and 1.5). There are more refined invariants, such as the character of the induced representation of G on the space Hq(S)\mathcal{H}^q(S) of holomorphic q-differentials on S, which are similarly quick to compute but are still not complete. The exception to this is in the case where G is cyclic and the ‘total rotation data system’ provides a complete invariant [Bro22].

In contrast, one may compute the entire orbit of a generating vector using modern computer algebra [BRTC23] and use this to determine if two generating vectors are topologically equivalent, but this process can become slow and memory intensive dependent on the size of Aut(G)×Br\text{Aut}(G) \times \mathbb{B}_r. Indeed, in general the orbit problem is at least as hard as the graph isomorphism problem [CEJS98].

Example 1.6. For a finite abelian group GG it is known that ∣Aut(G)∣≥ϕ(∣G∣)|Aut(G)| \geq \phi(|G|), where ϕ\phi is Euler's totient function. Moreover when GG is abelian the action of the braid generator Φi\Phi_i on a generating vector (γ1,…,γr)(\gamma_1, \ldots, \gamma_r) is simply to swap γi\gamma_i and γi+1\gamma_{i+1}, and so the braid action is just that of the symmetric group SrS_r. As such when considering the topological equivalence classes for generating vectors of length rr for an abelian group GG, orbits are generated by the action of a group of at least order ϕ(∣G∣)r!\phi(|G|)r!.

Faced with these difficulties we sought to investigate what alternative computational tools could provide insight into the problem of determining whether two generating vectors correspond to topologically equivalent actions. Motivated by recent successes in the application of machine learning to understanding group actions on Riemann surfaces [BDH25] as well as in using deep learning to understand

LINDEN DISNEY-HOGG AND MAX ZUEV

structure of the symmetric group [PGdG26] we decided to use a deep learning approach. In particular, we trained a twin model originally designed to decide if two sequences of text share the same ‘sentiment’ [YZG+19]: in our context the generating vectors gave rise to sequences of tokens for which sharing sentiment corresponded to being in the same equivalence class. In doing so we add to a growing corpus of literature exploring the applicability of machine/deep learning techniques to pure mathematics, see [DL26] for a review. The field of Riemann surfaces and particularly those with automorphisms is well placed to benefit from the development of this technology thanks to the wealth of precomputed data available from the LMFDB [LMF26, Pau23].

The final best-performing model successfully compared generating vectors in the test dataset with an accuracy of 85.8%. This paper provides further evidence of how modern computational developments can be leveraged to gain insight into mathematical problems. We also hope it will serve as an impetus to further explore the interplay between such fields. §2 provides specific details of the model architecture employed, the training data used, how results were analysed, and other key technical information, while §3 provides the results of investigations. Finally, §4 discusses the interpretation of these results, as well as directions of future inquiry.