# Lattice problem

(Redirected from Lattice problems)

In computer science, lattice problems are a class of optimization problems on lattices. The conjectured intractability of such problems is central to construction of secure lattice-based cryptosystems. For applications in such cryptosystems, lattices over vector spaces (often ${\displaystyle \mathbb {Q} ^{n}}$) or free modules (often ${\displaystyle \mathbb {Z} ^{n}}$) are generally considered.

For all the problems below, assume that we are given (in addition to other more specific inputs) a basis for the vector space V and a norm N. The norms usually considered are L2. However, other norms (such as Lp) are also considered and show up in a variety of results.[1] Let ${\displaystyle \lambda (L)}$ denote the length of the shortest non-zero vector in the lattice L, that is,

${\displaystyle \lambda (L)=\min _{v\in L\setminus \{\mathbf {0} \}}\|v\|_{N}}$.

## Shortest vector problem (SVP)

This is an illustration of the shortest vector problem (basis vectors in blue, shortest vector in red).

In SVP, a basis of a vector space V and a norm N (often L2) are given for a lattice L and one must find the shortest non-zero vector in V, as measured by N, in L. In other words, the algorithm should output a non-zero vector v such that ${\displaystyle N(v)=\lambda (L)}$.

In the ${\displaystyle \gamma }$-approximation version ${\displaystyle {\text{SVP}}_{\gamma }}$, one must find a non-zero lattice vector of length at most ${\displaystyle \gamma \lambda (L)}$.

### Known results

The exact version of the problem is only known to be NP-hard for randomized reductions.[2][3]

By contrast, the equivalent problem with respect to the uniform norm is known to be NP-hard [4]

Approach techniques: Lenstra–Lenstra–Lovász lattice basis reduction algorithm produces a "relatively short vector" in polynomial time, but does not solve the problem. Kannan's HKZ basis reduction algorithm solves the problem in ${\displaystyle n^{{\frac {n}{2e}}+o(n)}}$ time where ${\displaystyle n}$ is the dimension. Lastly, Schnorr presented a technique that interpolates between LLL and HKZ called Block Reduction. Block reduction works with HKZ bases and if the number of blocks is chosen to be larger than the dimension, the resulting algorithm is Kannan's full HKZ basis reduction.

## GapSVP

The problem ${\displaystyle {\text{GapSVP}}_{\beta }}$ consists of differentiating between the instances of SVP in which the answer is at most 1 or larger than ${\displaystyle \beta }$, where ${\displaystyle \beta }$ can be a fixed function of ${\displaystyle n}$, the number of vectors. Given a basis for the lattice, the algorithm must decide whether ${\displaystyle \lambda (L)\leq 1}$ or ${\displaystyle \lambda (L)>\beta }$. Like other promise problems, the algorithm is allowed to err on all other cases.

Yet another version of the problem is ${\displaystyle {\text{GapSVP}}_{\zeta ,\gamma }}$ for some functions ${\displaystyle \zeta ,\gamma }$. The input to the algorithm is a basis ${\displaystyle B}$ and a number ${\displaystyle d}$. It is assured that all the vectors in the Gram–Schmidt orthogonalization are of length at least 1, and that ${\displaystyle \lambda (L(B))\leq \zeta (n)}$ and that ${\displaystyle 1\leq d\leq \zeta (n)/\gamma (n)}$ where ${\displaystyle n}$ is the dimension. The algorithm must accept if ${\displaystyle \lambda (L(B))\leq d}$, and reject if ${\displaystyle \lambda (L(B))\geq \gamma (n).d}$. For large ${\displaystyle \zeta }$ (${\displaystyle \zeta (n)>2^{n/2}}$), the problem is equivalent to ${\displaystyle {\text{GapSVP}}_{\gamma }}$ because[5] a preprocessing done using the LLL algorithm makes the second condition (and hence, ${\displaystyle \zeta }$) redundant.

## Closest vector problem (CVP)

This is an illustration of the closest vector problem (basis vectors in blue, external vector in green, closest vector in red).

In CVP, a basis of a vector space V and a metric M (often L2) are given for a lattice L, as well as a vector v in V but not necessarily in L. It is desired to find the vector in L closest to v (as measured by M). In the ${\displaystyle \gamma }$-approximation version ${\displaystyle {\text{CVP}}_{\gamma }}$, one must find a lattice vector at distance at most ${\displaystyle \gamma }$.

