
TL;DR
This paper analyzes properties of KZ reduced matrices, proposes tighter bounds on their characteristics, and introduces a faster, more reliable KZ reduction algorithm especially effective for ill-conditioned matrices.
Contribution
The paper provides new theoretical bounds on KZ reduced matrices and develops a novel, more efficient KZ reduction algorithm with improved numerical stability.
Findings
New upper bounds on Hermit and KZ constants.
Polynomially and exponentially smaller bounds on matrix properties.
Faster, more reliable KZ reduction algorithm for ill-conditioned matrices.
Abstract
The Korkine-Zolotareff (KZ) reduction is one of the often used reduction strategies for lattice decoding. In this paper, we first investigate some important properties of KZ reduced matrices. Specifically, we present a linear upper bound on the Hermit constant which is around times of the existing sharpest linear upper bound, and an upper bound on the KZ constant which is {\em polynomially} smaller than the existing sharpest one. We also propose upper bounds on the lengths of the columns of KZ reduced matrices, and an upper bound on the orthogonality defect of KZ reduced matrices which are even {\em polynomially and exponentially} smaller than those of boosted KZ reduced matrices, respectively. Then, we derive upper bounds on the magnitudes of the entries of any solution of a shortest vector problem (SVP) when its basis matrix is LLL reduced. These upper bounds are useful…
| 1 | 2 | 4 |
| | ||||||||
|---|---|---|---|---|---|---|---|---|
| | |
| | ||||||||
|---|---|---|---|---|---|---|---|---|
| | |
| 1 | 8 | 16 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsCoding theory and cryptography · DNA and Biological Computing · Error Correcting Code Techniques
On the KZ Reduction
Jinming Wen and Xiao-Wen Chang This work was presented in part at the IEEE International Symposium on Information Theory (ISIT 2015), Hongkong.J. Wen is with the College of Information Science and Technology and the College of Cyber Security, Jinan University, Guangzhou, 510632, China (e-mail: [email protected]). Part of this work was done while this author was a Ph.D student under the supervision of the second author at McGill University.X.-W. Chang is with The School of Computer Science, McGill University, Montreal, QC H3A 0E9, Canada (e-mail: [email protected]).This work was partially supported by NSERC of Canada grant 217191-17, National Natural Science Foundation of China (No. 11871248), “the Fundamental Research Funds for the Central Universities” (No. 21618329) and the postdoc research fellowship from Fonds de Recherche Nature et Technologies.
Abstract
The Korkine-Zolotareff (KZ) reduction is one of the often used reduction strategies for lattice decoding. In this paper, we first investigate some important properties of KZ reduced matrices. Specifically, we present a linear upper bound on the Hermit constant which is around times of the existing sharpest linear upper bound, and an upper bound on the KZ constant which is polynomially smaller than the existing sharpest one. We also propose upper bounds on the lengths of the columns of KZ reduced matrices, and an upper bound on the orthogonality defect of KZ reduced matrices which are even polynomially and exponentially smaller than those of boosted KZ reduced matrices, respectively. Then, we derive upper bounds on the magnitudes of the entries of any solution of a shortest vector problem (SVP) when its basis matrix is LLL reduced. These upper bounds are useful for analyzing the complexity and understanding numerical stability of the basis expansion in a KZ reduction algorithm. Finally, we propose a new KZ reduction algorithm by modifying the commonly used Schnorr-Euchner search strategy for solving SVPs and the basis expansion method proposed by Zhang et al. Simulation results show that the new KZ reduction algorithm is much faster and more numerically reliable than the KZ reduction algorithm proposed by Zhang et al., especially when the basis matrix is ill conditioned.
Index Terms:
KZ reduction, Hermit constant, KZ constant, orthogonality defect, shortest vector problem, Schnorr-Euchner search algorithm, numerical stability.
I Introduction
Given a full column rank matrix , the lattice generated by is defined by
[TABLE]
The columns of form a basis of and is said to be the dimension of . For any , has infinitely many bases and any of two are connected by a unimodular matrix (i.e., satisfies ). More precisely, for each given lattice basis matrix , is also a basis matrix of if and only if is unimodular (see, e.g., [1]).
The process of selecting a good basis for a given lattice, given some criterion, is called lattice reduction. In many applications, it is advantageous if the basis vectors are short and close to be orthogonal [1]. For more than a century, lattice reduction has been investigated by many people and several types of reductions, such as the KZ reduction [2], the Minkowski reduction [3], the LLL reduction [4] and Seysen’s reduction [5], have been proposed.
Lattice reduction plays a crucial role in many areas, such as communications (see, e.g., [6] [1] [7]), GPS (see, e.g., [8]), cryptography (see, e.g., [9, 10, 11, 12]), number theory (see, e.g., [13] [14]), etc. For more details, see the survey paper [7] and the references therein. Often in these applications, a closest vector problem (CVP) (also referred to as an integer least squares problem, see, e.g., [15]) or a shortest vector problem (SVP) needs to be solved:
[TABLE]
[TABLE]
In communications, CVP and SVP are usually solved by the sphere decoding approach. Typically, this approach consists of two steps. In the first step, a lattice reduction, such as the LLL reduction and KZ reduction, is often used to preprocess the problems by reducing or (here , the Moore-Penrose generalized inverse of , is a basis matrix of the dual lattice of ). Then, in the second step, a search algorithm, typically the Schnorr-Euchner search strategy [16], which is an improvement of the Fincke-Pohst search strategy [17], is used to enumerate the integer vectors within a hyper-ellipsoid sphere (or equivalently, the lattice points within a hypersphere). The first step, which is also called as a preprocessing step, is carried out to make the second step faster (see, e.g., [15] [18]).
One of the most commonly used lattice reductions is the LLL reduction. Although the worst-case complexity of the LLL reduction for reducing real lattices is not even finite [19], the average complexity of reducing a matrix , whose entries independent and identically follow the Gaussian distribution, is a polynomial of the rank of ( [19], [20]). Furthermore, the LLL reduction is a polynomial time algorithm for reducing integer lattices (see [4], [21]). In addition to being used as a preprocess tool in sphere decoding, the LLL reduction is frequently used to improve the detection performance of some suboptimal detectors in communications [15] [22] [23].
In some communication applications, one needs to solve a sequence of CVPs, where ’s are different, but ’s are identical. In this case, instead of using the LLL reduction, one usually uses the KZ reduction to do reduction. The reason is that although the KZ reduction is computationally more expensive than the LLL reduction, the second step of the sphere decoding, which usually dominates the whole computational costs, becomes more efficient. In addition to the above application, the KZ reduction has applications in solving subset sum problems [16]. Moreover, it has recently been used in integer-forcing linear receiver design [24] and successive integer-forcing linear receiver design [25].
Some important properties of the KZ reduced matrices have been studied in [26] and [27]. For example, a quantity called the KZ constant was introduced in [26] to quantify the quality of the KZ and block KZ reduced matrices, and an upper bound on the KZ constant was given in the same paper. Upper bounds on the lengths of the columns and on the orthogonality defect of KZ reduced matrices were developed in [27].
There are various KZ reduction algorithms [28, 29, 26, 1, 30]. All of these KZ reduction algorithms involve solving SVPs and basis expansion. Among them, the one in [30], which uses floating point arithmetic, is the state-of-the-art and is more efficient than the rest. As in [1], for efficiency, the LLL reduction is employed to preprocess the SVPs and then the Schnorr-Euchner search algorithm [16] is used to solve the preprocessed SVPs in [30]. But instead of using Kannan’s basis expansion method, which was used in [29] and [1], it uses a new more efficient basis expansion method. However, the algorithm has some drawbacks. Its reduction process is slow and it is not numerically reliable in producing a KZ reduced lattice basis, especially when the basis matrix is ill-conditioned.
In this paper, we investigate some properties of KZ reduced matrices and propose an improved KZ reduction algorithm to address the drawbacks of the algorithm presented in [30]. The main contributions of this paper are summarized in the following:
- •
Some important properties of a KZ reduced matrix are studied in this paper. Specifically, we first propose a linear upper bound on the Hermit constant, which is around times of the existing sharpest one that was recently presented in [31, Thm. 3.4]. Then, we develop an upper bound on the KZ constant which is polynomially smaller than the bound given by [32, Thm. 4]. Furthermore, upper bounds on the lengths of the columns of a KZ reduced triangular matrix are also presented, which are even polynomially smaller than those of a boosted KZ reduced matrix given in [33, eq.s (11-12)]. Finally, an upper bound on the orthogonality defect of a KZ reduced matrix is provided, which is even exponentially smaller than the one on the orthogonality defect of a boosted KZ reduced matrix given in [33, eq. (13)].
- •
A simple example is given to show that the entries of a solution of a general SVP can be arbitrary large. When the basis matrix of an SVP is LLL reduced, an upper bound on the magnitude of each entry of a solution of the SVP is derived. It is sharper than the one given in our conference paper [34], which did not give a proof due to the space limitation. The bound is not only interesting in theory, but also useful for bounding the complexity of the basis expansion, an important step in the KZ reduction process. Furthermore, it provides a theoretical explanation for good numerical stability of our modified basis expansion method (to be mentioned later).
- •
An improved Schnorr-Euchner search algorithm for solving an SVP is proposed. Combining this method with our modified basis expansion method proposed in out conference paper [34] results in an improved KZ reduction algorithm. Numerical results indicate that the new algorithm is much more efficient and numerically reliable than the one proposed in [30].
The rest of the paper is organized as follows. In Section II, we introduce the LLL and KZ reductions. In Section III, we investigate some vital properties of the KZ reduced matrices. An improved KZ reduction algorithm is presented in Section V. Some simulation results are given in Section VI to show the efficiency and numerical reliability of our new algorithm. Finally, we summarize this paper in Section VII.
Notation. Let and be the spaces of -dimensional column real vectors and integer vectors, respectively. Let and be the spaces of real matrices and integer matrices, respectively. Boldface lowercase letters denote column vectors and boldface uppercase letters denote matrices, e.g., and . Let denote the set of real matrices with rank . For , we use to denote its nearest integer vector, i.e., each entry of is rounded to its nearest integer (if there is a tie, the one with smaller magnitude is chosen), and use to denote the 2-norm of . For a matrix , we use to denote its entry, use to denote the subvector of column with row indices from to and use to denote the submatrix containing elements with row indices from to and column indices from to . Let denote the -th column of an identity matrix , whose dimension depends on the context. For , we denote . For two matrices , the inequality means for all and .
II LLL and KZ reductions
In this section, we briefly introduce the KZ reduction. But we first introduce the LLL reduction, which is employed to accelerate the process of solving SVPs, the key steps of a KZ reduction algorithm.
Let in (1) have the following QR factorization (see, e.g., [35, Chap. 5])
[TABLE]
where is orthogonal and is nonsingular upper triangular, and they are referred to as the Q-factor and the R-factor of , respectively.
With (4), the LLL reduction [4] reduces in (4) to via
[TABLE]
where is orthogonal, is unimodular and is upper triangular and satisfies the conditions: for ,
[TABLE]
where is a parameter satisfying The matrix is said to be LLL reduced (or equivalently is said to be LLL reduced) and the equations (6) and (7) are respectively referred to as the size-reduced condition and the Lovász condition.
Similar to the LLL reduction, after the QR factorization of (see (4)), the KZ reduction reduces in (4) to through (5), where satisfies (6) and
[TABLE]
Then is said to be KZ reduced. If ’s R-factor in (4) satisfies (6) and (8), i.e., they hold with replaced by , then is already KZ reduced. Note that if a matrix is KZ reduced, it must be LLL reduced for .
Combing (4) with (5), one yields
[TABLE]
Since both and are orthogonal matrices, by letting , the SVP (3) can be transformed to
[TABLE]
Let be a solution of the SVP (9), then is a solution of the SVP (3).
III Some properties of the KZ reduced matrices
In this section, we investigate some properties of KZ reduced matrices. Specifically, we present a linear upper bound on the Hermite constant, an upper bound on the KZ constant, upper bounds on the lengths of the columns of the KZ reduced matrices, and an upper bound on the orthogonality defect.
III-A A linear upper bound on the Hermite constant
Let denote the length of a shortest nonzero vector in , i.e.,
[TABLE]
then the Hermite constant is defined as
[TABLE]
The exact values of are only known for [36] and [37], which are summarized in Table I.
However, there are some upper bounds on for general . The most well-known upper bound is probably the one obtained by Blichfeldt [38]:
[TABLE]
where is a Gamma function. For some applications, a linear upper bound on is useful. For example, the inequality (for ) [27] has been used to derive upper bounds on the lengths of the columns of the KZ reduced matrices in [27, Proposition 4.2] and on the lengths of the columns and the orthogonality defect of the boosted KZ reduced matrices in [33, Proposition 4 and eq. (13)]. The inequality (for ), which is given in [39, p35] without a proof, has been used to derive upper bounds on the proximity factors of successive interference cancellation (SIC) decoding in [30, eq.s (41-42)].
The most recent result is
[TABLE]
which is presented in [31]. It is stated in [31, Thm. 3.4] that this bound can be proved by combining (10) and the fact that the inequality holds for [40]. But no detailed proof is given there. In the following we give a new linear upper bound, which will be used to study some properties of the KZ reduction in the rest subsections.
Theorem 1**.**
For ,
[TABLE]
Proof.
Since the proof is a little long, we put it in Appendix A. ∎
Notice that our new linear bound (12) is sharper than (11) when . When , the latter is sharper than the former, but the difference between them is small. By Stirling’s approximation, the asymptotic value of the right-hand side of (10) is . Thus, the linear bound given in (12) is very close to it. In fact, our linear bound (12) is very close to Blichfeldt’s bound (10) not only for large , but also for small . This can be clearly seen from Figure 1, which displays the ratio of our new linear bound in (12) to Blichfeldt’s bound in (10) for .
Remark 1**.**
The following lower bound on the decoding radius of the LLL-aided SIC decoder is given in [41, Lemma 1]:
[TABLE]
where is the parameter of the LLL reduction (see (7)). By using Table I and Theorem 1, we can straightforwardly get a tighter lower bound for each :
[TABLE]
Note that the decoding radius of the LLL-aided SIC decoder is the largest radius of the noise vector in the linear model such that the decoder can correctly return , provided that . For more details, see [41].
III-B An upper bound on the KZ constant
In [26], the KZ constant is defined to quantify the quality of the KZ (and block KZ) reduced matrices. Mathematically, for -dimensional lattices can be expressed as
[TABLE]
where denotes the set of all KZ reduced matrices with full column rank, and and are the first and last diagonal entries of the R-factor of (see (4)), respectively. Note that for .
The KZ constant can be used to bound the proximity factors (see [42, Sec. V-B]) and the lengths of the column vectors of the R-factors of KZ reduced matrices (see [27, Prop. 4.2]).
Schnorr showed that for [26, Cor. 2.5] and asked whether . Ajtai gave a negative answer to this problem by showing that there is an such that [43]. Hanrot and Stehlé proved that [32, Thm. 4]
[TABLE]
Our new upper bound on the KZ constant is stated as follows.
Theorem 2**.**
The KZ constant satisfies
[TABLE]
where
[TABLE]
Proof.
Since the proof is long, we put it in Appendix B. ∎
Now we compare the first upper bound on in (14) with the new one in (15). When ,
[TABLE]
where (a) follows from the fact that is a decreasing function of when , and (b) is obtained by [44, eq. (3)]. Hence, for , the ratio of the two upper bounds on satisfy
[TABLE]
By Table II and some simple calculations, one can easily check that (III-B) also hold for . Thus the new bound in (15) is polynomially sharper than the first upper bound in (14).
In the following we make some remarks about applications of Theorem 2.
Remark 2**.**
By utilizing Theorem 2, we can obtain upper bounds on the proximity factors of the KZ-aided SIC and zero forcing (ZF) decoders, which are much sharper than the best existing ones given by [42, eq.s (41) and (45)]. Specifically, the inequalities
[TABLE]
can be respectively replaced by
[TABLE]
where is defined in Table II and (16). Since the derivations are straightforward, we omit them.
Remark 3**.**
By using Theorem 2, one can give a lower bound on the decoding radius of the KZ-aided SIC decoder:
[TABLE]
where is defined in Table II and (16). The derivation is similar to that for deriving [41, Lemma 1], so we omit it.
In addition to the applications mentioned in Remarks 2 and 3, Theorem 2 will also be used to upper bound the diagonal entries and the lengths of the column vectors of the R-factors of KZ reduced matrices in the next subsection.
III-C Sharper bounds for the KZ reduced matrices
A lattice reduction on a basis matrix is to reduce the lengths of columns and increase the orthogonality of columns. Thus it is interesting to obtain bounds on the lengths of the columns of the reduced basis matrix. Results have been obtained for various reductions, e.g., [4, Props. 1.6, 1.11, 1.12] for the LLL reduction, [27, Prop. 4.2] for the KZ reduction and [33, Prop. 4] for the boosted KZ reduction. In this subsection, we present new bounds for the KZ reduction, which are significantly sharper than those in [27, Prop. 4.2].
Theorem 3**.**
Suppose that is KZ reduced and its R-factor is the matrix in (4). Then
[TABLE]
and more generally
[TABLE]
where is defined in Table II and (16), and is defined as follows:
[TABLE]
for .
Proof.
By the definition of in (13) and its upper bound (15) given in Theorem 2, we can see that (18) holds.
Since is KZ reduced, so are for . Then according to (18), (19) holds.
In the following, we prove (20). The case is obvious. We now assume . Since is KZ reduced, satisfies (6). Then, using (6) and (19), we have
[TABLE]
Set for . Then we use Table II to calculate , leading to Table III (notice that each computed value has been rounded up to three decimal digits).
Now we show that (20) holds for . In fact,
[TABLE]
where in deriving the inequality we used (16). ∎
Remark 4**.**
A variant of the KZ reduction called boosted KZ reduction was recently proposed in [33]. Specifically, is said to be boosted KZ reduced if its R-factor satisfies (8) with replaced by and the following condition
[TABLE]
for , i.e., cannot be reduced anymore by using . Suppose that and are respectively the KZ and boosted KZ reduced triangular matrices reduced from the original matrix , then by the definitions of the KZ and boosted KZ reductions, we can see that
[TABLE]
Thus, the boosted KZ reduction is stronger than the KZ reduction in shortening the lengths of the basis vectors. Then it is easy to see from the definitions of boosted KZ reduction and KZ reduction that if is boosted KZ reduced, (18)-(20) also hold.
For a boosted KZ reduced , the following bounds were presented in [33, eq. (11)] and [33, eq. (12)]), respectively:
[TABLE]
From the proof for the above two bounds given in [33] we can see that they also hold when is KZ reduced because the proof used the inequality , which holds for both KZ reduced and boosted KZ reduced , see (22). Note that (23) and (24) significantly outperform the following upper bounds obtained in [27, Prop. 4.2] for a KZ reduced :
[TABLE]
In the following we compare our bounds (18) and (20) in Theorem 3 with (23) and (24), respectively. By (16), for , we have
[TABLE]
Thus, for , the ratio of the two upper bounds in (23) and (18) satisfies
[TABLE]
This indicates that the upper bound in (18) is much sharper than that in (23).
By (21), for , we have
[TABLE]
Thus, for , the ratio of the two upper bounds in (24) and (20) satisfies
[TABLE]
Hence, the upper bound in (20) is much sharper than that in (24).
III-D A sharper bound on the orthogonality defect of KZ reduced matrices
One goal of performing a lattice reduction on a basis matrix is to get a reduced basis matrix whose columns are as short as possible and as orthogonal as possible, thus the orthogonality defect of the reduced matrices is a good measure of the quality of the reduction.
Let be a basis matrix of a lattice. Its orthogonality defect is defined as
[TABLE]
In this following, we give an upper bound on the orthogonality defect of a KZ reduced matrix.
Theorem 4**.**
Suppose that is KZ reduced, then
[TABLE]
where
Proof.
By [27, Thm. 2.3], we have
[TABLE]
Thus
[TABLE]
Then with given in Table I for and in (12) for , we immediately obtain (26) with given in Table IV. ∎
Remark 5**.**
It was shown in [33] (see eq.(13) there) that for a boosted KZ reduced matrix
[TABLE]
which is obtained based on Minkowski’s second theorem (see, e.g., [45, VIII.2]) and [33, Prop. 3]. As explained in Remark 4, the boosted KZ reduction is stronger than the KZ reduction in shortening the lengths of the columns of the basis matrix. Thus, the orthogonality defect of the matrix obtained by performing the boosted KZ reduction on a basis matrix is not larger than that of the matrix obtained by performing the KZ reduction on the same basis matrix. However, from (26)-(27) and Table IV, one can see that the new upper bound on is about times as small as that in (27).
IV Upper bounds on the solution of the SVP
In this section, we first give a simple example to show that some entries of the solution of a general SVP can be arbitrarily large. Then, we prove that when the basis matrix of an SVP is LLL reduced, all the entries of the solutions are bounded by using a property of the LLL reduced upper triangular matrix. The bounds are not only interesting in theory, but also useful in analyzing the complexity of the basis expansion in the KZ reduction algorithm (more details can be found in Sec. V-B).
The following example shows that the entries of the solution to a general SVP can be arbitrarily large.
Example 1**.**
Let with . Then, for any nonzero ,
[TABLE]
It is easy to show that . In fact, if , then and ; otherwise, . Take , then . Thus this is a solution to the SVP (9). Since can be arbitrarily large, this is unbounded.
When is LLL reduced, however, we can show that all the entries of any solution to the SVP (9) are bounded. Before showing that, we present the following lemma which gives an important property of an upper triangular matrix that is size reduced.
Lemma 1**.**
Let , where is an diagonal matrix with , and let be an upper triangular matrix with
[TABLE]
Suppose that is size reduced, i.e., (6) holds, then
[TABLE]
This lemma is essentially the same as [42, Lemma 2] and is a special case of the result given in the proof of [46, Thm. 3.2], which was easily derived by using the results given in [47, Sec.s 8.2 and 8.3]. Since its proof can be found in [42], we omit its proof.
Here we make a remark. As essentially noticed in [42] (see also [47, eq. (8.4)]), if , then for and the upper bound (29) is attainable.
With Lemma 1, we can prove the following theorem which shows that all the entries of any solution of an SVP, whose basis matrix is LLL reduced, are bounded.
Theorem 5**.**
Let be a solution of (9), where is LLL reduced, then
[TABLE]
where
[TABLE]
with being the parameter in the LLL reduction (see (7)).
Proof.
Since is LLL reduced, by (6) and (7), we have
[TABLE]
Then with (31),
[TABLE]
Therefore,
[TABLE]
which will be used later.
Since is a solution of (9),
[TABLE]
Notice that
[TABLE]
where and are defined in Lemma 1. Then by the Cauchy-Schwarz inequality and Lemma 1, we have
[TABLE]
[TABLE]
Then from (33) and (34), we obtain
[TABLE]
completing the proof. ∎
The above theorem shows that when the basis matrix is LLL reduced, all the entries of any solution to (9) are bounded and the bounds in (30) depend on only the LLL reduction parameter and the dimension . The bounds are useful not only for analyzing the complexity of the basis expansion algorithm (see Sec. V) which is a key component of the KZ reduction algorithm in [30], but also for understanding the advantages of our new KZ reduction algorithm to be proposed in the next section.
Although the upper bound (29) is attainable, we cannot construct an LLL reduced upper triangular matrix such that the bounds in (30) are reached for all . In fact, the first inequality in (33) becomes an equality if and only if and are linearly dependent, which is impossible for all as .
V An improved KZ reduction algorithm
In this section, we develop an improved KZ reduction algorithm which is much faster and more numerically reliable than that in [30], especially when the basis matrix is ill conditioned.
V-A The KZ reduction algorithm in [30]
From the definition of the KZ reduction, the reduced matrix satisfies both (6) and (8). If in (5) satisfies (8), then we can easily apply size reductions to such that (6) holds. Thus, in the following, we will only show how to obtain such that (8) holds.
The algorithm needs steps. Suppose that at the end of step , one has found an orthogonal matrix , a unimodular matrix and an upper triangular such that
[TABLE]
and
[TABLE]
At step , as [1], [30] uses the LLL reduction aided Schnorr-Euchner search algorithm to solve the SVP to get :
[TABLE]
Then, [30] uses a new basis expansion algorithm to update to an orthogonal , to an upper triangular , and to a unimodular matrix such that
[TABLE]
and
[TABLE]
At the end of step , we get , which is just in (5) that satisfies (8). Then, with , we can conclude that (8) holds.
Mathematically, the basis expansion algorithm in [30] first constructs a unimodular matrix whose first column is , i.e.,
[TABLE]
and then finds an orthogonal matrix to bring back to an upper triangular matrix , i.e., they satisfy
[TABLE]
Let
[TABLE]
Then is orthogonal, is upper triangular and is unimodular. Furthermore, by (35) and the above four equalities, one can see that (38) and (39) hold.
In the following, we introduce the process in [30] to obtain in (40). Since satisfies (37), the greatest common divisor of all of its entries is , i.e.,
[TABLE]
Thus, the basis expansion algorithm in [30] finds to transform to by eliminating the entries of one by one from the last one to the second one. Specifically, if one wants to annihilate from . One can first use the extended Euclid algorithm to find two integers and such that , where . Then one use to left multiply to annihilate (specifically, one obtains ), where the unimodular is defined as
[TABLE]
Based on the above explanations, the basis expansion Algorithm and the KZ reduction algorithm in [30] can be described in Algorithms 1 and 2.
V-B *An improved KZ reduction algorithm *
In this subsection, we propose a new KZ reduction algorithm, which is much faster and more numerically reliable than Algorithm 2, by modifying the Schnorr-Euchner search algorithm and Algorithm 1.
First, we modify the Schnorr-Euchner search algorithm. By (9), one can easily see that if is a solution to (9), then so is . Thus, to speed up the search, we only need to search the candidates with . This observation was used in [48] for integer-forcing MIMO receiver design, which involves solving an SVP. Here we propose to extend the idea. Note that if the solution of (9) satisfies for some , then for efficiency, we only need to search the candidates with . In this paper, we use this observation to speed up the Schnorr-Euchner algorithm.
Then, we make a simple modification to Algorithm 2. At step , if (see (37)), then obviously Algorithm 1 is not needed and we can move to step . Later we will come back to this observation.
In the following, we will make some major modifications. But before doing it, we introduce the following basic fact: for any two integers and , the time complexity of finding two integers and such that by the extended Euclid algorithm is bounded by if fixed precision is used [49].
In Algorithm 2, after finding (see (37)), Algorithm 1 is used to expand to a basis for the lattice . There are some drawbacks with this approach.
- •
Sometimes, especially when is ill-conditioned, some of the entries of may be very large such that they are beyond the range of consecutive integers in a floating point system (i.e., integer overflow occurs), which is very likely resulting in wrong results. Even if integer overflow does not occur in storing , large may cause the problem that the computational cost of the extended Euclid algorithm is high according to its complexity result we just mentioned before.
- •
The second problem is that updating and in lines 4 and 5 of Algorithm 1 may cause numerical issues. Large and are likely to produce large elements in . As a result, integer overflow may occur in updating , and large rounding errors are likely to occur in updating .
- •
Finally, is likely to become more ill-conditioned after the updating, making the search process for solving SVPs in later steps expensive.
In order to deal with the large issue, we look at line 4 in Algorithm 2, which uses the LLL reduction-aided Schnorr-Euchner search algorithm to solve the SVP. Specifically at step , to solve (37), the LLL reduction algorithm is applied to :
[TABLE]
where is orthogonal, is unimodular and is LLL-reduced. Then, one solves the reduced SVP:
[TABLE]
The solution of the original SVP (37) is . We will use the improved Schnorr-Euchner search algorithm to solve the SVPs.
Instead of expanding as done in Algorithm 2, we propose to expand to a basis for the lattice . Unlike in (37), which can be arbitrarily large, in (43) is bounded (see Theorem 5).
Thus, before doing the expansion, we update and by using the LLL reduction (42):
[TABLE]
Then we do basis expansion.
Now we discuss the advantages of our modifications.
- •
First, the improved Schnorr-Euchner search strategy algorithm is more efficient than the original one, for more details, see the numerical simulations in Section VI-A.
- •
Second, we expand to a basis for the lattice , and do not transfer back to as Algorithm 2 does, i.e., we do not compute , which can reduce some computational costs.
- •
Third, since is LLL reduced, it has a very good chance, especially when is well-conditioned and is small (say, smaller than 20), that (see (43)). This was observed in our simulations. As we stated before, the basis expansion is not needed in this case and we can move to next step which reduces some computational costs.
- •
Finally, the entries of are bounded according to Theorem 5, but the entries of may not be bounded (see Example 1). Our simulations indicated that the magnitudes of the former are smaller or much smaller than those of the latter. Thus, the problems with using for basis expansion mentioned before can be significantly mitigated by using instead. Furthermore, by the complexity result of the extended Euclid algorithm that we mentioned in the above, the computational costs of the basis expansion can also be reduced.
In the following, we make some further improvements. From Algorithm 1, one can see that this basis expansion algorithm finds a sequence of 2 by 2 unimodular matrices in the form of (41) to eliminate the entries of from the last one to the second one. Note that for any fixed (see line 1), if , lines 2-7 do not need to be performed and we only need to move to the next iteration. In our simulations we noticed that (see (43)) often has a lot of zeros, and the above modification to the basis expansion algorithm can reduce the computational cost.
Based on the above discussions, we now present an improved KZ reduction algorithm in Algorithm 3.
V-C A concrete example
As stated in the above subsection, Algorithm 2 has numerical issues. In this subsection, we give an example to show that Algorithm 2 may not even give an LLL reduced matrix (for ), while Algorithm 3 does.
Example 2**.**
Let
[TABLE]
Applying Algorithm 2 gives
[TABLE]
It is easy to check that is not LLL reduced (for ). In fact, . Moreover, the matrix obtained by Algorithm 2 is not unimodular since its determinant is , which was precisely calculated by Maple. The reason for this is that is ill conditioned (its condition number in the 2-norm is about ) and some of the entries of (see (37)) are too large, causing inaccuracy in updating and integer overflow in updating (see lines 4-5 in Algorithm 1).
Applying Algorithm 3 to gives
[TABLE]
Although we cannot verify that is KZ reduced, we can verify that indeed it is LLL reduced. All of the solutions of the four SVPs are (note that the dimensions are different). Thus, no basis expansion is needed.
VI Numerical tests
In this section, we do numerical tests to show the efficiencies of the improved Schnorr-Euchner search algorithm and the improved KZ reduction algorithm by using the following two classes of matrices.
- •
Case 1. is a real transformation version of the Rayleigh-fading channel matrix see, e.g., [50]. Specifically, let , where is a Matlab built-in function, then
[TABLE]
- •
Case 2. is a real transformation version of the doubly correlated Rayleigh-fading channel matrices, see, e.g., [51] [52]. Specifically, let , where means , and both and are matrices with and for , where and are uniformly distributed over . Then has the form of (47).
The numerical tests were done by Matlab 2016b on a desktop computer with Intel(R) Core(TM) i7-4790 CPU @ 3.60 GHz. The Matlab code for Algorithm 2 was provided by Wen Zhang, one of the authors of [30]. The parameter in the LLL reduction was chosen to be 0.99.
VI-A * Comparison of the Search Strategies*
In this subsection, we do numerical simulations to compare the efficiencies of the original Schnorr-Euchner search algorithm developed in [16], the improved one given in [48] and our modified one proposed in Section V-B by comparing the number of flops used by them. These three search algorithms will be respectively denoted by “SE-Original”, “SE-DKWZ” and “SE-Improved” in the two figures to be given in this subsection.
In the tests, for each case, for each fixed , we gave 200 runs to generate 200 different ’s, resulting in 200 SVPs in the form of (3). Then, for each generated SVP, we use the LLL reduction to reduce the SVP (3) to (9) (see (4) and (5)). Finally, we respectively solve these reduced SVPs (9) by using the three search algorithms. Figures 2 and 3 display the average number of flops taken by the three algorithms for solving those 200 reduced SVPs (9) versus for Cases 1 and 2, respectively.
From Figures 2 and 3, we can see that “SE-Improved” is much more efficient than “SE-DKWZ” which is a little bit faster than “SE-Original” for both cases.
VI-B * Comparison of the KZ reduction algorithms*
In this subsection, we give numerical test results to compare the efficiencies of the proposed KZ reduction algorithm (i.e., Algorithm 3) and the KZ reduction algorithm presented in [30] (i.e., Algorithm 2). For simplicity and clarity, the two algorithms will be referred to as “KZ-Modified” and “KZ-ZQW”, respectively.
To see how our new Schnorr-Euchner search algorithm and our new basis expansion method improve the efficiency of “KZ-ZQW” individually, we also compare the two KZ reduction algorithms with the following two KZ reduction algorithms: one is the combination of our improved Schnorr-Euchner search algorithm and the basis expansion method proposed in [30], to be referred to as “KZ-ISE” (where “ISE” stand for “improved Schnorr-Euchner”); and the other is the combination of the Schnorr-Euchner search algorithm proposed in [16] and our improved basis expansion method, which is exactly the one proposed in our conference paper [34] and will be referred to as “KZ-WC”.
In the previous subsection we compared the numbers of flops used by the three algorithms. But here we will compare the CPU time taken by these four algorithms because it is hard to count the flops of the extended Euclid algorithm involved in the basis expansion methods. In our numerical tests, the Matlab built-in function gcd was used to implement the extended Euclid algorithm.
As in the previous subsection, for each case, for each fixed , we gave 200 runs to generate 200 different ’s. We then applied these four algorithms to each . Figures 4 and 5 display the average CPU time of the four algorithms over 200 runs versus for Cases 1 and 2, respectively.
Algorithms “KZ-ZQW” and “KZ-ISE” often did not terminate within two hours when for Case 1 and for Case 2, thus Figures 4 and 5 do not display the corresponding results for and , respectively.
From Figures 4 and 5, we can see that for both cases “KZ-Modified” is faster than “KZ-WC”, which is much more efficient than two other algorithms, especially for large . Furthermore, in our tests we got the following warning message from Matlab for “KZ-ZQW” and “KZ-ISE”: “Warning: Inputs contain values larger than the largest consecutive flint. Result may be inaccurate” for both cases and more often for Case 2 and large . This implies that the results obtained in this circumstance cannot be trusted. But this never happened to “KZ-WC” and “KZ-Modified” in our tests. Thus the latter are more numerically reliable than the former, as we explained in Section V-B.
Figures 4 and 5 also indicate that the impact of our improved basis expansion is more significant than the impact of our improved Schnorr-Euchner search algorithm in accelerating the speed of “KZ-ZQW”.
VII Summary
The KZ reduction has applications in communications and cryptography. In this paper, we have investigated some vital properties of KZ reduced matrices and developed an improved KZ reduction algorithm. We first developed a linear upper bound on the Hermit constant which is around times of the upper bound given by [31, Thm. 3.4], and an upper bound on the KZ constant which is polynomially small than [32, Thm. 4]. We also developed upper bounds on the columns of KZ reduced matrices, and an upper bound on the orthogonality defect of KZ reduced matrices, which are polynomially and exponentially smaller than those of boosted KZ reduced matrices given in [33, eq.s (11-12)] and [33, eq. (13)], respectively. Then, we presented upper bounds on the entries of any solution to an SVP when its basis matrix is LLL reduced, while an example was given to show that the entries can be arbitrarily large if the basis matrix is not LLL reduced. The bounds are useful not only for analyzing the complexity of the extended Euclid algorithm for the basis expansion but also for understanding the advantages of our improved KZ reduction algorithm. Finally, we developed an improved KZ reduction algorithm by modifying the Schnorr-Euchner search strategy and the basis expansion method. Simulation results showed that the new KZ reduction algorithm is much more efficient and more numerically reliable than the one proposed in [30] especially when the bases matrices are ill conditioned.
The block KZ reduction is often used in practice as it is more efficient than the KZ reduction and has better properties than the LLL reduction. Some techniques have been developed to make the block KZ algorithms more efficient recently [53]. We intend to apply the numerical techniques proposed in this paper to this reduction to improve the efficiency and numerical reliability further. We also plan to apply the ideas developed in this paper to obtain tighter bounds for the block KZ reduction.
The Minkowski reduction, which involves solving variants of SVPs and basis expansion, is another important reduction strategy we plan to investigate.
Acknowledgment
We are grateful to the editor Prof. Max Costa and the referees for their valuable and thoughtful suggestions which significantly improve the quality of the paper.
Appendix A Proof of Theorem 1
Proof.
From Table I, (12) holds for . In the following, we assume and prove (12).
By (10), to show (12), it suffices to show
[TABLE]
which is equivalent to
[TABLE]
By [54, Thm. 1.6], for
[TABLE]
Thus,
[TABLE]
Then, to show (48), we only need to show
[TABLE]
which is equivalent to
[TABLE]
for .
By direct calculation, one can check that
[TABLE]
Thus, to show (49), we only need to show that (or equivalently ) is increasing for .
Let and . Then
[TABLE]
The derivative of is given by
[TABLE]
Since for (see, e.g., [44, eq. (3)]), for ,
[TABLE]
Then
[TABLE]
Thus to show is increasing or equivalently when , it suffices to show that is increasing or equivalently when . Note that
[TABLE]
Here the function
[TABLE]
is increasing with when and its value is about at . Thus when , completing the proof. ∎
Appendix B Proof of Theorem 2
To prove Theorem 2, we need the following lemma.
Lemma 2**.**
For and
[TABLE]
Proof.
According to [44, eq. (22)]
[TABLE]
Then, for , we have
[TABLE]
Thus
[TABLE]
∎
In the following, we prove Theorem 2
Proof.
The case is trivial (note that ). We just assume . By the proof of [26, Cor. 2.5], one can obtain that
[TABLE]
For , we use (51) and Table I to obtain the corresponding upper bound on in Table II by direct calculations.
Now we consider the case . From (51), we obtain by using (12) that
[TABLE]
In the following we will establish bounds on the two product terms in the right hand side of (52).
From Table I, we have
[TABLE]
Now we bound the second product term in the right hand side of (52). Applying Theorem 1, we have
[TABLE]
where (a) follows from the fact that is a decreasing function of when , as
[TABLE]
In the following we bound the two terms in the right hand side of (54). Applying Lemma 2, we have
[TABLE]
By direct calculation, we have
[TABLE]
Then combining (52)-(56) we obtain
[TABLE]
∎
Here we make a remark. In the above proof, we partitioned the indices into two parts: and (see (52)). For the first part we used the exact value of and for the second part we used the bound (12) on . If , we could partition the indices into three parts: , and , and then for the second part we can use (11), which is sharper than (12) for this part, as mentioned in Sec. III-A. Then a sharper bound on the KZ constant could be derived. However, the improvement is small and the bound is complicated. Therefore, we chose not to do it.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] E. Agrell, T. Eriksson, A. Vardy, and K. Zeger, “Closest point search in lattices,” IEEE Trans. Inf. Theory , vol. 48, no. 8, pp. 2201–2214, Aug. 2002.
- 2[2] A. Korkine and G. Zolotareff, “Sur les formes quadratiques,” Math. Ann. , vol. 6, no. 3, pp. 366–389, 1873.
- 3[3] H. Minkowski, “Geometrie der zahlen (2 vol.),” Teubner, Leipzig , vol. 1910, 1896.
- 4[4] A. Lenstra, H. Lenstra, and L. Lovász, “Factoring polynomials with rational coefficients,” Math. Ann. , vol. 261, no. 4, pp. 515–534, 1982.
- 5[5] M. Seysen, “Simultaneous reduction of a lattice basis and its reciprocal basis,” Combinatorica , vol. 13, no. 3, pp. 363–376, 1993.
- 6[6] W. H. Mow, “Maximum likelihood sequence estimation from the lattice viewpoint,” IEEE Trans. Inf. Theory , vol. 40, no. 5, pp. 1594–1600, Sept. 1994.
- 7[7] D. Wübben, D. Seethaler, J. Jaldén, and G. Matz, “Lattice reduction,” IEEE Signal Process. Mag. , vol. 28, no. 3, pp. 79–91, May 2011.
- 8[8] A. Hassibi and S. Boyd, “Integer parameter estimation in linear models with applications to GPS,” IEEE Trans. Signal Process. , vol. 46, no. 11, pp. 2938–2952, Nov. 1998.
