NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning Algebraic Structures: Preliminary Investigations

Yang‐Hui He, Minhyong Kim

TL;DR

This paper explores whether Artificial Intelligence (AI), specifically machine learning models, can "learn" fundamental algebraic structures like finite groups and rings by analyzing their multiplication and addition tables. The authors demonstrate that AI can indeed identify properties of these structures, such as recognizing Cayley tables and distinguishing simple groups, with surprising accuracy, even without explicit mathematical knowledge.

What Problem Does This Paper Address?

The paper tackles the intriguing question of whether AI can perform complex mathematical tasks by pattern recognition alone, without explicit programming of mathematical rules. Specifically, it investigates if machine learning models can learn to identify and classify algebraic structures by analyzing their defining tables (like Cayley tables for groups). This is particularly relevant given the computational expense of traditional methods for tasks like identifying simple groups or classifying algebraic varieties. The authors aim to see if AI can bypass these computationally intensive algorithms by finding underlying patterns in the data.

Methods

The authors employ supervised machine learning techniques, primarily focusing on support vector machines (SVMs) and neural classifiers. They frame the problem as binary classification tasks, where the AI is trained on labeled data. For instance, to determine if a Latin square is a Cayley table, the AI is fed examples of true Cayley tables (labeled '1') and random Latin squares (labeled '0'). They utilize standard machine learning evaluation metrics like precision and the Matthews correlation coefficient ($\phi$). To address class imbalance (e.g., simple groups being rare), they employ techniques like Synthetic Minority Oversampling Technique (SMOTE) by permuting rows and columns of existing tables.

Datasets

The paper uses generated datasets based on known finite groups and rings.

  • Finite Groups: Datasets are generated from the Cayley tables of finite groups of various sizes (e.g., 8, 12, and up to size 70). These datasets include permutations of the original Cayley tables to increase sample size and balance the data.
  • Finite Rings: Datasets are generated from pairs of multiplication and addition tables for finite rings. These datasets also involve permutations and "mismatchings" to create both correct and incorrect pairings for classification.

Key Insights and Ideas

  • AI as a Pattern Recognizer for Abstract Structures: The most striking insight is that AI can learn to identify complex algebraic properties (like group simplicity) by simply "looking" at tabular representations, without any explicit mathematical understanding of group theory.
  • Cayley Tables as Rich Data Sources: Cayley tables, despite their seemingly simple structure, contain enough information for AI to distinguish between valid group multiplication tables and random Latin squares with high accuracy.
  • Isomorphism is a Harder Problem for AI: While AI excels at recognizing structural properties, it struggles significantly with recognizing isomorphisms between groups and rings, performing only at chance levels. This suggests that isomorphism might require a deeper, more abstract understanding than pattern matching on tables.
  • The "Black Box" Nature of AI in Mathematics: The paper highlights that AI can achieve impressive results by bypassing computationally expensive traditional algorithms, but the exact "how" remains a mystery, underscoring the ongoing challenge of interpreting AI's decision-making process in mathematical contexts.

Key Results

  • Recognizing Cayley Tables: AI achieved over 90% precision in identifying whether a Latin square is a Cayley table for groups of order 8 and 12, even with limited training data (around 25% of the dataset).
  • Identifying Simple Groups: For finite groups up to size 70, AI achieved over 98% precision in identifying simple groups by analyzing their Cayley tables, using only about 10% of the data.
  • Learning Ring Structures: For a fixed finite ring, AI could distinguish correct pairings of multiplication and addition tables from incorrect ones with precision in the 80-95% range. However, when presented with a collection of rings, the performance dropped, and AI struggled to generalize to unseen rings.
  • Isomorphism Recognition Failure: AI performed poorly (around 49% precision) in recognizing isomorphisms between groups of size 12, indicating this problem is not readily learnable by the current methods.

Limitations and Future Work

  • Limited Scope: The study is preliminary, focusing on small-sized finite groups and rings. The authors acknowledge that performance might degrade for larger or more complex structures.
  • "Black Box" Problem: The paper emphasizes that the AI's decision-making process is not transparent, and understanding why it succeeds or fails remains a significant challenge.
  • Isomorphism and Ring Structure Generalization: The AI's difficulty with recognizing isomorphisms and generalizing to unseen rings suggests that current methods may not capture the full essence of these abstract concepts.
  • Future Work: The authors suggest exploring more complex algebraic structures and investigating the underlying patterns the AI is learning. They also highlight the need to understand the AI's decision-making process to potentially develop new theoretical shortcuts in mathematics.

Summary updated

BibTeX
@article{he2019learning,
  author = {Yang‐Hui He and Minhyong Kim},
  title = {{Learning Algebraic Structures: Preliminary Investigations}},
  journal = {Int. J. Data Sci. Math. sci},
  year = {2019},
}
Figure