### Relationship with SVP

The closest vector problem is a generalization of the shortest vector problem. It is easy to show that given an oracle for ${\displaystyle {\text{CVP}}_{\gamma }}$ (defined below), one can solve ${\displaystyle {\text{SVP}}_{\gamma }}$ by making some queries to the oracle.[6] The naive method to find the shortest vector by calling the ${\displaystyle {\text{CVP}}_{\gamma }}$ oracle to find the closest vector to 0 does not work because 0 is itself a lattice vector and the algorithm could potentially output 0.

The reduction from ${\displaystyle {\text{SVP}}_{\gamma }}$ to ${\displaystyle {\text{CVP}}_{\gamma }}$ is as follows: Suppose that the input to the ${\displaystyle {\text{SVP}}_{\gamma }}$ problem is the basis for lattice ${\displaystyle B=[b_{1},b_{2},\ldots ,b_{n}]}$. Consider the basis ${\displaystyle B^{i}=[b_{1},\ldots ,2b_{i},\ldots ,b_{n}]}$ and let ${\displaystyle x_{i}}$ be the vector returned by ${\displaystyle {\text{CVP}}_{\gamma }(B^{i},b_{i})}$. The claim is that the shortest vector in the set ${\displaystyle \{x_{i}-b_{i}\}}$ is the shortest vector in the given lattice.

### Known results

Goldreich et al. showed that any hardness of SVP implies the same hardness for CVP.[7] Using PCP tools, Arora et al. showed that CVP is hard to approximate within factor ${\displaystyle 2^{\log ^{1-\epsilon }(n)}}$ unless ${\displaystyle \operatorname {NP} \subseteq \operatorname {DTIME} (2^{poly(\log n)})}$.[8] Dinur et al. strengthened this by giving a NP-hardness result with ${\displaystyle \epsilon =(\log \log n)^{c}}$ for ${\displaystyle c<1/2}$.[9]

### Sphere decoding

The algorithm for CVP, especially the Fincke and Pohst variant,[10] have been used for data detection in multiple-input multiple-output (MIMO) wireless communication systems (for coded and uncoded signals).[11][12] In this context it is called sphere decoding due to the radius used internal to many CVP solutions.[13]

It has been applied in the field of the integer ambiguity resolution of carrier-phase GNSS (GPS).[14] It is called LAMBDA method in that field.

## GapCVP

This problem is similar to the GapSVP problem. For ${\displaystyle {\text{GapCVP}}_{\beta }}$, the input consists of a lattice basis and a vector ${\displaystyle v}$ and the algorithm must answer whether

• there is a lattice vector such that the distance between it and ${\displaystyle v}$ is at most 1.
• every lattice vector is at a distance greater than ${\displaystyle \beta }$ away from ${\displaystyle v}$.

### Known results

The problem is trivially contained in NP for any approximation factor.

Schnorr, in 1987, showed that deterministic polynomial time algorithms can solve the problem for ${\displaystyle \beta =2^{O(n(\log \log n)^{2}/\log n)}}$.[15] Ajtai et al. showed that probabilistic algorithms can achieve a slightly better approximation factor of ${\displaystyle \beta =2^{O(n\log \log n/\log n)}}$.[16]

In 1993, Banaszczyk showed that ${\displaystyle {\mathsf {GapCVP}}_{n}}$ is in ${\displaystyle {\mathsf {NP\cap coNP}}}$.[17] In 2000, Goldreich and Goldwasser showed that ${\displaystyle \beta ={\sqrt {n/\log n}}}$ puts the problem in both NP and coAM.[18] In 2005, Aharonov and Regev showed that for some constant ${\displaystyle c}$, the problem with ${\displaystyle \beta =c{\sqrt {n}}}$ is in ${\displaystyle {\mathsf {NP\cap coNP}}}$.[19]

For lower bounds, Dinur et al. showed in 1998 that the problem is NP-hard for ${\displaystyle \beta =n^{o(1/\log {\log {n}})}}$.[20]

## Shortest independent vectors problem (SIVP)

