On the Weight Distribution of Concatenated Code Ensemble Based on the Plotkin Construction
Xiao Ma

TL;DR
This paper establishes a relationship between the weight distribution of concatenated code ensembles using the Plotkin construction and their component codes, aiding in analyzing complex code structures like Reed-Muller-like codes.
Contribution
It introduces a novel relation linking the weight distributions of concatenated codes and their components, facilitating easier analysis of complex code ensembles.
Findings
Derived a relation between weight distributions of concatenated and component codes
Applicable to Reed-Muller-like codes and other code ensembles
Simplifies the calculation of ensemble weight distributions
Abstract
In this note, we reveal a relation between the weight distribution of a concatenated code ensemble based on the Plotkin construction and those of its component codes. The relation may find applications in the calculation of the ensemble weight distributions for many codes, including Reed-Muller (RM)-like codes.
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 · Advanced Wireless Communication Techniques · graph theory and CDMA systems
On the Weight Distribution of Concatenated Code Ensemble Based on the Plotkin Construction
Xiao Ma Xiao Ma is with the School of Computer Science and Engineering, Sun Yat-sen University, Guangzhou 510006, China (e-mail: [email protected]).
Abstract
In this note, we reveal a relation between the weight distribution of a concatenated code ensemble based on the Plotkin construction and those of its component codes. The relation may find applications in the calculation of the ensemble weight distributions for many codes, including Reed–Muller (RM)-like codes.
I Introduction
In 1960, to derive bounds on block codes, Plotkin proposed a method [Plotkin1960] that combines two codes of length into a code of length as follows. Let and be two binary block codes of length . Define . The following proposition is a well-known fact, see [LinCostello2004].
Proposition 1:
Let and be two binary block codes with the minimum Hamming distances and , respectively. Then the concatenated code based on the Plotkin construction has the minimum Hamming distance
[TABLE]
Proof.
It is omitted here. ∎
An immediate question arises: For binary linear block codes, can we calculate the weight distribution of from those of and ? This is generally not solvable since knowing the weight distributions of the component codes alone is not sufficient to determine the concatenated code, and hence its weight distribution. However, it is feasible to calculate the ensemble weight distributions if we properly define a code ensemble from and . This note serves to build a recursion from the weight distributions of and to that of , where is a uniformly distributed random permutation matrix of order . This recursion may find applications in the calculation of the weight distributions for some randomly constructed codes and performance evaluations of Reed–Muller (RM) codes [Muller1954, Reed1954] and polar codes [Arikan2009], to some extent.
II The Main Result
Theorem 1:
Let and be two binary linear codes of length with weight distributions and , respectively, where
[TABLE]
and is the number of codewords of weight in . Then the weight distribution of
[TABLE]
with a uniformly distributed random permutation matrix is given by
[TABLE]
where
[TABLE]
and
[TABLE]
Before proving the theorem, we verify that the calculation of for is consistent with Proposition 1. Obviously, , since and . Assume that . Since
[TABLE]
only the case contributes to the calculation. That is, . If so, we have
[TABLE]
and , which implies . This in turn leads to .
Proof.
Let be a nonnegative integer. We define the Hamming sphere
[TABLE]
where denotes the Hamming weight of . To prove the theorem, we introduce a random vector , which is uniformly distributed over , i.e.,
[TABLE]
We further write , where , . Notice that in the construction of , the interleaver is chosen uniformly at random. Therefore, given and , is uniformly distributed over and is uniformly distributed over . This is guaranteed by the symmetry induced by the random permutation .
Obviously, the probability that is a codeword of is
[TABLE]
On the other hand, if and only if and . Since is uniformly distributed, this event occurs with probability
[TABLE]
By equating (3) and (1), we obtain the expression in (1), which completes the proof. ∎
Notice that Theorem 1 provides a method to compute the ensemble weight distribution of from those of and , averaged over uniformly distributed interleavers . This recursion can be implemented alternatively in the manner shown below [Ma2015BMST].
An equivalent recursion with proof.
Assume and are with weight and respectively. Then the weight of codeword depends on the overlap between and , which is denoted by . This occurs with probability
[TABLE]
and produces a codeword of weight . Therefore, the weight distribution of can be expressed as
[TABLE]
where is the indicator function. Since is uniquely determined by , we can eliminate the summation over and get
[TABLE]
It can be verified that this recursion is equivalent to that given in Theorem 1. ∎
Notice that it is generally intractable to calculate the weight distribution of a specific from those of and . However, by introducing the random permutations, the ensemble weight distribution can be calculated by algorithms, say, presented in [ma2017systematic, chiu2020interleaved, yao2024]. Compared with the existing algorithms over the polynomial rings, Theorem 1 provides a closed-form formula for the weight distribution. It becomes more convenient if only partial weight distribution is required, say, for truncated union bounds [ma2013new]. In the following, we present two toy examples, where the component codes are invariant under all permutations. Hence the resulting weight distributions are also those of the specific codes.
Example 1:
Let and be the repetition code and the single parity-check code of length , respectively. We have and . Then, of is calculated as follows.
, ,
[TABLE]
In summary, which can be verified by enumerating all the eight codewords in .
Example 2:
Consider the code, i.e., the code, whose weight distribution is We now demonstrate how to compute recursively. The encoding of can be represented by a binary tree, as shown in Fig. 1. Each node in the tree is associated with a vector. The active bits can take values [math] or , while the frozen bits are fixed to [math]. The vector associated with a node can be calculated by the Plotkin construction as
[TABLE]
where and are vectors associated with the left child and the right child of the node, respectively. The codeword is thus the vector associated with the root node. This corresponds exactly to a multilevel Plotkin construction, which can be employed to recursively calculate the weight distribution at the root node. This procedure is illustrated in Fig. 2, where the weight distributions at the leaves are initialized as for a frozen leaf and as for an active leaf.
III Conclusion
In this note, we have essentially developed an algorithm (with a computational complexity of polynomial order) to calculate the weight distribution of a concatenated code ensemble based on the Plotkin construction from those of its component codes.
Acknowledgment
The author would like to thank Dr. Qianfan Wang and Dr. Jifan Liang for their helpful discussions. The author also thanks Dr. Qianfan Wang for his assistance in preparing this note. The alternative recursion for Theorem 1 is provided and typed by Dr. Jifan Liang and Dr. Xinyuanmeng Yao.
References
