A lattice problem asks you to compute something about the points generated by integer combinations of a basis. The shortest vector problem asks which nonzero point is nearest the origin. The closest vector problem supplies a target and asks which lattice point is nearest that target.

Compare SVP, CVP, BDD and SIVP

ProblemInput beyond the basisRequired output
Shortest Vector Problem (SVP)NoneA shortest nonzero lattice vector
Closest Vector Problem (CVP)A target pointA lattice point nearest the target
Bounded Distance Decoding (BDD)A target promised to be close to the latticeThe unique nearest point under the decoding promise
Shortest Independent Vectors Problem (SIVP)NoneA full set of independent lattice vectors that minimizes the longest length

Search, approximation, and gap decisions

Write d(t,Λ)=min⁡v∈Λ∥t−v∥d(t,\Lambda)=\min_{v\in\Lambda}\|t-v\| and letλi\lambda_i be the smallest radius that contains ii linearly independent lattice vectors. Use the Euclidean norm and γ≥1\gamma\ge 1. The three gap problems ask for a decision given a threshold rr. The input is promised to have optimum at most rr or strictly greater than γr\gamma r.

What a solver must return and which inputs it must handle
ProblemExact searchApproximate searchGap decision
SVPNonzero vector of length λ1\lambda_1Nonzero vector of length at most γλ1\gamma\lambda_1GapSVP compares λ1\lambda_1 with the promised intervals.
CVPPoint at distance d(t,Λ)d(t,\Lambda) from ttPoint at distance at most γd(t,Λ)\gamma d(t,\Lambda)GapCVP uses d(t,Λ)d(t,\Lambda).
SIVPA full independent set with longest length λn\lambda_nA full independent set with longest length at most γλn\gamma\lambda_nGapSIVP uses λn\lambda_n.
BDDRecover the unique nearest point under the input promise d(t,Λ)<αλ1d(t,\Lambda)<\alpha\lambda_1, with 0<α≤1/20<\alpha\le 1/2.Here α\alpha specifies the decoding radius. It is an input restriction, independent of the output approximation factor in the other rows.

With r=3/2r=3/2 and γ=2\gamma=2, our example lattice is outside the GapSVP promise because 3/2<λ1=2≤33/2<\lambda_1=2\le 3. The solver owes no answer on that input. With r=2r=2, it is a YES input.

Work all four problems on one lattice

Use the shared rectangular lattice 2Z×3Z2\mathbb{Z}\times 3\mathbb{Z}, with points (2a,3b)(2a,3b) for integers a,ba,b.

On the shared lattice 2ℤ × 3ℤ, the bases ((2, 0), (6, 3)) and ((2, 0), (0, 3)) generate the same points. Subtract three copies of (2, 0) from (6, 3) to get (0, 3). The shorter basis makes the grid easier to read. Both bases have covolume 6.

SVPt(2, 3)CVP0
On the lattice 2ℤ × 3ℤ, SVP starts at the origin. CVP starts at t = (1.7, 2.3). The solid arrow and dashed segment measure different distances.
  1. SVP. The two shortest vectors are (2,0)(2,0) and (−2,0)(-2,0). Any vector with a nonzero second coordinate has length at least 3.
  2. CVP. For t=(1.7,2.3)t=(1.7,2.3), the nearest possible first and second coordinates are 2 and 3. This works because the squared Euclidean distance is the sum of the two coordinate errors squared.
  3. BDD. The distance from that target to (2,3)(2,3) is 0.32+0.72=0.58<1\sqrt{0.3^2+0.7^2}=\sqrt{0.58}<1. Here λ1/2=1\lambda_1/2=1. Two distinct lattice points cannot both be strictly within this distance bound of the same target, by the triangle inequality.
  4. SIVP. Both shortest vectors lie on the horizontal axis. Add (0,3)(0,3) to (2,0)(2,0) to get an independent pair. Every independent pair has a vector with nonzero second coordinate, so 3 is the optimal longest length.

The target and the promise change the answer

With t=(1,0)t=(1,0), CVP has two answers at distance 1. This target falls outside the strict BDD bound. With t=(0,0)t=(0,0), CVP returns the origin, since the distance is zero. SVP explicitly excludes the origin. Reductions between the two problems use more than a change of target to zero.

A Voronoi cell describes all targets with the same nearest lattice point. Successive minima extend the SIVP example by recording the radius needed for each additional independent direction.

Where these problems meet cryptography

Cryptographic reductions specify an approximation factor, a model of computation and a family of instances. For example, reductions for Learning With Errors relate average-case noisy equations to particular worst-case approximate lattice problems under stated parameters. Short Integer Solution asks for a short nonzero vector with a modular constraint. These assumptions are distinct from the cost of solving exact SVP on a given lattice.

For formal definitions and their relationships, see Micciancio and Regev’s survey on lattice-based cryptography.