Lably
Skip to content

Learning with errors

  • 8 min read
  • 4 chapters

Related on Lably

Through Ring (mathematics), Modular arithmetic and Vector (mathematics and physics)

More precisely, the LWE problem is defined as follows. Let Zq denote the ring of integers modulo q and let Zqn denote the set of n-vectors over Zq. There exists a certain unknown linear function f:Zqn→Zq, and the input to the LWE problem is a sample of pairs (x,y), where x∈Zqn and y∈Zq, so that with high probability y=f(x). Furthermore, the deviation from the equality is according to some known noise model. The problem calls for finding the function f, or some close approximation thereof, with high probability.

The LWE problem was introduced by Oded Regev in 2005 (who won the 2018 Gödel Prize for this work); it is a generalization of the parity learning problem. Regev showed that the LWE problem is as hard to solve as several worst-case lattice problems. Subsequently, the LWE problem has been used as a hardness assumption to create public-key cryptosystems, such as the ring learning with errors key exchange by Peikert.

Definition

Denote by T=R/Z the additive group on reals modulo one. Let s∈Zqn be a fixed vector. Let ϕ be a fixed probability distribution over T. Denote by As,ϕ the distribution on Zqn×T obtained as follows.

  1. Pick a vector a∈Zqn from the uniform distribution over Zqn,
  2. Pick a number e∈T from the distribution ϕ,
  3. Evaluate t=⟨a,s⟩/q+e, where ⟨a,s⟩=∑i=1naisi is the standard inner product in Zqn, the division is done in the field of reals (or more formally, this "division by q" is notation for the group homomorphism Zq⟶T mapping 1∈Zq to 1/q+Z∈T), and the final addition is in T.
  4. Output the pair (a,t).

The learning with errors problem LWEq,ϕ is to find s∈Zqn, given access to polynomially many samples of choice from As,ϕ.

For every α>0, denote by Dα the one-dimensional Gaussian with zero mean and variance α2/(2π), that is, the density function is Dα(x)=ρα(x)/α where ρα(x)=e−π(|x|/α)2, and let Ψα be the distribution on T obtained by considering Dα modulo one. The version of LWE considered in most of the results would be LWEq,Ψα

Sign in to keep reading

3 more chapters are free with a Lably account.

More in Computing and communication