← Hardness assumptions

Learning With Errors (LWE)

Proposed by: Oded Regev (2005) Category: Lattice / post-quantum

Mathematical form

Parameters: dimension nn, modulus qq, error distribution χ\chi over Z\mathbb{Z} (typically discrete Gaussian with parameter αq\alpha q, αq>2n\alpha q > 2\sqrt{n}).

For secret sZqns \in \mathbb{Z}_q^n, define the LWE distribution As,χA_{s,\chi}: sample aZqna \leftarrow \mathbb{Z}_q^n, eχe \leftarrow \chi, output (a,a,s+emodq)(a, \langle a, s \rangle + e \bmod q).

Search-LWE. Given m=poly(n)m = \mathrm{poly}(n) samples from As,χA_{s,\chi}, find ss.

Decision-LWE. Distinguish mm samples of As,χA_{s,\chi} from mm samples of the uniform distribution over Zqn×Zq\mathbb{Z}_q^n \times \mathbb{Z}_q:

(A,As+e)c(A,u),AZqm×n,  eχm,  uZqm.(A, As + e) \approx_c (A, u), \qquad A \leftarrow \mathbb{Z}_q^{m \times n},\; e \leftarrow \chi^m,\; u \leftarrow \mathbb{Z}_q^m.

Search and decision are equivalent for suitable qq. The secret may be drawn from χn\chi^n (“normal form”) without loss of security.

Worst-case connection

Regev (2005): a poly-time algorithm for average-case LWE yields a poly-time quantum algorithm for worst-case GapSVPO~(n/α)_{\tilde{O}(n/\alpha)} and SIVP ([[lattice-worst-case]]). Classical reductions: Peikert (2009), Brakerski et al. (2013).

Best known attacks

Primal/dual lattice attacks via BKZ; core-SVP cost 20.292β2^{0.292\beta} classical, 20.257β2^{0.257\beta} quantum for block size β\beta determined by (n,q,α)(n, q, \alpha). Arora–Ge algebraic attack needs nO(η)n^{O(\eta)} samples for error width η\eta. No subexponential attack known for standard parameters; believed exponential even quantumly.

Importance

Source: assumptions/lwe.md — corrections welcome via pull request.