The Complete SC-Invariant Affine Automorphisms of Polar Codes
Abstract
Automorphism ensemble (AE) decoding for polar codes was proposed by decoding permuted codewords with successive cancellation (SC) decoders in parallel and hence has lower latency compared to that of successive cancellation list (SCL) decoding. However, some automorphisms are SC-invariant, thus are redundant in AE decoding. In this paper, we find a necessary and sufficient condition related to the block lower-triangular structure of transformation matrices to identify SC-invariant automorphisms. Furthermore, we provide an algorithm to determine the complete SC-invariant affine automorphisms under a specific polar code construction.
I Introduction
Polar codes [1] are proved to asymptotically achieve capacity on discrete binary memoryless symmetric (BMS) channels under SC decoding. To enhance the finite-length performance, SCL decoding was proposed in [2]. Moreover, cyclic redundancy check (CRC)-aided polar codes [3] achieve outstanding performance at short to moderate block lengths.
A substantial part of SCL decoding complexity and latency is related to path management, i.e., sorting and pruning paths according to path metric (PM). In order to reduce the latency, decoding under stage permutations on the factor graph was proposed in [4]. In [5], AE decoding utilized more SC-variant automorphisms instead of only stage permutations to enhance error correcting performance. A key step in AE decoding is the identification and avoidance of SC-invariant automorphisms, which produce duplicate decoding results. The automorphisms formed by lower-triangular affine (LTA) transformations [6] were proved to be SC-invariant [5]. In [7] and [8], the block lower-triangular affine (BLTA) group was proved to be the complete affine automorphism group of polar codes. BLTA transformations showed better performance under AE decoding [7] [9] [10]. In [10], affine automorphism group was classified into equivalent classes, where each class will yield the same SC decoding result. Therefore selecting at most one automorphism from each equivalent class guarantees SC-variance. In contrast of AE decoding, some other applications require SC-invariant automorphisms. In [11], -cyclic shift permutations, which are SC-invariant, were proposed for implicit timing indication in Physical Broadcasting Channel (PBCH). In both applications, identifying SC-invariant automorphisms is a key step.
Some previous works attempt to identify SC-invariant affine automorphisms for general polar codes [5] [10]. However, given a specific code construction, SC-invariant automorphisms can not be completely found in [5], [10]. In this paper, we identify and prove the complete SC-invariant affine automorphisms. For example, as shown in Table 1 of section IV, the number of the complete SC-invariant affine automorphisms for (256,128) polar code is but only of them are founded in [10].
The rest of this paper is organized as follows. In section II, we review polar codes and automorphism group. In section III, we provide a low complexity algorithm to distinguish SC-invariant affine automorphisms. We further prove SC-invariant affine automorphism group is also of the form BLTA and provide an algorithm to determine it. In section IV, simulation results show distinguishing SC-invariant automorphisms can reduce redundancy in AE decoding. Finally, we draw some conclusions in section V.
II Preliminaries
II-A Polar codes as monomial codes
Let and , where is the code dimension. A polar code is generated by selecting rows of . The set of indices of selected rows is the information set, and is the frozen set. Denote the polar code with information set by .
Then each row of can be represented by for some . For example, assume , there is a unique binary representation of , where is the least significant bit, such that
Then the evaluation of monomial is exactly the -th row of . Therefore, the information set can be regarded as a subset of or a subset of . As seen, the three representations, i.e., the number , the binary representation of and the corresponding monomial all refer to the same thing.
Two monomials of the same degree are ordered as if and only if for all , where we assume and . This partial order is extended to monomials with different degrees through divisibility, namely if and only if there is a divisor of such that .
An information set is decreasing if and we have . A decreasing monomial code is a monomial code with a decreasing information set . If the information set is selected according to the Bhatacharryya parameter, polar codes will be decreasing monomial codes [6], [12]. In this way, polar codes can be generated by , where the information set is the smallest decreasing set containing . From now on, we always suppose is decreasing.
II-B Affine automorphism group
Let be a decreasing monomial code with length . A permutation in the symmetric group Sym is an automorphism of if for any codeword , . The automorphism group Aut is the subgroup of Sym containing all automorphisms of .
Let be an binary invertible matrix and be a length- binary column vector. The affine transformation permutes to .
A matrix is lower-triangular if and for all . The LTA group is the group of all affine transformations where is lower-triangular. Similarly, a matrix is upper-triangular if and for all .
BLTA is a BLTA group of all affine transformations where can be written as a block matrix of the following form
(1) |
where are full-rank matrices. BLTA equals the complete automorphisms of decreasing polar codes that can be formulated as affine transformations [8].
II-C Successive cancellation decoding
Let be the log likelihood ratio (LLR) of the -th node at stage and be the received LLRs from channels. are propagated from stage according to
At stage , we have
Then hard decisions are propagated from stage according to
where means the addition modulo .
Let map the received LLR vector to the SC decoding result .
II-D Automorphism ensemble decoding
Let be different automorphisms of the code and be the received LLR vector. A list of decoders can independently decode each permuted LLR . The decoded candidate codeword of using is
A final decoding result is selected according to the minimum Euclidean distance rule:
For an automorphism of , we say commutes with if for all , . If commutes with , the corresponding permuted SC decoder always outputs the same decoding result as the non-permuted SC decoder.
The automorphism in LTA group is SC-invariant for , which means it commutes with [5]. Moreover, in [10], two affine automorphisms are called equivalent for , denoted by , if for all
The equivalence classes are defined as
Let be identity permutation, the equivalence class consists of the complete affine automorphisms commuting with , which is an automorphism subgroup. The authors of [10] proved that BLTA, that is, automorphisms in BLTA commute with of any decreasing monomial code whose automorphism group includes BLTA. A natural question arises: are these the complete SC-invariant affine automorphisms?
III Analysis on SC-invariant automorphisms
In this section, we give a necessary and sufficient condition to identify SC-invariant affine automorphisms for any specific code . The key technique in proofs is that the block lower-triangular structure of transformation matrix can be used to decompose the corresponding automorphism into shorter ones (detailed description is in Definition 1). Therefore, can be decomposed to shorter subcodes, and we can identify SC-invariant automorphisms inductively.
III-A Notations and definitions
Let be a full-rank matrix. We say has the block lower-triangular structure if can be written as (1) and none of can be written as a block lower-triangular matrix with more than one block. Define for and .
Define to be the integer set for , and to be the corresponding submatrix of .
The affine transformation if and only if for any . For convenience, define to be the permutation which permutes to .
Define to be a set of indices whose -th bits are fixed to be . Define
to be the information set of length- subcode consisting of indices in . is defined in the same way.

