Successive-Cancellation Decoding of Linear Source Code
Jun Muramatsu

TL;DR
This paper analyzes the error probabilities of various decoding methods for source codes with side information, demonstrating the effectiveness of successive-cancellation decoding and its stochastic variant for polar source codes.
Contribution
It establishes the effectiveness of successive-cancellation and stochastic successive-cancellation decoding methods for source codes, including polar codes, in the asymptotic error probability sense.
Findings
Successive-cancellation decoding is effective for source codes with side information.
Stochastic successive-cancellation decoding is also effective for polar source codes.
Error probability approaches zero as code length increases.
Abstract
This paper investigates the error probability of several decoding methods for a source code with decoder side information, where the decoding methods are: 1) symbol-wise maximum a posteriori decoding, 2) successive-cancellation decoding, and 3) stochastic successive-cancellation decoding. The proof of the effectiveness of a decoding method is reduced to that for an arbitrary decoding method, where `effective' means that the error probability goes to zero as goes to infinity. Furthermore, we revisit the polar source code showing that stochastic successive-cancellation decoding, as well as successive-cancellation decoding, is effective for this code.
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.
Successive-Cancellation Decoding
of Linear Source Code
Jun Muramatsu
NTT Communication Science Laboratories, NTT Corporation
Hikaridai 2-4, Seika-cho, Soraku-gun, Kyoto 619-0237, Japan
Abstract
This paper investigates the error probability of several decoding methods for a source code with decoder side information, where the decoding methods are:
- symbol-wise maximum a posteriori decoding,
- successive-cancellation decoding, and
- stochastic successive-cancellation decoding. The proof of the effectiveness of a decoding method is reduced to that for an arbitrary decoding method, where ‘effective’ means that the error probability goes to zero as goes to infinity. Furthermore, we revisit the polar source code showing that stochastic successive-cancellation decoding, as well as successive-cancellation decoding, is effective for this code.
I Introduction
Successive-cancellation (SC) decoding is one of the elements constituting the polar code introduced by Arıkan [1]. This paper investigates the error probability of SC decoding for a source code with decoder side information by extending the results in [2, 12] to general linear source codes. It is shown that if for a given encoder there is a decoder such that the block error probability is , then the block error probability of an SC decoder for the same encoder is . Furthermore, we introduce stochastic successive-cancellation (SSC) decoding and show that it is equivalent to the constrained-random-number generator introduced in [7]. It is shown that if for a given encoder there is a decoder such that the block error probability is , then the block error probability of an SC decoder for the same encoder is . It is also shown that the error probability of the symbol-wise maximum a posteriori decoding of a linear source code and the SSC decoder of the polar source code goes to zero as the block length goes to infinity.
It should be noted that the results of this paper can be applied to the channel coding as introduced in [2, 10, 12]. In particular, the syndrome decoding is the case when a channel is additive, a parity check matrix corresponds to a source encoding function, the syndrome of a channel output corresponds to a codeword of the source code without decoder side information, and the kernel of the parity check matrix forms the channel inputs, that is, the codewords for a channel code.
Throughout the paper, we use the following notations. For random variable , let be the alphabet of , be the distribution of , and be the conditional distribution of for a given random variable . Let be the conditional entropy of for a given , where we assume that the base of is the cardinality of . A column vector is denoted by a boldface letter , where its dimension depends on the context. We define , where is the null string when . Let be a support function defined as
[TABLE]
II Symbol-wise Maximum A Posteriori Decoding
First, we revisit symbol-wise maximum a posteriori (SMAP) decoding, which is used for the conventional decoding of a low density parity check code. Although the symbol error rate (the Hamming distance between a source output and its reproduction divided by the block length ) is discussed with symbol-wise maximum a posteriori decoding, we focus on the block error probability (an error occurs when a source output and its reproduction are different, that is, the Hamming distance is positive) throughout this paper.
Let be a pair consisting of a source encoder and a decoder with side information. Let be the codeword of a source output . The decoder is constructed by using functions reproducing the -th coordinate as
[TABLE]
It should be noted that when is memoryless and is a sparse matrix we can use the sum-product algorithm to obtain an approximation of .
We have the following theorem.
Theorem 1
The error probability of the code is bounded as
[TABLE]
where the right hand side of this inequality goes to zero as when .
Proof:
Let be the -th coordinate of . Then we have
[TABLE]
where the first inequality comes from the union bound, the second inequality comes from the fact that the maximum a posteriori decision minimizes the error probability, and the third inequality comes from the fact that implies . ∎
It is known that, when there is an encoding function such that error probability is close to zero for all sufficiently large [5, 11], where we can use one of the following decoders:
- •
the typical set decoder defined as
[TABLE]
where
[TABLE]
is a conditional typical set,
- •
the maximum a posteriori probability decoder111The right hand side of the third equality of (2) might be called the maximum-likelihood decoder. defined as
[TABLE]
where the third equality comes from the fact that when and when .
The following sections show upper bounds of the error probability for several decoders in terms of the error probability of a code , where is an arbitrary decoder. It should be noted that we can use one of the decoders mentioned above. We can reduce the effectiveness of the decoders to that of an arbitrary decoder, where ‘effective’ means that the error probability goes to zero as goes to infinity. For example, [9, 10] show that a decoder using a constrained-random-number generator is effective by showing that the maximum a posteriori probability decoder is effective.
III Decoding Extended Codeword
Let be an encoder of a source code with decoder side information. Here, we assume that, for a given there is a function and a bijection such that
[TABLE]
In particular, this condition is satisfied when is a full-rank matrix. We define the bijection as .
Let and be a partition of , that is, they satisfy and . We call and ordered when and . For a vector , define and so that is a symbol in when for every . In the following, we assume that and , where corresponding index sets and may not be ordered in the bijection . We call the extended codeword of . In the following, we denote omitting the dependence on .
Let be a function that reproduces the extended codeword by using the side information. For a codeword and side information , the source decoder with side information is defined as
[TABLE]
In the context of the polar source codes, corresponds to unfrozen symbols and corresponds to the final step of SC decoding. We have the following lemma for a general case.
Lemma 1
Let and . Then we have
[TABLE]
Proof:
We have
[TABLE]
where the third equality comes from the fact that is bijective, and in the sixth equality we define
[TABLE]
and use the fact that for all and there is a unique satisfying and . ∎
In the following, we investigate the decoding error probability for an extended codeword.
IV Successive-Cancellation Decoding
This section investigates the error probability of the (deterministic) SC decoding. For a source encoder , let , , , and be defined as in the previous section.
For a codeword and side information , the output of an SC decoder is defined recursively as
[TABLE]
by using functions defined as
[TABLE]
which is known as the maximum a posteriori decision rule, where is the conditional probability defined as
[TABLE]
by using defined by (6).
To simplify the notation, we define when although does not depend on and . We have the following lemma.
Lemma 2
[TABLE]
Proof:
As with the proof in [1], we can express the block error events as , where
[TABLE]
is an event where the first decision error in SC decoding occurs at stage . The decoding error probability for a extended codeword is evaluated as
[TABLE]
where the first inequality comes from the union bound, the second equality comes from the fact that when , and the last inequality comes from the fact that implies . ∎
When the index sets and are not ordered like the polar source codes [2, 12], defined by (7) may not use the full information of a codeword . Borrowing words from [1], treats future symbols as random variables rather than as known symbols. In other words, ignores the future symbols in a codeword . This implies that is different from the optimum maximum a posteriori decoder defined as
[TABLE]
The following investigates the error probability of the (deterministic) SC decoding by assuming that the index sets and are ordered, that is, and . This implies that for every , defined by (7) uses the full information of a codeword .
Lemma 3
For a source encoder and decoder with side information, let , , , and be as defined in the previous section, where it is assumed that the index sets and are ordered. Then we have
[TABLE]
for all .
Proof:
For , let be the -th coordinate of the extended codeword of . Then we have the fact that
[TABLE]
for all satisfying and , where the second equivalence comes from the fact that is bijective, and the third equivalence comes from (3). Then we have
[TABLE]
where the first inequality comes from Lemma 7 in the Appendix and the fact that , the second inequality comes from the fact that the maximum a posteriori decision rule minimizes the decision error probability, and the last inequality comes from (10). ∎
From Lemmas 1–3 and the fact that , we have the following theorem, which implies that SC decoding is effective when for a given encoding function there is an effective decoding function .
Theorem 2
For a source code with decoder side information, error probability of the (deterministic) SC decoding is bounded as
[TABLE]
where the right hand side of this inequality goes to zero as when .
It should be noted again that the index sets and are ordered, while they are not ordered in the original polar source code. In contrast, we can use an arbitrary function that satisfies the assumption and rearrange the index sets and so that they are ordered, while they are fixed in the original polar source code.
V Stochastic Successive-Cancellation Decoding
This section introduces stochastic successive-cancellation (SSC) decoding, which is known as randomized rounding in the context of polar codes.
When , we replace defined in (7) by the stochastic decision rule generating randomly subject to the probability distribution for a given . Let be the stochastic decision rule described above. Let be the stochastic decoder by using instead of when . We denote the stochastic decoder corresponding to (4) by . An analysis of the error probability will be presented in the next section.
VI Implementation of Successive-Cancellation Decoding
In this section, we assume that is a full-rank (sparse) matrix. Without loss of generality, we can assume that the right part of is an invertible matrix. This condition is satisfied for an arbitrary full-rank matrix by using a permutation matrix , where satisfies the condition, and the codeword can be obtained as .
Let be an matrix, where the left part of is an invertible matrix. Then we have the fact that by concatenating row vectors of to , we obtain the invertible matrix , that is, is bijective. By using and , we can construct a successive-cancellation decoder that reproduces an extended codeword with and .
Here, let us assume that the left part of is the identity matrix and the right part of is the zero matrix. It should be noted that a similar discussion is possible when the identity matrix is replaced by a permutation matrix.
Since the left part of is the identity matrix, then, for all , the -element of is , which is the only positive element in -th row of . Then we have the fact that
[TABLE]
which implies .
First, we reduce the conditional probability defined by (8). For and , we have
[TABLE]
where the third equality comes from the fact that and the fourth equality comes from Lemma 8 in the Appendix and the fact that for all . By substituting , we have
[TABLE]
for and . It should be noted that the right hand side of the second equality appears in the constrained-random-number generation algorithm [7, Eq. (41)]222In [7, Eq. (41)], should be replaced by .. This implies that the constrained-random-number generator can be considered as an SSC decoding of the extended codeword specified in the previous section, where we have assumed that this algorithm uses the full information of the codeword for every .
Next, we assume that is memoryless and reduce the condition to improve the algorithm. This idea has already been presented in [8]. Let be the -th column vector of . Let be the sub-matrix of obtained by using and be that obtained by using . At the computation of (13) for , we can assume that has already been determined. Furthermore, we have the fact that the condition is equivalent to . Then, by letting , we can reduce (13) as follows:
[TABLE]
It should be noted that we can obtain recursively by deleting the left-end column vector of . We can obtain the vector recursively by using the relations
[TABLE]
These operations reduce the computational complexity of the algorithm. It should also be noted that the sum-product algorithm is available for the approximate computation of (14) when is a sparse matrix.
Next, we convert the reproduction of a extended codeword to the reproduction of a source output. When , we have obtained the extended codeword , where . We can reproduce the source output by using the relation , where is the inverse of the concatenation of and . Then we have the relations
[TABLE]
from the assumptions of and . Since
[TABLE]
we obtain as
[TABLE]
where is the inverse of .
Finally, we summarize the decoding algorithm. We assume that is memoryless, is an (sparse) matrix satisfying that is an invertible matrix, and is an matrix satisfying that is an identity matrix.
SC/SSC Decoding Algorithm Using Sum-Product Algorithm:
- Step 1
Let and .
- Step 2
Calculate the conditional probability distribution as
[TABLE]
by using , , , and , where we define . It should be noted that the sum-product algorithm can be employed to obtain an approximation of (15).
- Step 3
For the deterministic SC decoding, let be defined as
[TABLE]
For the SSC decoding, generate and record a random number subject to the distribution .
- Step 4
Let .
- Step 5
If , then compute , output and terminate.
- Step 6
Let and go to Step 2.
Since the SSC decoder is equivalent to a constrained-random-number generator generating a random sequence subject to the a posteriori probability distribution [7, Theorem 5], we have the following theorem from the fact that the error probability of a stochastic decision with an a posteriori probability distribution is at most twice that of any decision rule [9, Lemma 3].
Theorem 3
For a linear source code with decoder side information, the decoding error of the SSC decoding algorithm is bounded as
[TABLE]
where the right hand side of this inequality goes to zero as when .
VII Analysis When Index Sets Are Not Ordered
In the previous sections, it was assumed that the index sets and corresponding to and are ordered, that is, and . This section investigates the case when they are not ordered. The following lemma asserts that the effectiveness of the decoder is reduced to a condition where the sum of the conditional entropies corresponding to the complement of the codeword goes to zero as .
Lemma 4
Let and be the SC and SSC decoding functions, respectively. Then
[TABLE]
Proof:
The first inequality is shown from Lemmas 1–3 as
[TABLE]
where the last inequality comes from the relation
[TABLE]
shown in [4]. The second inequality is shown similarly as
[TABLE]
where the second inequality comes from [9, Lemma 3]. ∎
The above lemma implies that the error probability of SC/SSC decoding is small when is small. The following lemma introduces quasi-polarization, where the both (18) and (19) are satisfied for all and sufficiently large . It should be noted here that (18) implies that is close to [math] but (19) may not imply that is close to .
Lemma 5
The condition
[TABLE]
is equivalent to the condition
[TABLE]
Proof:
Since is bijective, we have the fact that . Then the condition (19) is derived from (18) as
[TABLE]
and the condition (18) is derived from (19) as
[TABLE]
∎
The following lemma asserts that we have the quasi-polarization when the SC/SSC decoding is effective in the sense that the binary entropy of the error probability is .
Lemma 6
Let and be the SC and SSC decoding functions, respectively. Let be the binary entropy function, where the base of is . Then we have
[TABLE]
where
[TABLE]
Proof:
In the following, we show the first inequality, where we can show the second inequality similarly. Let
[TABLE]
Then we have
[TABLE]
where the first inequality comes from the Fano inequality, the second inequality comes from the fact that implies and the last inequality comes from the fact that . ∎
Remark 1
We have several interpretations of Lemmas 4 and 6. Lemma 4 asserts that the SC/SSC decoding is effective when we have the quasi-polarization and Lemma 6 asserts that the SC/SSC decoding is not effective when we do not have the sufficient333In this statement, ‘sufficient’ means that . quasi-polarization. Conversely, Lemma 6 asserts that we have the quasi-polarization when the SC/SSC decoding is sufficiently effective and Lemma 4 asserts that we do not have the quasi-polarization when the SC/SSC decoding is not effective.
Remark 2
It is mentioned in [3, “Polarization is commonplace”] that a random permutation of the set is a good polarizer with a high probability. We can show a similar fact regarding a good source code and a matrix that introduces extended codewords, where the index sets and are ordered. We have a slightly tighter bound than Lemma 6 as follows:
[TABLE]
where is the base of the natural logarithm, the second inequality comes from [6, Lemma 3.12], the third inequality comes from the Fano inequality, and the fourth inequality comes from the fact that
[TABLE]
by using the relation . This means that we have quasi-polarization when . In particular, when goes to zero exponentially as , also goes to zero exponentially. It should be noted that the combination of Lemma 4 and (23) provides bounds slightly different from those provided by Theorems 2 and 3.
It is a future challenge to find the function and the order of the index sets for a general linear code where is small or is close to . We can expect to reduce the time complexity of SC/SSC decoding while maintaining sufficient precision of the computation for the conditional probability distribution .
VIII Stochastic Successive-Cancellation Decoding of Polar Source Code
In this section, we revisit the polar source code for a pair of stationary memoryless source introduced in [2, 12]. For simplicity, we assume that is a prime number. For a given positive integer , let . The source polarization transform is defined as
[TABLE]
where denotes the -th Kronecker power and is the bit-reversal permutation matrix defined in [1]. Then the extended codeword of a source output is defined as , where both and are column vectors.
From [12, Theorem 4.10], we have
[TABLE]
for all , where is the source Bhattacharyya parameter defined as
[TABLE]
Let and be defined as
[TABLE]
Then, from (25), we have the fact that the encoding rate approaches as
[TABLE]
Furthermore, from Lemma 4, we have
[TABLE]
for all , where the second inequality comes from the relation
[TABLE]
shown in [2, Eq. (5)], [12, Eq. (4.11)]. This implies the well-known fact that SC decoding of the polar source code is effective [2, 12].
Similarly, we have the following theorem, which implies the effectiveness of the SSC decoding of the polar source code.
Theorem 4
[TABLE]
for all .
IX Concluding Remarks
It should be noted that we cannot judge from Theorems 1–3 which decoder (SMAP, SC, or SSC) performs the best when we use the same encoding function . It is a future challenge to clarify the best decoder theoretically or empirically.
In Theorems 1–3, we have assumed that we can compute the conditional probability distribution defined by (15) exactly. However, the sum-product algorithm may not provide the exact computation of (15). It is a future challenge to estimate the approximation error caused by the sum-product algorithm and to introduce an alternative algorithm that provides a good approximation.
The following comments on the computational complexity of the decoding algorithms. When is a sparse matrix with the maximum row weight and we use the Fourier transform444 When is a power of a prime , the term can be replaced by by using the Fast-Fourier-Transform. to compute the convolutions in the sum-product algorithm, the computational complexity of SMAP decoding is , where denotes the number of iterations of the sum-product algorithm. The computational complexity of SC/SSC decoding is . The computational complexity of the SC/SSC decoding of the polar source code is by using the recursive construction of [12, Section 4.4].
Lemma 7
For any triplet of random variables, we have
[TABLE]
Proof:
For all , we have
[TABLE]
Then we have
[TABLE]
∎
Lemma 8
Assume that a triplet of random variables satisfies . Then we have
[TABLE]
Proof:
Since , the joint distribution of is given as
[TABLE]
for each . Then we have
[TABLE]
where the last equality comes from the fact that when . ∎
Acknowledgments
The author thanks Dr. S. Miyake, Prof. K. Iwata, and Dr. Y. Sakai for helpful discussions.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] E. Arıkan, “Channel polarization: a method for constructing capacity-achieving codes for symmetric binary-input memoryless channels,” IEEE Trans. Inform. Theory , vol. IT-55, no. 7, July 2009.
- 2[2] E. Arıkan, “Source polarization,” Proc. 2010 IEEE Int. Symp. Inform. Theory , Austin, U.S.A., June 13–18, 2010, pp. 899–903.
- 3[3] E. Arıkan, “Polar coding — status and prospects,” Plenary Lecture at the 2010 IEEE Int. Symp. Inform. Theory , St. Petersburg, Russia, Aug. 1, 2011.
- 4[4] J. T. Chu and J. C. Chueh, “Inequalities between information measures and error probability,” J. Franklin Inst., vol. 282, pp. 121–125, Aug. 1966.
- 5[5] I. Csiszár, “Linear codes for sources and source networks: Error exponents, universal coding,” IEEE Trans. Inform. Theory , vol. IT-28, no. 4, pp. 585–592, Jul. 1982.
- 6[6] R. M. Gray, Entropy and Information Theory 2nd Ed. , Springer-Verlag, 2010.
- 7[7] J. Muramatsu, “Channel coding and lossy source coding using a generator of constrained random numbers,” IEEE Trans. Inform. Theory , vol. IT-60, no. 5, pp. 2667–2686, May 2014.
- 8[8] J. Muramatsu, “Variable-length lossy source code using a constrained-random-number generator,” IEEE Trans. Inform. Theory , vol. IT-61, no. 6, Jun. 2015.
