Learning Euler Factors of Elliptic Curves
Angelica Babei, François Charton, Edgar Costa, Xiaoyu Huang, Kyu-Hwan Lee, David Lowry-Duda, Ashvni Narayanan, Alexey Pozdnyakov
TL;DR
This work investigates whether transformer-based and neural-network methods can infer Frobenius traces $a_p$ of elliptic curves from nearby traces $a_q$, leveraging datasets of isogeny classes with small conductors. It demonstrates that models can achieve high accuracy in predicting $a_p$ and, notably, reliably predict $a_p\bmod 2$, suggesting that parity and modular structure underpin the learned relationships. Through PCA visualizations and saliency analyses, the study provides evidence that the models internally encode modular information (especially parity and modulo-4 patterns) and often rely on predicting $a_p\bmod 2$ as an intermediate step to recovering $a_p$. These findings offer partial interpretability in a number-theoretic setting and point to modular patterns as a latent organizing principle learned by neural networks in arithmetic geometry tasks.
Abstract
We apply transformer models and feedforward neural networks to predict Frobenius traces $a_p$ from elliptic curves given other traces $a_q$. We train further models to predict $a_p \bmod 2$ from $a_q \bmod 2$, and cross-analysis such as $a_p \bmod 2$ from $a_q$. Our experiments reveal that these models achieve high accuracy, even in the absence of explicit number-theoretic tools like functional equations of $L$-functions. We also present partial interpretability findings.
