Improving Lagarias-Odlyzko Algorithm For Average-Case Subset Sum: Modular Arithmetic Approach
Antoine Joux, Karol Węgrzycki
TL;DR
This work targets the average-case Subset Sum problem and improves the density of solvable instances by introducing a modular arithmetic framework that leverages lattice reduction. After a single reduction, it solves almost all instances with integers of size $Ω(\sqrt{Γ_{\textsf{LO}}})$, and yields a target-oblivious polynomial-time tester for any $T$. The approach builds a generating lattice via modular reductions, computes a full-rank multiplier matrix $\mathcal{M}_p$ from short vectors, and recovers a feasible subset via a linear system modulo a large prime. Extending to block-basis reductions suggests further density gains, while retaining polynomial-time guarantees, potentially broadening applicability beyond LO’s original setting. Overall, the modular-arithmetic method sharpens average-case guarantees and provides a pragmatic certificate for almost-all sparse Subset Sum instances.
Abstract
Lagarias and Odlyzko (J.~ACM~1985) proposed a polynomial time algorithm for solving ``\emph{almost all}'' instances of the Subset Sum problem with $n$ integers of size $Ω(Γ_{\text{LO}})$, where $\log_2(Γ_{\text{LO}}) > n^2 \log_2(γ)$ and $γ$ is a parameter of the lattice basis reduction ($γ> \sqrt{4/3}$ for LLL). The algorithm of Lagarias and Odlyzko is a cornerstone result in cryptography. However, the theoretical guarantee on the density of feasible instances has remained unimproved for almost 40 years. In this paper, we propose an algorithm to solve ``almost all'' instances of Subset Sum with integers of size $Ω(\sqrt{Γ_{\text{LO}}})$ after a single call to the lattice reduction. Additionally, our argument allows us to solve the Subset Sum problem for multiple targets while the previous approach could only answer one target per call to lattice basis reduction. We introduce a modular arithmetic approach to the Subset Sum problem. The idea is to use the lattice reduction to solve a linear system modulo a suitably large prime. We show that density guarantees can be improved, by analysing the lengths of the LLL reduced basis vectors, of both the primal and the dual lattices simultaneously.
