Korkine–Zolotarev lattice basis reduction algorithm

From HandWiki

The Korkine–Zolotarev (KZ) lattice basis reduction algorithm or Hermite–Korkine–Zolotarev (HKZ) algorithm is a lattice reduction algorithm.

For lattices in [math]\displaystyle{ \mathbb{R}^n }[/math] it yields a lattice basis with orthogonality defect at most [math]\displaystyle{ n^n }[/math], unlike the [math]\displaystyle{ 2^{n^2/2} }[/math] bound of the LLL reduction.[1] KZ has exponential complexity versus the polynomial complexity of the LLL reduction algorithm, however it may still be preferred for solving multiple closest vector problems (CVPs) in the same lattice, where it can be more efficient.

History

The definition of a KZ-reduced basis was given by Aleksandr Korkin and Yegor Ivanovich Zolotarev in 1877, a strengthened version of Hermite reduction. The first algorithm for constructing a KZ-reduced basis was given in 1983 by Kannan.[2]

The block Korkine-Zolotarev (BKZ) algorithm was introduced in 1987.[3]

Definition

A KZ-reduced basis for a lattice is defined as follows:[4]

Given a basis

[math]\displaystyle{ \mathbf{B}=\{ \mathbf{b}_1,\mathbf{b}_2, \dots, \mathbf{b}_n \}, }[/math]

define its Gram–Schmidt process orthogonal basis

[math]\displaystyle{ \mathbf{B}^*=\{ \mathbf{b}^*_1, \mathbf{b}^*_2, \dots, \mathbf{b}^*_n \}, }[/math]

and the Gram-Schmidt coefficients

[math]\displaystyle{ \mu_{i,j}=\frac{\langle\mathbf{b}_i,\mathbf{b}^*_j\rangle}{\langle\mathbf{b}^*_j,\mathbf{b}^*_j\rangle} }[/math], for any [math]\displaystyle{ 1 \le j \lt i \le n }[/math].

Also define projection functions

[math]\displaystyle{ \pi_i(\mathbf{x}) = \sum_{j \geq i} \frac{\langle\mathbf{x},\mathbf{b}^*_j\rangle}{\langle\mathbf{b}^*_j,\mathbf{b}^*_j\rangle} \mathbf{b}^*_j }[/math]

which project [math]\displaystyle{ \mathbf{x} }[/math] orthogonally onto the span of [math]\displaystyle{ \mathbf{b}^*_i, \cdots, \mathbf{b}^*_n }[/math].

Then the basis [math]\displaystyle{ B }[/math] is KZ-reduced if the following holds:

  1. [math]\displaystyle{ \mathbf{b}^*_i }[/math] is the shortest nonzero vector in [math]\displaystyle{ \pi_i(\mathcal{L}(\mathbf{B})) }[/math]
  2. For all [math]\displaystyle{ j \lt i }[/math], [math]\displaystyle{ \left|\mu_{i,j}\right| \leq 1/2 }[/math]

Note that the first condition can be reformulated recursively as stating that [math]\displaystyle{ \mathbf{b}_1 }[/math] is a shortest vector in the lattice, and [math]\displaystyle{ \{\pi_2(\mathbf{b}_2), \cdots \pi_2(\mathbf{b}_n)\} }[/math] is a KZ-reduced basis for the lattice [math]\displaystyle{ \pi_2(\mathcal{L}(\mathbf{B})) }[/math].

Also note that the second condition guarantees that the reduced basis is length-reduced (adding an integer multiple of one basis vector to another will not decrease its length); the same condition is used in the LLL reduction.

Notes

  1. https://sites.math.washington.edu/~rothvoss/lecturenotes/IntOpt-and-Lattices.pdf, pp. 18-19
  2. Zhang et al 2012, p.1
  3. Yasuda, Masaya (2021). "A Survey of Solving SVP Algorithms and Recent Strategies for Solving the SVP Challenge". International Symposium on Mathematics, Quantum Theory, and Cryptography. Mathematics for Industry. 33. pp. 189–207. doi:10.1007/978-981-15-5191-8_15. ISBN 978-981-15-5190-1. https://link.springer.com/chapter/10.1007/978-981-15-5191-8_15. 
  4. Micciancio & Goldwasser, p.133, definition 7.8


References

  • Wen, Jinming; Chang, Xiao-Wen (2018). On the KZ Reduction.