Infinity-Norm Permutation Covering Codes from Cyclic Groups
Ronen Karni, Moshe Schwartz

TL;DR
This paper introduces a new construction for permutation covering codes under the infinity norm, leveraging cyclic groups to determine covering radii and develop efficient algorithms for codeword search.
Contribution
It presents a novel code construction using cyclic transitive groups, providing exact covering radii and linear-time algorithms for permutation covering codes.
Findings
Exact covering radius for cyclic transitive groups determined
Linear-time algorithms developed for finding covering codewords
Bounds established for relabeled cyclic groups under conjugation
Abstract
We study covering codes of permutations with the -metric. We provide a general code construction, which uses smaller building-block codes. We study cyclic transitive groups as building blocks, determining their exact covering radius, and showing linear-time algorithms for finding a covering codeword. We also bound the covering radius of relabeled cyclic transitive groups under conjugation.
| -exposed by | ||
|---|---|---|
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
Topicsgraph theory and CDMA systems · Coding theory and cryptography · Cooperative Communication and Network Coding
Infinity-Norm Permutation Covering Codes
from Cyclic Groups
Ronen Karni and Moshe Schwartz, Ronen Karni is with the Department of Electrical and Computer Engineering, Ben-Gurion University of the Negev, Beer Sheva 8410501, Israel (e-mail: [email protected]).Moshe Schwartz is with the Department of Electrical and Computer Engineering, Ben-Gurion University of the Negev, Beer Sheva 8410501, Israel (e-mail: [email protected]).This work was supported in part by the Israel Science Foundation (ISF) grant No. 130/14.
Abstract
We study covering codes of permutations with the -metric. We provide a general code construction, which uses smaller building-block codes. We study cyclic transitive groups as building blocks, determining their exact covering radius, and showing linear-time algorithms for finding a covering codeword. We also bound the covering radius of relabeled cyclic transitive groups under conjugation.
Index Terms:
covering codes, -metric, relabeling, cyclic group
I Introduction
Coding over permutations appears in the literature as early as the works [21, 3]. In a typical setting, the symmetric group of permutations, , is endowed with a distance function, , to create a metric. An error correcting code is then defined as a set , the elements of which are called codewords, such that , for all , . The largest such is called the minimum distance of the code. It is also well known that induces a packing of the space, , by disjoint balls of radius , the packing radius, centered at the codewords.
In this work, we are interested in the dual problem of covering. Instead of packing balls, we are interested in the smallest radius of balls, centered at the codewords, such that their union covers the entire space. This radius is called the covering radius of the code. Equivalently, we are looking for the smallest such that every has a codeword with .
Covering codes over permutations have only recently been studied in depth, starting with the work of [2], and following with [19, 13], all of which only use the Hamming distance over permutations. In [2], the exact size of covering codes over and covering radius is found, and bounds are given on the size of covering codes with smaller covering radius. In [13], the authors present a randomized construction for a code and use a certain frequency parameter to bound the covering radius of the code. A survey of error-correcting codes and covering codes over permutations is given in [19].
Motivated by applications to information storage in non-volatile memories, the rank-modulation scheme was recently suggested [10], in which information is stored in the form of permutations. The relevant permutation metrics for this scheme are mainly the -metric and Kendall’s- metric. Thus, we have works studying error-correcting codes [11, 22, 17, 1, 23, 6, 18, 29, 27], Gray codes and snake-in-the-box codes [26, 9, 28, 8, 25], and related combinatorial questions [15, 20, 16].
Covering codes over permutations with the -metric have only been studied in [24, 5]. In [24], various connections between different metrics over permutations were found, thus enabling code construction in the -metric based on codes in other metrics. Additionally, bounds on code parameters were given, which were later improved in [5], together with an explicit direct code construction.
The main contribution of this paper is a generalization of the code construction from [5]. This generalization requires smaller building-block covering codes. We study one such building-block code in detail – a cyclic transitive group of . We derive the exact covering radius of this group, as well as bound its covering radius after relabeling (conjugation). We also provide linear-time covering-codeword algorithm for the codes.
The paper is organized as follows. In Section II we introduce formal definitions and notations used throughout the paper. Section III is devoted to the derivation of the covering radius of the naturally labeled cyclic transitive group. In Section IV we describe the generalized code construction, as well as linear-time algorithms associated with it. We then turn in Section V to studying relabeling of the building-block code and finding bounds on its covering radius. We conclude in Section VI by discussing the results and suggesting open problems.
II Notations and Definitions
For , we denote , as well as . For ease of notation, we write to denote the unique such that divides . We then define the cyclic interval
[TABLE]
The symmetric group of permutations is denoted by . As will be evident later, it is important for us to fix the permuted elements. Thus, a permutation is a bijection between and itself. We shall use either a one-line notation for permutations, where denotes a permutation mapping for all , or a cycle notation where maps for all . If are two permutations, their composition is denoted by , where for all . The identity permutation is denoted by .
The metric of interest in this work is the -metric, sometimes also called the Chebyshev metric. The distance function in this metric, denoted , is defined for all by
[TABLE]
Since this will be the only distance function of interest, we shall drop the subscript and use only . We note that for all , we have . It is well known (e.g., see [4]) that is right invariant (but not left invariant), i.e., for all ,
[TABLE]
A code is simply a subset . Sometimes will also be a subgroup of , in which case we may refer to as a group code. For such a code , and , we define the distance between and by
[TABLE]
The main object of study in this work is now defined.
Definition** 1**
. An covering code is a subset , such that and for all , and is the minimal integer with this property.
Given an covering code , we call the covering radius of . In an asymptotic setting it will be useful to define the rate of the code, and its normalized covering radius by
[TABLE]
The main focus throughout this paper involves cyclic groups. Since the distance function crucially depends on the permuted elements, we need to define a “natural” description of these group. Additionally, to avoid degenerate cases, we shall only examine transitive cyclic groups. We therefore give the following definition.
Definition** 2**
.
For all , the (natural, transitive) cyclic group, denoted , is the group generated by the permutation , i.e.,
[TABLE]
It will additionally be helpful to have a notation for permutations that are close enough to the code. If and , we say is -covered by , and otherwise, we say is -exposed by . If is a code, and is -covered by at least one , i.e., , we say is -covered. Otherwise, is -exposed by every , and we say is -exposed. In the latter case, for every , there exists such that , and we say that the mapping is -exposed by .
III The Covering Radius of the Cyclic Group
In this section we determine the covering radius of the natural transitive cyclic group. This will later be used as a component in a more general construction for covering codes. We first present two bounds on the covering radius, that nearly agree. We then close the small gap to obtain the exact covering radius.
Throughout this section, let denote the natural transitive cyclic group of (1). Since for , we have , we trivially have . Thus, in what follows we focus on .
If is some permutation, a subgroup, and , we define
[TABLE]
Since we will be mainly interested in the case of , we define
[TABLE]
We also define the two sets
[TABLE]
for the bottom and top parts of the range . In these definitions, to keep the notation simple, the dependence on and is implicit. Some simple observations are formalized in the next two lemmas.
Lemma** 3**
.
Let be any permutation, and . If is a transitive group, , then is -exposed if and only if
[TABLE]
Proof:
If (2) holds, since , it follows that every -exposes , hence is -exposed. In the other direction, if is -exposed, then every -exposes some mapping . Since , the claim follows.
Lemma** 4**
.
Let , , and a transitive subgroup, . Then for all ,
[TABLE]
In particular, for , for all , , and ,
[TABLE]
Proof:
Consider the first claim. If , , is -exposed by some , then . Thus, since is transitive and , there are exactly such , proving the claim regarding the size of .
Additionally, when considering , we know . Combining this with the range of we get
[TABLE]
The rest of the claims, involving , , and , are proven symmetrically.
We can now prove an upper bound on the covering radius of .
Lemma** 5**
.
For all , ,
[TABLE]
Proof:
Let be any permutation, and consider any in the range . Using Lemma 4,
[TABLE]
By Lemma 3, if
[TABLE]
then is -covered. The smallest value of that satisfies (4) is
[TABLE]
and since for any that satisfies (4) we have , we obtain the desired bound.
We now move on to a lower bound on the covering radius of .
Lemma** 6**
.
For all , ,
[TABLE]
Proof:
By simple inspection, , agreeing with the claim. We therefore focus on the remaining case of . For convenience we define
[TABLE]
The proof strategy is the following: we shall define a permutation and show that is -exposed. It would then follow that , which would complete the proof.
We construct a permutation as follows:
[TABLE]
for all , and where arbitrary entries are set in a way that completes to a permutation.
We first contend that is well defined. We note that since we have , so the values in the range of are distinct. As for the domain, the first two cases of (5) are disjoint, since otherwise we would have such that
[TABLE]
This obviously does not hold for , as well as . The only remaining case is when . However, it is easy to verify that
[TABLE]
only when , which is never the case when . Hence, is indeed a well defined permutation.
We now proceed with showing that is -exposed. By examining the first case of (5) and using Lemma 4, we obtain for all ,
[TABLE]
Symmetrically, let be the smallest integer such that
[TABLE]
Then by Lemma 4,
[TABLE]
We now note that
[TABLE]
and since the expression on the left-hand side is an integer, we get
[TABLE]
Additionally, the choice of ensures that also
[TABLE]
It then follows that
[TABLE]
and by Lemma 3, is -exposed.
Example** 7**
. For , from (5) we get
[TABLE]
where represents entries that can be mapped arbitrarily so as to complete a permutation from . Denote , so that . Table I shows the entries of which were mapped to , and the permutations by which they are -exposed. It also details the relevant sets. We conclude that , since is -exposed. From Lemma 5 we have . Thus .
The upper bound of Lemma 5 and the upper bound of Lemma 6 do not match exactly. The gap between the two is eliminated in the following theorem, by improving the upper bound, thus giving the exact covering radius of .
Theorem** 8**
.
For all ,
[TABLE]
Proof:
For we already know that , agreeing with the claimed expression. Therefore we consider . By Lemma 5 and Lemma 6 we have
[TABLE]
Using straightforward analysis, one can see that the lower and upper bounds agree, except when , , where there is a gap of between the bounds. To prove the claim we shall strengthen the upper bound to match the lower bound.
For the remainder of the proof we focus on the case of , . In this case, there is no need for the floor or ceiling operations, and we would like to prove that
[TABLE]
Denote , and assume to the contrary that there exists that is -exposed. Then,
[TABLE]
where (a) follows from Lemma 3, and (b) is taken from (3). It follows that the sets , , are all disjoint, and they form a partition of .
Define a -set to be any set of the form , with , and a -set to be any set , with . Since , we have , and thus no -set is also a -set. As noted above, the -sets and -sets partition , and therefore there exists some -set immediately to the left (cyclically) of a -set. More precisely, there exist and such that
[TABLE]
for some . But by Lemma 4,
[TABLE]
implying , and therefore , but then , a contradiction.
IV Codes Constructed from the Cyclic Group
Using as a covering code, now that its covering radius has been determined, has severe limitations. Most notably, there is just one code of each length, and no flexibility in code parameters. We overcome this by providing a more general code construction which uses as an internal building block. This construction is a generalization of the covering-code construction of [5]. It enables us to construct a covering code , using existing covering codes , .
IV-A Code Construction and Parameters
Before describing the construction we first define permutation projections.
Definition** 9**
. Let be a subset of indices, . For a permutation we define to be the permutation in that preserves the relative order of the sequence , i.e., if for all , we have if and only if . We also define
[TABLE]
Intuitively, from the definition above, to compute we take its one-line notation, keep only the coordinates of from , and then rename them to the elements of while keeping the relative order. In contrast, to compute , we keep only the one-line notation values of that are from , and rename those to while keeping the relative order.
Example** 10**
. Let , , and . Then
[TABLE]
since we keep entries , , and of , giving us , which we then rename to . Similarly, we have
[TABLE]
since we keep the values , , and of , giving us , which we then rename to .
To simplify notation, it will become convenient to define a projection using the empty set. Thus, for and we define , where denotes the unique permutation over zero elements.
We now present the code construction.
Construction** A**
.
Let , . We define the indices sets
[TABLE]
for all . We construct the code defined by
[TABLE]
where are covering codes, called the building-block codes.
We note that in the above construction, all the indices sets are of size , except for the last one which is of size . Thus, when the last indices set is empty, and is degenerate, containing only the unique empty (identity) permutation. We define . We also mention that a more general construction is possible, in which the indices sets form an arbitrary partition of .
The code construction of [5] is a special case of Construction A, in which , and .
Lemma** 11**
.
The code from Construction A is an code, where
[TABLE]
and
[TABLE]
Proof:
The cardinality of the code, , is easily obtainable by noting that we first need to partition the coordinates into sets of size , and one set of size . There are
[TABLE]
ways of doing so. We then assign values to each set from the corresponding set . The number of ways to do so is exactly .
The covering radius is also straightforward. Given a permutation , assume the values of are found in positions given by . By the properties of the code , there exists a codeword , such that the restrictions of and to positions are at most distance apart. Since we can make this hold for all simultaneously, we have
[TABLE]
This is met with equality, since we can easily find a permutation within this distance from : take such that . Construct such that and then . If necessary, repeat analogously for to obtain a permutation such that .
Next, we take a closer look at this code construction using as the building block code.
Corollary** 12**
.
Let , . Then the code from Construction A, with building-block codes and , is an code, where
[TABLE]
and
[TABLE]
Here we use the convention that .
Proof:
The proof follows from substituting the parameters of the cyclic group into Lemma 11, and noting that is monotone non-decreasing in .
Lemma** 13**
. Let , . Then the code of Construction A with and , has the following rate,
[TABLE]
where is the normalized covering radius of , is the rate of , and denotes a function that tends to [math] as tends to infinity.
Proof:
From Corollary 12
[TABLE]
Therefore, . Notice that , hence, by rewriting from Corollary 12 we get
[TABLE]
It is now a matter of using Stirling’s approximation (e.g., [7]),
[TABLE]
and standard analysis techniques, to arrive at the desired form.
We observe that (6) is the same as the rate obtained by the construction of [5], which uses only . However, the rate is a rather crude measure. Upon closer inspection, we shall now show the code parameters of Corollary 12 are superior to those of [5].
To avoid clutter, let us consider the case of , where . We use Construction A with to obtain a code we denote as . This code has cardinality given by Corollary 12,
[TABLE]
Its covering radius is
[TABLE]
For a fair comparison with the code of [5], we construct one with the same length , and same covering radius . Such a code is a special case of Construction A using the building-block codes and . We call the resulting code , and its cardinality (see also [5]) is given by
[TABLE]
For the comparison, we first observe that
[TABLE]
We also recall Stirling’s approximation in more detail,
[TABLE]
We now have
[TABLE]
where (a) is obtained by using (8), and (b) is by rearrangement and noting that .
To bound we write
[TABLE]
where , . We then have
[TABLE]
where (a) is due to (8), (b) is by rearrangement and noting that , (c) is due to , (d) is due to (7), and (e) is due to . It now follows that
[TABLE]
Thus, for any fixed , and tending to infinity, the codes are sub-exponentially better than of [5] in terms of size.
As a final note, we mention the fact that we may improve the parameters of Corollary 12 by picking , but , whenever , as this would decrease the resulting code size while maintaining its covering radius.
IV-B Covering-Codeword Algorithm
A common task associated with covering codes is, given a covering code and a permutation , to find a codeword such that , i.e., find a codeword covering . The code is small, and a trivial algorithm measuring the distance between the given and each of the codewords of (returning an -covering codeword) runs in time. However, this might be improved upon, and we now describe a more efficient algorithm.
Lemma** 14**
.
Let and . Algorithm 1 returns a codeword such that .
Proof:
Let , which means . The inner loops on assign to the entries of corresponding to the elements of (see proof of Lemma 6). Hence, at the end of the first for loop on ,
[TABLE]
The second for loop on finds such that . From Theorem 8, such must exist. We conclude that the codeword , such that , -covers , and we return it.
Algorithm 1 is more efficient than the trivial brute-force algorithm. We note that , and therefore, each of the inner loops is entered times, performing iterations each time. Thus, in total, the algorithm runs in time.
Having this algorithm for the building-block code , we may extend it in a natural way to the code studied in Corollary 12 to also run in time. We omit the tedious details.
V Relabeling the Cyclic Group
Following the definition of the natural transitive cyclic group,
[TABLE]
as given in Definition 2, it is tempting to ask what happens when we take a non-natural transitive cyclic group. Thus, we are interested in the groups of the form
[TABLE]
for some . A similar, more general question, was asked in [23], where an error-correcting code was relabeled by conjugation,
[TABLE]
, and its minimum distance was studied as a function of and . It was shown there that the minimum distance could drastically change due to relabeling, moving from the minimum possible , to the maximum possible , for some codes. Additionally, every error-correcting code could be relabeled so that its minimum distance is reduced to either or . In this section we study the covering radius of relabelings of .
Definition** 15**
. Let be a covering code. We denote by (respectively, ) the minimal (respectively, maximal) achievable covering radius among all relabelings of , i.e.,
[TABLE]
We first consider . Again, the cases of are degenerate, and we therefore only consider .
Theorem** 16**
.
For all , ,
[TABLE]
Proof:
Let be any permutation. We begin by noting that since is a transitive group, so is . Thus, Lemma 3 and Lemma 4 apply. Now Lemma 5 also holds for since it only relies on the two above-mentioned lemmas. Thus,
[TABLE]
Additionally, whenever , , we have by Theorem 8
[TABLE]
Let us define
[TABLE]
To complete this proof, we must show that for values of such that , , , there exists such that . Notice that in this case, is an integer, which yields .
We contend that the permutation will suffice, proving it by constructing a permutation such that is -exposed, giving us
[TABLE]
We construct a permutation as follows:
[TABLE]
for all , and where arbitrary entries are set in a way that completes to a permutation.
We first note that is well defined. The domain intervals in the definition are disjoint since , , and
[TABLE]
As for the range intervals, the fourth and fifth cases in (9) are and respectively, and are clearly disjoint, and disjoint from the first three cases. These two sets will be of further interest, so we define
[TABLE]
Thus, .
With , and , we write the elements of explicitly,
[TABLE]
To prove that is -exposed we shall use Lemma 3.
The mapping is -exposed by , hence,
[TABLE]
The mapping is -exposed by , hence
[TABLE]
The mapping is -exposed solely by , thus
[TABLE]
Now consider a mapping , with , and we get
[TABLE]
and in total,
[TABLE]
Similarly, for such that we get
[TABLE]
and in total,
[TABLE]
In conclusion, taking the union of all the above we obtain
[TABLE]
and by Lemma 3 we have that is -exposed.
We now move on to studying . Unlike , we provide only a weak lower bound on , which depends only on the size of the code. We recall the definition of a ball of radius and centered at ,
[TABLE]
Since the -metric is right invariant, the size of a ball does not depend on the choice of center, and thus we denote its size as .
Lemma** 17**
.
Let be a code. If is such that
[TABLE]
then
[TABLE]
Proof:
The claim is quite trivial. Inequality (10) simply states that balls of radius cannot cover , hence . For all we have , hence .
Specializing Lemma 17 to , gives us the following corollary, which applies to as well.
Corollary** 18**
. For all large enough , , ,
[TABLE]
Proof:
The following upper bound on the size of a ball is given in [14],
[TABLE]
and whose proof is an immediate application of Bregman’s upper bound on the permanent. We contend that only the second case of this bound is of relevance to us, as we will prove shortly. Thus, if we find such that
[TABLE]
then by Lemma 17 we will have .
Let us therefore define the auxiliary function,
[TABLE]
As a first step we show that for all ,
[TABLE]
Due to parity, we consider the cases of even and odd separately. We shall prove the former, and omit the proof for odd since it is similar. For the case of even , we prove the claim for , and then show the function is monotonically decreasing in .
For we have,
[TABLE]
Next, we consider
[TABLE]
where for the inequality we used (8) and trivial bounding techniques. We now note that and are monotonically decreasing in , and is monotonically increasing. Hence,
[TABLE]
and so is monotonically decreasing in for even . A similar proof holds for odd .
Thus far we showed there exists that satisfies (11) (in particular, does). We would now like to find such as large as possible. We observe the following sequence of inequalities, where we take , and .
[TABLE]
where (a) follows from (8), (b) follows by noting that and are decreasing in and then replacing by , (c) follows by noting that and are decreasing in and replacing by , (d) follows again by use of (8), (e) follows by noting that is decreasing in and substituting , that , and that , and finally, (f) follows by noting that is increasing in and replacing (since and ) by .
We note that taking , by (12) we get
[TABLE]
It now follows that for large enough ,
[TABLE]
and then
[TABLE]
as claimed.
VI Discussion
In this paper we found the exact covering radius of the (natural) transitive cyclic group, , and used it to construct new covering codes. These codes often exhibit better parameters than known covering-code constructions, while still allowing a linear-time covering-codeword algorithm.
The methods we described may be extended to larger groups, e.g., the dihedral group, though at a cost of a growing gap between the lower and upper bounds on the covering radius. Thus, in the case of the (naturally labeled) dihedral group, , defined by,
[TABLE]
we can obtain
[TABLE]
The tedious proof follows the same logic as that presented in Section III, and the interested reader may find it in [12]. We believe a more elegant treatment is needed.
Another gap exhibited in this work is between and . First, we note an interesting contrast with the case of error-correcting codes (as described in [23]). When relabeling error-correcting codes, the minimum distance of any code, including , may be reduced to either or . The minimum distance of is , and the best possible minimum distance after relabeling is , which bears a striking resemblance to .
In light of Section III and Section V, it appears that the covering radius of and its conjugate, has much less variance. This is evident from the small gap between and , not to mention the fact that in most cases. We ran brute-force computer search, checking all possible relabelings of , . For this range,
[TABLE]
for all , and
[TABLE]
where of the labeling permutations, give covering radius , and give covering radius . The gap between and is a consequence of Theorem 16. It is now tempting to conjecture that for all , . We leave this conjecture, and the determination of the covering radius of other groups, as open questions for future work.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] A. Barg and A. Mazumdar, “Codes in permutations and error correction for rank modulation,” IEEE Trans. Inform. Theory , vol. 56, no. 7, pp. 3158–3165, Jul. 2010.
- 2[2] P. J. Cameron and I. M. Wanless, “Covering radius for sets of permutations,” Discrete Math. , vol. 293, pp. 91–109, 2005.
- 3[3] H. D. Chadwick and L. Kurz, “Rank permutation group codes based on Kendall’s correlation statistic,” IEEE Trans. Inform. Theory , vol. IT-15, no. 2, pp. 306–315, Mar. 1969.
- 4[4] M. Deza and H. Huang, “Metrics on permutations, a survey,” J. Comb. Inf. Sys. Sci. , vol. 23, pp. 173–185, 1998.
- 5[5] F. Farnoud, M. Schwartz, and J. Bruck, “Bounds for permutation rate-distortion,” IEEE Trans. Inform. Theory , vol. 62, no. 2, pp. 703–712, Feb. 2016.
- 6[6] F. Farnoud, V. Skachek, and O. Milenkovic, “Error-correction in flash memories via codes in the Ulam metric,” IEEE Trans. Inform. Theory , vol. 59, no. 5, pp. 3003–3020, May 2013.
- 7[7] R. L. Graham, D. E. Knuth, and O. Patashnik, Concrete Mathematics: A Foundation for Computer Science . Addison-Wesley, 1994.
- 8[8] A. E. Holroyd, “Perfect snake-in-the-box codes for rank modulation,” ar Xiv preprint ar Xiv:1602.08073 , 2016.
