arXiv Science⌕ Search

arXiv · 2610.07126

CUDA-MPQS: A GPU-Resident Self-Initializing Quadratic Sieve, and the Factorization of RSA-155

Abstract

The quadratic sieve (QS) is an irregular, cache-hostile, branch-heavy integer factorization algorithm; prior GPU work accelerates individual stages of it. We present \swname{}, a self-initializing quadratic sieve in which \emph{every} stage --- polynomial initialization, sieving, relation post-processing, large-prime matching, \GFtwo{} matrix construction, Block Wiedemann linear algebra and the square root --- executes on the GPU, the CPU restricted to orchestration, setup and I/O, the sieve window 99.9\% GPU-busy with no device-wide or event synchronization and no synchronous copy. With it we factored the 512-bit RSA-155 challenge modulus end to end on GPUs: a 64$\times$H100 sieve feeding a single-H100 \GFtwo{} solve, 700.6~GPU-h and 242~kWh in total, 98.4\% of it sieving. To our knowledge this is the largest integer factored by the quadratic sieve, exceeding the prior QS record RSA-150 (Buhrow, YAFU, 2025); all comparable general factorizations since 1996, RSA-155's own in 1999 included, used the number field sieve. On a single device we factor RSA-100 in 29.2~s on an H100 and 51.0~s on a consumer RTX~5070~Ti; in a controlled same-modulus measurement, with energy measured on both sides, the H100 is faster than the fastest CPU quadratic sieve, YAFU, on 96 cores of an EPYC~9655 (106--122~s), and than CADO-NFS's SIQS (292~s) and GNFS (263~s). Across four discrete GPUs (a 3.7$\times$ range in CUDA cores) RSA-100 throughput is close to proportional to core count, memory bandwidth being a weaker predictor, and measured cost over seven benchmark factorizations from RSA-100 to RSA-155 grows as $\LN{1/2}{1}^{1.04}$ ($R^2=0.993$). On RSA-150, the identical modulus on which the prior QS record was set, we measure 302.9~GPU-h against that run's 11{,}664 core-hours.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Fabian Januszewski, Christoph Heinrichs. 2026-10-05. CUDA-MPQS: A GPU-Resident Self-Initializing Quadratic Sieve, and the Factorization of RSA-155. https://arxiv.science/abs/2610.07126

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite arXiv Science by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

P-adic Asai L-functions for quadratic Hilbert eigenforms

We construct p-adic Asai L-functions for cuspidal automorphic representations of GL2 / F, where F is a real quadratic field in which p splits. Our method relies on higher Hida theory for Hilbert modular surfaces with Iwahori level at one prime above p.

math.NT↗

Lower bounds for high moments of zeta sums

For $2\le x\le T$, put $L=\min(x,T/x)$. We prove the unconditional lower bound \[ \frac1T\int_T^{2T}\left|\sum_{n\le x}n^{-it}\right|^{2k}\dd t \gg_k x^k\bigl(\log(2L)\bigr)^{(k-1)^2} \] for each fixed real $k\ge2$. Under the Riemann hypothesis we obtain a matching upper bound for every fixed real $k>2$, uniformly in $x$. For positive integral $k$, the Steinhaus moment asymptotic of Harper, Nikeghbali and Radziwiłł gives an explicit leading constant for this time average when $x\to\infty$ and $x^k=o(T)$. Unconditionally, the fourth moment has order $x^2\log(2L)$ throughout $2\le x\le T$. For each fixed integer $k\ge3$ and $0<\varepsilon<1/k$, we also obtain the unconditional order $x^k(\log(2T/x))^{(k-1)^2}$ for $T^{1-1/k+\varepsilon}\le x\le T$. In particular, at $x=T/\log T$ the logarithmic factor in each of these integer moments has order $(\log\log T)^{(k-1)^2}$.

math.NT↗

Potential Automorphy of K3 Surfaces with Large Picard Rank

The first part of this paper studied $\mathrm{GSp}_4$-type abelian varieties and the corresponding compatible systems of $\mathrm{GSp}_4$ representations. Techniques in \cite{BCGP} are applied to show that one can prove the potential modularity of these abelian varieties and compatible systems under some conditions that guarantee a sufficient amount of good primes. Then, in the second part, we use the potential modularity theorems to prove that K3 surfaces over totally real field $F$ with Picard rank $\ge 17$ are potentially modular.

math.NT↗