Given a lattice L of dimension n, the algorithm must output n linearly independent ${\displaystyle v_{1},v_{2},\ldots ,v_{n}}$ so that ${\displaystyle \max \|v_{i}\|<\max _{B}\|b_{i}\|}$ where the right hand side considers all basis ${\displaystyle B=\{b_{1},\ldots ,b_{n}\}}$ of the lattice.

In the ${\displaystyle \gamma }$-approximate version, given a lattice L with dimension n, find n linearly independent vectors ${\displaystyle v_{1},v_{2},\ldots ,v_{n}}$ of length max ||${\displaystyle v_{i}}$|| ≤ ${\displaystyle \gamma \lambda _{n}(L)}$, where ${\displaystyle \lambda _{n}(L)}$ is the ${\displaystyle n}$'th successive minimum of ${\displaystyle L}$.

## Bounded distance decoding

This problem is similar to CVP. Given a vector such that its distance from the lattice is at most ${\displaystyle \lambda (L)/2}$, the algorithm must output the closest lattice vector to it.

Given a basis for the lattice, the algorithm must find the largest distance (or in some versions, its approximation) from any vector to the lattice.

## Shortest basis problem

Many problems become easier if the input basis consists of short vectors. An algorithm that solves the Shortest Basis Problem (SBP) must, given a lattice basis${\displaystyle B}$, output an equivalent basis ${\displaystyle B'}$ such that the length of the longest vector in ${\displaystyle B'}$ is as short as possible.

The approximation version ${\displaystyle {\mathsf {SBP}}_{\gamma }}$ problem consist of finding a basis whose longest vector is at most ${\displaystyle \gamma }$ times longer than the longest vector in the shortest basis.

## Use in cryptography

Average case hardness of problems forms a basis for proofs-of-security for most cryptographic schemes. However, experimental evidence suggests that most NP-hard problems lack this property: they are probably only worst case hard. Many lattice problems have been conjectured or proven to be average-case hard, making them an attractive class of problems to base cryptographic schemes on. Moreover, worst-case hardness of some lattice problems have been used to create secure cryptographic schemes. The use of worst-case hardness in such schemes makes them among the very few schemes that are very likely secure even against quantum computers.

The above lattice problems are easy to solve if the algorithm is provided with a "good" basis. Lattice reduction algorithms aim, given a basis for a lattice, to output a new basis consisting of relatively short, nearly orthogonal vectors. The Lenstra–Lenstra–Lovász lattice basis reduction algorithm (LLL) was an early efficient algorithm for this problem which could output an almost reduced lattice basis in polynomial time.[21] This algorithm and its further refinements were used to break several cryptographic schemes, establishing its status as a very important tool in cryptanalysis. The success of LLL on experimental data led to a belief that lattice reduction might be an easy problem in practice. However, this belief was challenged when in the late 1990s, several new results on the hardness of lattice problems were obtained, starting with the result of Ajtai.[2]

In his seminal papers, Ajtai showed that the SVP problem was NP-hard and discovered some connections between the worst-case complexity and average-case complexity of some lattice problems.[2][3] Building on these results, Ajtai and Dwork created a public-key cryptosystem whose security could be proven using only the worst case hardness of a certain version of SVP,[22] thus making it the first result to have used worst-case hardness to create secure systems.[23]

## References

