This paper presents a new randomized algorithm for solving the exact shortest vector problem. For the -dimensional lattice , our algorithm runs in time and space .
Our algorithm can be viewed as a -ary analogue of the midpoint Hessian for an odd prime ; more precisely, we use the fact that, for a shortest vector , the gradient (rather than Hessian) of the periodic Gaussian function at is nearly proportional to (up to sign), even after aggregation over a relatively large random affine coset. We compute the relevant coset gradient along a chain of intermediate lattices using a combinatorial procedure inspired by Wagner's generalized birthday algorithm, yielding the time and space complexity.
A variant of the algorithm solves the exact closest vector problem on every input with a distance guarantee within the same time and space complexity. This guarantee holds for a random target and a random lattice drawn according to the Haar-Siegel measure. Thus, this algorithm solves a closest vector problem on such random instances in time and space .

