[Paper Review] Machine-Learning Number Fields
This paper demonstrates that machine learning—specifically random forest and logistic regression classifiers—can predict key invariants of algebraic number fields with high accuracy using zeta coefficient data. Trained on zeta coefficients of real quadratic fields with discriminant <1 million, a random forest classifier achieves 96% precision in distinguishing class number 1 from class 2, and generalizes to fields with discriminants up to 3 million with 91% precision, suggesting potential for heuristic discovery in number theory.
We show that standard machine-learning algorithms may be trained to predict certain invariants of algebraic number fields to high accuracy. A random-forest classifier that is trained on finitely many Dedekind zeta coefficients is able to distinguish between real quadratic fields with class number 1 and 2, to 0.96 precision. Furthermore, the classifier is able to extrapolate to fields with discriminant outside the range of the training data. When trained on the coefficients of defining polynomials for Galois extensions of degrees 2, 6, and 8, a logistic regression classifier can distinguish between Galois groups and predict the ranks of unit groups with precision >0.97.
Motivation & Objective
- To investigate whether machine learning can predict fundamental invariants of algebraic number fields such as class number, Galois group, and unit group rank.
- To evaluate the performance of different data representations—defining polynomials, zeta coefficients, and split primes—as inputs for machine learning models.
- To determine whether trained models can extrapolate beyond the discriminant range of the training data, potentially informing open problems in number theory.
- To explore whether machine learning can uncover patterns in class numbers, particularly for real quadratic fields where the infinitude of class number 1 fields remains unproven.
Proposed method
- Training a random forest classifier on 1000 coefficients of the Dedekind zeta function of real quadratic fields to predict class number (1 vs. 2).
- Using logistic regression on defining polynomial coefficients to predict Galois groups and unit group ranks in degree 2, 6, and 8 extensions.
- Employing binary vectors encoding completely split primes to train classifiers, though performance was poor except for detecting extension degrees.
- Evaluating model performance via precision and confidence scores on test sets of number fields with discriminants both within and beyond the training range.
- Utilizing datasets from the LMFDB (L-functions and Modular Forms Database) for real quadratic, bi-quadratic, and sextic Galois extensions.
- Comparing model performance across different data modalities: zeta coefficients, polynomial coefficients, and split prime indicators.
Experimental results
Research questions
- RQ1Can machine learning accurately predict the class number of real quadratic fields using zeta coefficient data?
- RQ2Can trained models extrapolate to number fields with discriminants outside the training range, and how well do they generalize?
- RQ3How effective are different data representations—zeta coefficients, defining polynomials, and split primes—in predicting Galois groups and unit group ranks?
- RQ4Can machine learning detect patterns in class numbers divisible by 3, and does it perform better than random guessing?
- RQ5Can the model's decision criteria provide insight into the open problem of whether there are infinitely many real quadratic fields with class number 1?
Key findings
- A random forest classifier trained on zeta coefficients of real quadratic fields with discriminant <1 million achieved 96% precision in distinguishing class number 1 from class number 2.
- When tested on fields with discriminants between 1 and 3 million, the same classifier maintained 91% precision, demonstrating strong extrapolation capability.
- For degree 8 Galois extensions, logistic regression classifiers achieved >97% precision in distinguishing Galois groups and predicting unit group ranks using zeta coefficient data.
- In bi-quadratic quartic fields, a logistic regression model achieved 81.9% precision in classifying class number 1 vs. 2, though performance was limited by dataset size.
- For sextic S₃-extensions, no classifier could achieve more than 38% precision in a 7-way classification of class numbers, and even 1 vs. 2 classification peaked at 60.5% precision.
- The model's performance on class number divisibility by 3 was near-random (~51%), indicating difficulty in learning such number-theoretic patterns.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.