Skip to main content
QUICK REVIEW

[Paper Review] Learning Algebraic Structures: Preliminary Investigations

Yang‐Hui He, Minhyong Kim|arXiv (Cornell University)|May 2, 2019
Topological and Geometric Data AnalysisComputer Science5 citations
TL;DR

This paper investigates whether machine learning (ML) can identify algebraic structures—specifically finite groups and rings—by analyzing their Cayley tables and operation tables. Using support vector machines and neural classifiers, the authors demonstrate that ML can accurately recognize group properties like simplicity (over 98% accuracy) and distinguish valid group tables from Latin squares (90%+ accuracy), suggesting ML uncovers deep structural patterns without explicit mathematical knowledge.

ABSTRACT

We employ techniques of machine-learning, exemplified by support vector machines and neural classifiers, to initiate the study of whether AI can "learn" algebraic structures. Using finite groups and finite rings as a concrete playground, we find that questions such as identification of simple groups by "looking" at the Cayley table or correctly matching addition and multiplication tables for finite rings can, at least for structures of small size, be performed by the AI, even after having been trained only on small number of cases. These results are in tandem with recent investigations on whether AI can solve certain classes of problems in algebraic geometry.

Motivation & Objective

  • To investigate whether machine learning can recognize and classify algebraic structures such as finite groups and rings based solely on their operation tables.
  • To determine if AI can learn complex algebraic properties—like group simplicity or isomorphism—without explicit algorithmic knowledge of group theory.
  • To assess whether ML can outperform traditional computational methods in identifying structural patterns in algebraic objects, especially where standard algorithms are exponentially complex.
  • To explore the limits of ML in algebra by testing its ability to match addition and multiplication tables in finite rings and detect isomorphisms.
  • To understand whether ML is detecting meaningful mathematical patterns or merely fitting noise, using control experiments with random permutations.

Proposed method

  • Employed support vector machines (SVMs) and neural network classifiers to process input data representing Cayley tables of finite groups and rings.
  • Used labeled datasets of finite groups (up to order 70) and rings (up to small orders) to train models on properties such as group simplicity, subgroup count, and isomorphism.
  • Transformed group and ring operation tables into numerical input features suitable for ML, preserving structural information.
  • Applied cross-validation and test-set evaluation to measure prediction accuracy, with emphasis on generalization to unseen cases.
  • Conducted control experiments by randomly permuting table entries to test whether ML performance exceeds random guessing (Matthew’s phi-coefficient used as metric).
  • Trained models on small subsets (e.g., 10% of groups) and evaluated performance on the remaining 90% to test generalization and pattern learning.

Experimental results

Research questions

  • RQ1Can a machine learning model recognize whether a given Latin square is a valid Cayley table for a finite group?
  • RQ2Can an ML model predict whether a finite group is simple based solely on its Cayley table?
  • RQ3Can ML accurately predict the number of subgroups in a finite group from its operation table?
  • RQ4Can ML correctly match the addition and multiplication tables of a finite ring when they are shuffled and presented as input?
  • RQ5Does the model’s performance exceed random chance, indicating it has learned genuine structural patterns rather than statistical artifacts?

Key findings

  • The ML model achieved over 90% accuracy in identifying whether a Latin square is a valid Cayley table for a finite group, demonstrating effective pattern recognition without explicit group theory knowledge.
  • For group simplicity prediction, the model achieved over 98% accuracy on unseen cases after training on only 10% of groups up to order 70, indicating strong generalization to complex algebraic properties.
  • The model failed to learn isomorphism detection between finite groups or rings, with Matthew’s phi-coefficient near zero, suggesting such problems are not amenable to current ML approaches.
  • Predicting the number of subgroups in a finite group proved difficult, likely due to the sensitive dependence on number-theoretic properties like group order factorization.
  • For finite rings, the model achieved up to 90% accuracy in correctly matching shuffled addition and multiplication tables, indicating it can detect underlying algebraic consistency.
  • Control experiments with randomly permuted labels showed near-zero performance (phi ≈ 0), confirming that the model’s success is due to detecting real structural patterns, not random fitting.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.