Skip to content

Author

Tal Weissblat

2 papers indexed here

We haven’t gathered this author’s papers yet. Follow them and we’ll fetch their work.

Not the right person? Other researchers publish under this name.

#graph neural networks Open access Sep 2026

Learning Primality from Modular-Inverse Graphs

This work investigates whether graph neural networks (GNNs) can learn to distinguish prime from composite integers through graph-based representations of numbers. Each integer is represented by a modular-inverse graph whose structure is determined by multiplicative inverse relations modulo the integer. Importantly, the same graph-construction rule is applied to every integer, independently of whether it is prime or composite, and no primality label is explicitly incorporated into the graph representation. We provide a mathematical justification for the proposed approach by proving that, despite this uniform construction, systematic structural differences emerge between the modular-inverse graphs associated with prime and composite integers. In particular, prime integers produce graphs with the maximum possible number of edges connecting distinct nonzero vertices and no isolated nonzero vertices, whereas composite integers produce fewer such edges and contain isolated nonzero vertices. We further analyze the message-passing mechanisms of GraphSAGE and Graph Convolutional Networks (GCN), showing how these structural differences can be preserved or lost depending on the aggregation mechanism. Based on this mathematical characterization, GraphSAGE and GCN are comparatively evaluated on a dataset of 10,000 integers ranging from 2 to 10,001. Models trained on the modular-inverse graphs of smaller integers are evaluated on those of larger, previously unseen integers, with balanced accuracy (BA) used to account for the class imbalance between prime and composite numbers. The selected GraphSAGE architecture achieves a mean BA of 99.89% across three random seeds on the test set, whereas GCN remains at 50.00% validation BA across all evaluated configurations and seeds. These results align with the mathematical analysis and demonstrate that the ability to learn structural differences associated with primality from modular-inverse graphs depends critically on the GNN message-passing mechanism.

Tal Weissblat · 0 citations
#graph neural networks Open access Sep 2026

Learning Subgroup Relations Using Siamese Graph Neural Networks

Determining whether one finite group is isomorphic to a subgroup of another is a fundamental problem in computational group theory. In this work, we propose a Siamese Graph Neural Network (Siamese GNN) for subgroup prediction using Cayley graph representations of finite groups. Each input group is represented by its undirected Cayley graph and encoded by one branch of a Siamese GNN to produce a graph embedding. The resulting graph embeddings are combined with algebraic features derived directly from the input groups to construct a joint feature vector, which is processed by a fully connected classifier to predict subgroup relations between finite groups. By integrating graph-based structural representations with algebraic features, the proposed framework provides a unified approach for learning subgroup relations from finite groups. Experimental results on an expanded and more diverse dataset of 308 finite-group pairs drawn from 11 group families demonstrate the effectiveness of the proposed architecture, achieving a test BA of 91.67% on an independent test set. Additional experiments evaluate generalization to unseen groups, robustness to different Cayley graph generating sets, the contribution of GNN message passing, performance relative to non-neural baselines, and comparison with exact computational methods. These results illustrate the potential of geometric deep learning for subgroup prediction.

Tal Weissblat · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.