1. ^ Khot, Subhash (2005). "Hardness of approximating the shortest vector problem in lattices". J. ACM. 52 (5): 789–808. doi:10.1145/1089023.1089027.
2. ^ a b c Ajtai, M. (1996). "Generating hard instances of lattice problems". Proceedings of the twenty-eighth annual ACM symposium on Theory of computing. Philadelphia, Pennsylvania, United States: ACM. pp. 99–108.
3. ^ a b Ajtai, Miklós (1998). "The shortest vector problem in L2 is NP-hard for randomized reductions". Proceedings of the thirtieth annual ACM symposium on Theory of computing. Dallas, Texas, United States: ACM. pp. 10–19.
4. ^ van Emde Boas, Peter (1981). "Another NP-complete problem and the complexity of computing short vectors in a lattice". Technical Report 8104. University of Amsterdam, Department of Mathematics, Netherlands.
5. ^ Peikert, Chris (2009). "Public-key cryptosystems from the worst-case shortest vector problem: extended abstract". Proceedings of the 41st annual ACM symposium on Theory of Computing. Bethesda, MD, USA: ACM. pp. 333–342.
6. ^ Micciancio, Daniele; Goldwasser, Shafi (2002). Complexity of Lattice Problems. Springer.
7. ^ Goldreich, O.; et al. (1999). "Approximating shortest lattice vectors is not harder than approximating closest lattice vectors". Inf. Process. Lett. 71 (2): 55–61. doi:10.1016/S0020-0190(99)00083-6.
8. ^ Arora, Sanjeev; et al. (1997). "The hardness of approximate optima in lattices, codes, and systems of linear equations". J. Comput. Syst. Sci. 54 (2): 317–331. doi:10.1109/SFCS.1993.366815.
9. ^ Dinur, I.; et al. (2003). "Approximating CVP to Within Almost-Polynomial Factors is NP-Hard". Combinatorica. 23 (2): 205–243. doi:10.1007/s00493-003-0019-y.
10. ^ Fincke, U.; Pohst, M. (1985). "Improved Methods for Calculating Vectors of Short Length in a Lattice, Including a Complexity Analysis". Math. Comp. 44 (170): 463–471. doi:10.1090/S0025-5718-1985-0777278-8.
11. ^ Biglieri, E.; Calderbank, R.; Constantinides, Anthony G.; Goldsmith, A.; Paulraj, A.; Poor, H. V. (2007). MIMO Wireless Communications. Cambridge: Cambridge U. P.
12. ^ Agrell, E.; Eriksson, T.; Vardy, A.; Zeger, K. (2002). "Closest Point Search in Lattices". IEEE Trans. Inf. Theory. 48 (8): 2201–2214. doi:10.1109/TIT.2002.800499.
13. ^ Wang, Ping; Le-Ngoc, Tho (2011). "A List Sphere Decoding Algorithm with Improved Radius Setting Strategies". Wireless Personal Communications. 61 (1): 189–200. doi:10.1007/s11277-010-0018-4.
14. ^ Hassibi, A.; Boyd, S. (1998). "Integer Parameter Estimation in Linear Models with Applications to GPS". IEEE Trans. Sig. Proc. 46 (11): 2938–2952. doi:10.1109/78.726808.
15. ^ Schnorr, C. P. "Factoring integers and computing discrete logarithms via diophantine approximation". Advances in Cryptology: Proceedings of Eurocrypt '91.
16. ^ Ajtai, Miklós; Kumar, Ravi; Sivakumar, D. (2001). "A sieve algorithm for the shortest lattice vector problem". Proceedings of the thirty-third annual ACM symposium on Theory of computing. Hersonissos, Greece: ACM. pp. 601–610.
17. ^ Banaszczyk, W. (1993). "New bounds in some transference theorems in the geometry of numbers". Math. Ann. 296 (1): 625–635. doi:10.1007/BF01445125.
18. ^ Goldreich, Oded; Goldwasser, Shafi (1998). "On the limits of non-approximability of lattice problems". Proceedings of the thirtieth annual ACM symposium on Theory of computing. Dallas, Texas, United States: ACM. pp. 1–9.
19. ^ Aharonov, Dorit; Oded Regev (2005). "Lattice problems in NP ${\displaystyle \cap }$ coNP". J. ACM. 52 (5): 749–765. doi:10.1145/1089023.1089025.
20. ^ Dinur, I.; Kindler, G.; Safra, S. (1998). "Approximating-CVP to within Almost-Polynomial Factors is NP-Hard". Proceedings of the 39th Annual Symposium on Foundations of Computer Science. IEEE Computer Society. p. 99. ISBN 0-8186-9172-7.
21. ^ Lenstra, A. K.; Lenstra, H. W., Jr.; Lovász, L. (1982). "Factoring polynomials with rational coefficients". Math. Ann. 261 (4): 515–534. doi:10.1007/BF01457454.
22. ^ Ajtai, Miklós; Dwork, Cynthia (1997). "A public-key cryptosystem with worst-case/average-case equivalence". Proceedings of the twenty-ninth annual ACM symposium on Theory of computing. El Paso, Texas, United States: ACM. pp. 284–293.
23. ^ Cai, Jin-Yi (2000). "The Complexity of Some Lattice Problems". Algorithmic Number Theory. Lecture Notes in Computer Science. 1838. pp. 1–32. doi:10.1007/10722028_1.