[Paper Review] Machine-Learning Arithmetic Curves
This paper demonstrates that machine learning models—particularly naive Bayes, logistic regression, and random forests—can predict key invariants of elliptic and genus 2 curves with high accuracy using only Euler factors of their L-functions. The study achieves >0.97 accuracy in classifying rank and torsion order, and up to 0.998 accuracy for integral points, suggesting that number-theoretic data is highly structured and amenable to ML despite the complexity of the underlying arithmetic invariants.
We show that standard machine-learning algorithms may be trained to predict certain invariants of low genus arithmetic curves. Using datasets of size around one hundred thousand, we demonstrate the utility of machine-learning in classification problems pertaining to the BSD invariants of an elliptic curve (including its rank and torsion subgroup), and the analogous invariants of a genus 2 curve. Our results show that a trained machine can efficiently classify curves according to these invariants with high accuracies (>0.97). For problems such as distinguishing between torsion orders, and the recognition of integral points, the accuracies can reach 0.998.
Motivation & Objective
- To investigate whether machine learning can predict fundamental invariants of arithmetic curves, such as rank, torsion order, and Tate–Shafarevich group, from L-function data.
- To determine if Euler coefficients of L-functions serve as effective features for classifying arithmetic invariants in low-genus curves.
- To assess the performance of standard ML classifiers—logistic regression, naive Bayes, and random forests—on number-theoretic classification tasks with clean mathematical data.
- To explore the limits of ML in predicting intractable invariants like the Tate–Shafarevich group, which lacks a known computational method.
- To compare the predictive power of ML on genus 1 (elliptic) versus genus 2 curves, particularly regarding rational points and higher-rank classification.
Proposed method
- Training data was generated from the LMFDB database, using Euler factors of L-functions associated with elliptic and genus 2 curves over ℚ.
- The input representation for each curve was a vector of hundreds of Euler coefficients, derived from the local L-factors at good primes.
- Binary and multi-class classification tasks were formulated for invariants such as rank (0,1,2), torsion order (1 or 2), and presence of integral points.
- Standard ML classifiers—naive Bayes, logistic regression, and random forests—were trained and evaluated on balanced datasets of size ~10⁵.
- Performance was measured via precision, confidence, and F1-score, with cross-validation to ensure robustness.
- The approach was compared to prior work using Weierstrass coefficients, showing superior generalization and extrapolation using Euler factors.
Experimental results
Research questions
- RQ1Can machine learning models accurately predict the rank of elliptic and genus 2 curves using only Euler coefficients of their L-functions?
- RQ2To what extent can ML classify torsion subgroups and detect integral points in elliptic curves with high precision?
- RQ3Can ML distinguish between curves with trivial and non-trivial Tate–Shafarevich groups, despite the lack of known computational methods?
- RQ4How does the performance of ML models differ between genus 1 and genus 2 curves, particularly in multi-class classification of rational points?
- RQ5Why do simple models like naive Bayes achieve near-perfect accuracy on certain invariants, suggesting that mathematical data may be inherently more structured than real-world data?
Key findings
- Naive Bayes classifiers achieved 99.8% accuracy in distinguishing elliptic curves with and without integral points, indicating strong signal in Euler coefficients.
- Logistic regression and naive Bayes models classified the rank of elliptic curves with accuracy exceeding 0.97, even in a ternary classification (rank 0, 1, or 2).
- For genus 2 curves, the torsion order (1 vs. 2) was predicted with 92.6% precision using a naive Bayes classifier on a balanced dataset of ~1.5×10⁴ curves.
- The number of rational points on genus 2 curves proved more challenging, with multi-class classification achieving less than 34% precision, suggesting limited signal in Euler factors for this invariant.
- Prediction of the Tate–Shafarevich group's triviality was the most difficult task, with logistic regression achieving only 78% precision and 56.2% confidence, indicating limited signal in the current data representation.
- The use of Euler factors as input features enabled generalization beyond the training conductor range, demonstrating robustness and extrapolation capability compared to prior methods using Weierstrass coefficients.
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.