For example, the factor graph of (8,4) polar code is shown in Fig. 1, where . In Fig. 1, (resp. ) is the information set of length-4 subcode consisting of indices that the least significant bit is equal to (resp. ), i.e. the even (resp. odd) bits. Similarly, (resp. ) is the information set of length-4 subcode consisting of indices that the most significant bit is equal to (resp. ), i.e. the first (resp. last) four bits. This definition simplifies the description of decomposed shorter subcodes in our proofs.
III-B Transformations of matrices
In this subsection, we provide two lemmas on matrix transformations.
Lemma 1 (lower-triangular transformation).
Let be a full-rank matrix and be two lower-triangular matrices. and are two automorphisms of . Then commutes with if and only if commutes with . Moreover, .
Proof.
It is from the fact that and and all commute with .
Let and . Notice that means adding upper row of to lower, while means adding right column of to left. Therefore, implies , so .
Since = , similarly, we have . Therefore, . And so on, . ∎
Remark 1.
Thanks to Lemma 1, we only need to investigate upper-triangular matrices since every matrix can be transformed to an upper-triangular matrix by lower-triangular transformation while maintaining the block lower-triangular structure.
Next, we show how to decompose upper-triangular transformation by exploiting its block lower-triangular structure.
Definition 1.
Let be an upper-triangular matrix with and . We have where
And
We define four permutations related to : .
Lemma 2 (Permutation Decomposition).
Let be an upper-triangular matrix with and . Let be the permutations defined in Definition 1. For and ,
(2) |
(3) |
Moreover, if , then and is the identical permutation, which means
(4) |
for and . And (4) means and , that is, bits in the upper (lower) half branch remain in the upper (lower) half branch after permutation.
Remark 2.
Due to the block lower-triangular structure of , , where only affects the first bits and only affects the last bits. To be specific, permutation can be decomposed into two steps.
Step 1 (the effect of ): Divide into blocks , , then apply the same permutation to each block.
Step 2 (the effect of ): Treat each block as a whole, apply to blocks.
This technique will help us decompose the polar code into shorter subcodes in Algorithm 1.
III-C Distinguishing SC-invariant automorphisms
Algorithm 1 determines whether affine automorphisms with the block lower-triangular structure commute with iteratively. We claim that commutes with if and only if DecAut outputs TRUE. Let be the permutations defined in Definition 1. Note that . We briefly describe procedures of Algorithm 1.
First, if (lines 5-7), is SC-invariant if and only if the code belongs to Rate-0, single parity check (SPC), repetition (Rep) or Rate-1 codes[13].
If , we recursively determine whether is SC-invariant. According to , we consider two cases:
1) (lines 8-11), because is the identical permutation, is SC-invariant if and only if commutes with and , i.e., the subcodes on upper half branch and lower half branch.
2) (lines 12-23), divide into blocks , . In this case, is not identical permutation, then is SC-invariant only if all frozen bits belong to the first block or all information bits belong to the last block. Furthermore, must commute with either the first subcode (lines 13-14) or the last subcode (lines 16-17) respectively.
Example 1.
Assume is a polar code with length and information set . It is clear that Aut. We can determine whether with commutes with by Algorithm 1. Since , from lines 8-11, . Next, and from line 6. Therefore, we conclude that the algorithm will output FALSE so that with does not commute with .
For convenience, denote by and the LLRs and hard decisions of the -th node at stage before permutation, and and the LLRs and hard decisions after permutation (see Section II-C).
Theorem 1 (Sufficiency).
Let be a block lower-triangular matrix with and is an automorphism of with length . commutes with if DecAut outputs TRUE.
Proof.
From Remark 1, assume is an upper-triangular matrix. We prove the theorem by induction on . If , the theorem holds since the condition implies the code is one of Rate-0, SPC, Rep or Rate-1 code, where SC decoding is equivalent to ML decoding, and thus invariant under permutations, and any permutation produces the same decoding result.
Let be the permutations defined in Definition 1. For the induction step , There are two cases we need to consider. The first is . Divide into upper half branch and lower half branch . As mentioned in Remark 2, is the identical permutation so bits in the upper or lower half branch remain in the same branch after permutation. Thus, the LLRs at stage of the upper and lower half branches are permuted by , respectively. Then by induction, is SC-invariant. It follows that is SC-invariant.
Now let us discuss the proof in detail. First consider the upper half branch. Note that for . (4) implies and then
Because that DecAut outputs TRUE implies that DecAut outputs TRUE, by inductive hypothesis,
(5) |
Next, we consider the lower half branch. For
Because that DecAut outputs TRUE implies that DecAut outputs TRUE, by inductive hypothesis,
(6) |
Now we turn to the case . In this case, is not identical permutation, additional conditions are required to ensure SC-invariance of . We divide into blocks . By lines 6-10 of Algorithm 1, either all frozen bits belong to the first block or all information bits belong to the last block .
1) If , from Lemma 2, we have for . Notice that DecAut outputs TRUE and imply that DecAut outputs TRUE. Then by inductive hypothesis, for . Notice that for are not all one, then for .
Then can be viewed as independent length- SPC codes. Define and , then where and the first bit is frozen to with . That is, can be decoded as a length- SPC code with LLR vector .
Since commutes with , we have
thus .
The next lemma allows us to claim an automorphism is not SC-invariant by decomposing the automorphism on the upper and lower half branches even if . It will help us prove the necessity.
Lemma 3.
Let be a decreasing monomial code with length . is an automorphism of , where is an upper-triangular matrix. Let and , , denote , then commutes with implies commutes with and , i.e., commutes with the subcodes on upper and lower half branches.
Proof.
If does not commute with , because , does not commute with as well. So there exists such that .
Now we can construct an example from to show does not commute with . To be specific, let and , then for . Therefore, and . Since , we have for some
(9) |
For , . Similarly, . Thus
(10) |
commutes with can be proved similarly when and , where is positive and small enough. ∎
The next lemma proves two special cases of the necessity by decomposing the permutation on the subcodes consisting of odd and even indices.
Lemma 4.
Let be a block lower-triangular matrix with where or . is an automorphism of with length . Then commutes with only if or .
Proof.
We inducted on , if , the lemma can be proved by exhaustive search. For the induction step , assume . Let be an information set such that and . Divide into two information sets on the even bits and on the odd bits, then and .
We are going to show that at least one of and does not satisfy the condition. First, , since implies by decreasing property, which is contradictory against . Similarly, .
We claim that one of and must hold, since otherwise and . Since , and , which are contradictory against is a decreasing set when .
Now we are going to construct a counter-example by induction. Assume , denote . From inductive hypothesis, there exists some such that , which implies does not commute with by setting and otherwise. If , denote and where is positive and small enough otherwise.
If , the proof is similar if we take and . ∎
Now we are ready to prove Theorem 2.
Theorem 2 (Necessity).
Let be a block lower-triangular matrix with and is an automorphism of with length . commutes with only if DecAut outputs TRUE.
affine automorphism group | SC-invariant permutations in [10] | SC-invariant permutations in this paper | |||
---|---|---|---|---|---|
BLTA | BLTA | ||||
BLTA | BLTA | ||||
BLTA | BLTA |
Proof.
From Remark 1, assume is an upper-triangular matrix. We prove the theorem by induction on . if , it can be proved by computer search. Assume the theorem holds for . Define and . Cases are classified according to .
If , the theorem can be proved by Lemma 3.
If or , Let be the permutations defined in Definition 1. Divide into blocks . Denote . Since is SC-invariant, repeatedly applying Lemma 3 reveals that commutes with . By Theorem 1, commutes with . Therefore, commutes with . Then the theorem can be proved by Lemma 4.
If , without loss of generality, assume and . Define . (This can be achieved by transformations in Lemma 1.) From Lemma 3, commutes with only if commutes with for .
From inductive hypothesis, for all , one of and holds. Now we are going to prove one of and must hold. We consider the following three cases:
1) If , then . Since with is an automorphism of , for any permutations that permutes to for , is equal to . Therefore, implies . Thus, must hold.
2) If , similarly, must hold.
3) If and . By properties of affine automorphism group, implies . Thus
Similarly,
Then and , which is contradictory against automorphism group.
∎
From Algorithm 1, SC-invariance of only depends on the block lower-triangular structure of . Thus, we can prove the following theorem.
Theorem 3.
is in the form of BLTA.
Proof.
Let be a block lower-triangular matrix with satisfying commutes with and is as small as possible. Then BLTA. Now assume BLTA but BLTA BLTA. Then there must exist some such that . Let be a permutation matrix which permutes and and keeps the other positions invariable, then BLTA. However, and , which is contradictory against that is as small as possible. ∎
In Algorithm 1, we determine whether an affine automorphism commutes with . With Algorithm 2, we further determine the complete SC-invariant affine automorphism group BLTA(DecGroup.
Without loss of generalization, assume . We first determine , then can be obtained by calling the algorithm recursively.
First, is determined by the loop in line 6. For , divide to blocks. We have if and only if is the largest integer such that all frozen bits belong to the first block (line 9) or all information bits belong to the last block (line 13). If for all , the above conditions are not satisfied, we have .
If , can be recursively obtained by calling the algorithm with (line 10) when or (line 14) when . If , BLTA is the intersection of the SC-invariant affine automorphism groups of subcodes on the upper and lower half branches (lines 19-21). In line 21, Gro output the array satisfying BLTA = BLTA BLTA. Such exists and can be found by the following lemma.
Lemma 5.
The intersection of two BLTA groups is in the form of BLTA.
Proof.
We are going to find the BLTA group which is the intersection of BLTA and BLTA. Let , and is induced by , that is, . Next we are going to prove BLTA = BLTA BLTA.
It is clear that BLTA BLTA and BLTA BLTA. Therefore, we only need to prove BLTA BLTA BLTA. Assume . Now we consider for and . Without loss of generality, assume , By the construction of , we have . Then since . Therefore, BLTA. ∎
Remark 3.
Algorithm 2 selects each as its largest possible value such that Algorithm 1 will not output FALSE, so it will output the complete SC-invariant affine automorphism group. Otherwise, if there exists another SC-invariant automorphism not in the output group, from Theorem 3, there will be a larger SC-invariant BLTA automorphism group with some larger , which is a contradiction. Since the time complexity of one iteration is , the complexity of Algorithm 2 is .
Example 2.
We now determine the complete SC-invariant affine automorphism group of in Example 1 by Algorithm 2. For all , the conditions in line 9 and line 13 are not satisfied, so the last number of is 1. Then we call DecGroup and DecGroup. DecGroup will output and DecGroup will output . Then . Therefore, the complete SC-invariant affine automorphism group of is BLTA.
IV Simulation

Fig. 2 shows the block error rate (BLER) performance of the (256,128) polar code studied in [7] and [10]. The code is generated by and has affine automorphism group BLTA. In this case, , and it is shown that all the automorphisms in BLTA are futile in AE-SC decoding. Since the complete SC-invariant affine automorphisms are determined, the number of equivalent classes can be reduced from 68355 [10] to 9765.
Table 1 compares the number of SC-invariant affine automorphisms found in this paper with BLTA. Under several code constructions, the SC-invariant automorphism group can be larger than BLTA, which benefits applications requiring SC-invariant automorphisms.
V Conclusion
In this paper, we determine and prove the complete SC-invariant affine automorphisms for any specific decreasing polar code, which form a BLTA group. Compared to previous works, more SC-invariant affine automorphisms can be found according to our results. It helps us remove redundant permutations in AE-SC decoding and contributes to other applications requiring SC-invariant automorphisms.
References
- [1] E. Arikan, “Channel Polarization: A Method for Constructing Capacity-Achieving Codes for Symmetric Binary-Input Memoryless Channels,” in IEEE Transactions on Information Theory, vol. 55, no. 7, pp. 3051-3073, July 2009.
- [2] I. Tal and A. Vardy, “List Decoding of Polar Codes,” in IEEE Transactions on Information Theory, vol. 61, no. 5, pp. 2213-2226, May 2015.
- [3] K. Niu and K. Chen, “CRC-Aided Decoding of Polar Codes,” in IEEE Communications Letters, vol. 16, no. 10, pp. 1668-1671, October 2012.
- [4] N. Doan, S. A. Hashemi, M. Mondelli and W. J. Gross, “On the Decoding of Polar Codes on Permuted Factor Graphs,” 2018 IEEE Global Communications Conference (GLOBECOM), 2018, pp. 1-6.
- [5] M. Geiselhart, A. Elkelesh, M. Ebada, S. Cammerer and S. t. Brink, “Automorphism Ensemble Decoding of Reed–Muller Codes,” in IEEE Transactions on Communications, vol. 69, no. 10, pp. 6424-6438, Oct. 2021.
- [6] M. Bardet, V. Dragoi, A. Otmani and J. -P. Tillich, “Algebraic properties of polar codes from a new polynomial formalism,” 2016 IEEE International Symposium on Information Theory (ISIT), 2016, pp. 230-234.
- [7] M. Geiselhart, A. Elkelesh, M. Ebada, S. Cammerer and S. ten Brink, “On the Automorphism Group of Polar Codes,” 2021 IEEE International Symposium on Information Theory (ISIT), 2021, pp. 1230-1235.
- [8] Y. Li, H. Zhang, R. Li, J. Wang, W. Tong, G. Yan, Z. Ma, (2021). The Complete Affine Automorphism Group of Polar Codes. arXiv preprint arXiv:2103.14215.
- [9] C. Pillet, V. Bioglio and I. Land, “Polar Codes for Automorphism Ensemble Decoding,” 2021 IEEE Information Theory Workshop (ITW), 2021, pp. 1-6.
- [10] C. Pillet, V. Bioglio and I. Land, (2021). Classification of Automorphisms for the Decoding of Polar Codes. arXiv preprint arXiv:2110.14438.
- [11] H. Luo et al., “Analysis and Application of Permuted Polar Codes,” IEEE Global Communications Conference (GLOBECOM), Abu Dhabi, United Arab Emirates, 2018, pp. 1-5.
- [12] C. Schürch, “A partial order for the synthesized channels of a polar code,” 2016 IEEE International Symposium on Information Theory (ISIT), 2016, pp. 220-224.
- [13] G. Sarkis, P. Giard, A. Vardy, C. Thibeault and W. J. Gross, “Fast Polar Decoders: Algorithm and Implementation,” in IEEE Journal on Selected Areas in Communications, vol. 32, no. 5, pp. 946-957, May 2014.