Neural Network Configuration of the r-Adding Walk in Pollard’s Rho Method Using the Spectral Gap for the Elliptic Curve Discrete Logarithm Problem
DOI:
https://doi.org/10.31861/sisiot2026.1.01004Keywords:
software engineering, elliptic curve discrete logarithm problem, Pollard’s Rho method, r-adding walk, neural networksAbstract
This paper investigates two neural-network formulations for configuring the r-adding walk in Pollard’s Rho method for the elliptic curve discrete logarithm problem on short Weierstrass curves over prime fields. The first formulation uses an NM-r classifier to predict the increment-table size r and an NM-inc regression network to generate the normalized increment coefficients (α_i, β_i) directly from the curve and subgroup context. An approximate spectral-gap dataset with context-grouped training, validation, and test partitions was constructed for this formulation. Its evaluation revealed severe target-class imbalance for NM-r and instability of the single-target increment labels under higher-precision transition sampling, which limited reliable end-to-end generalization. These findings motivated a second formulation in which a neural model scores a finite pool of candidate increment tables and selects the candidate with the highest predicted spectral quality for a fixed r. To evaluate the second formulation without sampling uncertainty in the target, an exact dataset containing 5,000 curve contexts and 480,000 candidate configurations was generated for r ∈ {8, 16, 32}, with the prime field modulus p and subgroup order N satisfying 2¹⁵ < p, N < 2²⁰. Each target was computed from an exact r × r tag-transition matrix obtained by enumerating every subgroup state. Candidate-scoring models were trained using context-grouped 80/10/10 splitting, evaluated across multiple input representations and random seeds, and frozen before integration into a C# implementation of Pollard’s Rho method. The benchmark compared neural selection, deterministic random selection, an L = 512 sampled-gap oracle, and an exact-gap oracle on 500 held-out contexts using 30 paired trials for each context and r, producing 180,000 successful measurements. Across r ∈ {8, 16, 32}, neural selection reduced the mean number of iterations normalized by √N by 2.52% relative to random selection, with a context-bootstrap 95% confidence interval of [0.24%, 4.79%] and a paired sign-flip value of p = 0.0325. For r = 8, the reduction was 5.25% with a 95% confidence interval of [1.40%, 9.00%] and a Holm-adjusted value of p = 0.0237 across the three neural-versus-random tests. No conclusive improvement was obtained for r = 16 or r = 32. Moreover, improvements in the exact spectral gap showed only a weak association with reductions in the number of iterations of Pollard’s Rho method, and the exact-gap oracle did not provide a consistent advantage. The results demonstrate a modest empirical benefit of neural candidate selection in the evaluated research-scale setting while showing that the spectral gap alone is not a universal predictor of the performance of Pollard’s Rho method.
Downloads
References
V. S. Miller, “Use of elliptic curves in cryptography,” in Advances in Cryptology – CRYPTO ’85, Lecture Notes in Computer Science, vol. 218. Berlin, Germany: Springer, 1986, pp. 417–426, doi: 10.1007/3-540-39799-X_31.
N. Koblitz, “Elliptic curve cryptosystems,” Mathematics of Computation, vol. 48, no. 177, pp. 203–209, 1987, doi: 10.1090/S0025-5718-1987-0866109-5.
J. M. Pollard, “Monte Carlo methods for index computation (mod p),” Mathematics of Computation, vol. 32, no. 143, pp. 918–924, 1978, doi: 10.1090/S0025-5718-1978-0491431-9.
E. Teske, “Speeding up Pollard’s rho method for computing discrete logarithms,” in Algorithmic Number Theory, Proc. ANTS-III, Lecture Notes in Computer Science, vol. 1423. Berlin, Germany: Springer, 1998, pp. 541–554, doi: 10.1007/BFb0054891.
E. Teske, “On random walks for Pollard’s rho method,” Mathematics of Computation, vol. 70, no. 234, pp. 809–825, 2001, doi: 10.1090/S0025-5718-00-01213-8.
J. Jebrane, A. Chhaybi, S. Lazaar, and A. Nitaj, “Elliptic curve cryptography with machine learning,” Cryptography, vol. 9, no. 1, Art. no. 3, 2025, doi: 10.3390/cryptography9010003.
D. Hankerson, A. J. Menezes, and S. A. Vanstone, Guide to Elliptic Curve Cryptography. New York, NY, USA: Springer, 2004, doi: 10.1007/b97644.
S. D. Miller and R. Venkatesan, “Spectral analysis of Pollard Rho collisions,” in Algorithmic Number Theory—ANTS VII, Lecture Notes in Computer Science, vol. 4076. Berlin, Germany: Springer, 2006, pp. 573–581, doi: 10.1007/11792086_40.
M. Al-Khalidi, R. Al-Zaidi, T. Ali, S. Khan, and A. K. Bashir, “AI-optimized elliptic curve with certificate-less digital signature for zero trust maritime security,” Ad Hoc Networks, vol. 166, Art. no. 103669, 2025, doi: 10.1016/j.adhoc.2024.103669.
K. Javeed, A. El-Moursy, and D. Gregg, “EC-Crypto: Highly efficient area-delay optimized elliptic curve cryptography processor,” IEEE Access, vol. 11, pp. 56649–56662, 2023, doi: 10.1109/ACCESS.2023.3282781.
R. Ifrim, D. Loghin, and D. Popescu, “A systematic review of fast, scalable, and efficient hardware implementations of elliptic curve cryptography for blockchain,” ACM Transactions on Reconfigurable Technology and Systems, vol. 17, no. 4, Art. no. 62, pp. 1–33, 2024, doi: 10.1145/3696422.
D. Maimuţ and A. C. Matei, “Speeding-up elliptic curve cryptography algorithms,” Mathematics, vol. 10, no. 19, Art. no. 3676, 2022, doi: 10.3390/math10193676.
D. A. Levin and Y. Peres, Markov Chains and Mixing Times, 2nd ed. Providence, RI, USA: American Mathematical Society, 2017, doi: 10.1090/mbk/107.
Published
Issue
Section
License
Copyright (c) 2026 Security of Infocommunication Systems and Internet of Things

This work is licensed under a Creative Commons Attribution 4.0 International License.









