Manuscript Offprint

arXiv:2608.29977

A New Algebraic Algorithm for LWE

Luca Campa, Massimo Fumiani, Arnab Roy

Abstract

The Learning With Errors (LWE) problem, introduced by Regev in 2005, is central to modern cryptography and post-quantum security. The algorithms to solve the search version of the problem, Search-LWE can be broadly categorised into algebraic, combinatorial and lattice-based.

In this work we propose a new algebraic algorithm for the Search-LWE problem. At a high level, the algorithm combines linear-algebraic techniques with S-polynomial-based methods from Gröbner basis computation. We provide a direct complexity analysis of our algorithm, avoiding semi-regularity assumptions and complexity bounds derived from the degree of regularity. Our algorithm achieves a polynomial improvement in complexity over prior results that use Gröbner basis methods to solve Search-LWE.

1 Introduction

The Learning With Errors (LWE) problem, introduced by Oded Regev [47], is a natural generalization of the learning parity with noise problem over finite fields.

Definition 1.1 (LWE [7, 47]). Let nn, qq be positive integers, χ\chi be a probability distribution on Z\mathbb{Z} and s\mathbf{s} be a secret vector in Zqn\mathbb{Z}_q^n. We denote by Ls,χL_{\mathbf{s},\chi} the probability distribution on Zqn×Zq\mathbb{Z}_q^n \times \mathbb{Z}_q obtained by choosing a∈Zqn\mathbf{a} \in \mathbb{Z}_q^n uniformly at random, choosing e∈Ze \in \mathbb{Z} according to χ\chi and considering it in Zq\mathbb{Z}_q, and returning (a,b)=(a,⟨a,s⟩+e)∈Zqn×Zq(\mathbf{a}, b) = (\mathbf{a}, \langle \mathbf{a}, \mathbf{s} \rangle + e) \in \mathbb{Z}_q^n \times \mathbb{Z}_q.

  • Decision-LWE is the problem of deciding whether pairs (a,b)∈Zqn×Zq(\mathbf{a}, b) \in \mathbb{Z}_q^n \times \mathbb{Z}_q are sampled according to Ls,χL_{\mathbf{s}, \chi} or the uniform distribution on Zqn×Zq\mathbb{Z}_q^n \times \mathbb{Z}_q.

  • Search-LWE is the problem of recovering s\mathbf{s} from (a,b)=(a,⟨a,s⟩+e)∈Zqn×Zq(\mathbf{a}, b) = (\mathbf{a}, \langle \mathbf{a}, \mathbf{s} \rangle + e) \in \mathbb{Z}_q^n \times \mathbb{Z}_q sampled according to Ls,χL_{\mathbf{s}, \chi}.

Since its introduction, the LWE problem has been investigated in the algorithms and cryptography literature. In particular, the Bounded Errors case was explored in [5, 9, 24, 51]. Introduced by Arora and Ge [9], an algebraic algorithm generates a system of error-free multivariate polynomial equations from the LWE samples and solves the system using a linearization technique. In [5], the complexity of the Arora-Ge technique was improved by using Gröbner basis methods to solve the polynomial system of equations. Recent analyses [24, 51] have further improved the complexity of this approach.

The Lattice-based algorithms, using primal and dual approaches that reduce LWE to BD-D/uSVP or SIS and rely on lattice reduction techniques such as BKZ and hybrid methods [4, 7, 39], are the most efficient algorithms for solving LWE. Combinatorial algorithms, notably BKW-based [6] methods, reduce the problem dimension at the cost of increased noise and are mainly effective for instances with small secrets or large sample sizes. In [7], a summary of a wide range of algorithms for the LWE problem is provided.

Hardness and Cryptographic Application. As established in the literature, the worst-case approximate GapSVP reduces to the average-case LWE [17, 44, 47, 48]. Such results position LWE as a central hardness assumption in lattice-based cryptography, leading to numerous cryptographic constructions, including post-quantum cryptographic standards. Examples of such constructions include secure public-key encryption schemes resilient to both chosen-plaintext [39, 45, 47] and chosen-ciphertext attacks [42, 44, 46], oblivious transfer protocols [45], identity-based encryption [1, 2, 21, 29], leakage-resilient cryptography [3, 8, 31], fully homomorphic encryption [14, 16, 18], among many others. Structured variants, including Ring-LWE [40] and Module-LWE [15], improve efficiency while retaining worst-case hardness, with MLWE underpinning practical schemes such as CRYSTALS-Kyber [10].

References (51)