Equivalence Classes in Pre-Transformed Polar Codes
- The paper introduces an equivalence-class framework that preserves Hamming weight distributions across pre-transformed polar codes.
- It employs cyclic shifts of generator rows to partition pre-transformation matrices, significantly reducing the search complexity for weight analysis.
- Empirical results show that optimizing the expanded information set can yield up to a 16-fold speed-up in weight distribution computations for PAC codes.
Pre-transformed polar codes are an important class of linear block codes that generalize the classical polar construction by applying an invertible, typically upper-triangular, pre-transformation matrix before the standard polar encoding. The introduction of equivalence classes for pre-transformation matrices provides a structural basis to optimize algorithmic complexity, particularly for calculating code weight distributions, without altering core code properties like the minimum distance. These equivalence classes capture the inherent symmetries of pre-transformed polar codes under transformations generated by cyclic shifts of rows of the polar kernel, leading to profound practical simplifications in code analysis and implementation.
1. Pre-Transformations and the Polar Code Structure
Let denote the code length, and let be the standard polar generator matrix, with . A pre-transformation is defined by an upper-triangular binary matrix with ones on the diagonal. The generator matrix for pre-transformed polar codes is then given by , and codewords are generated as with , where and are the information and frozen sets, respectively (Liu et al., 12 Jan 2026).
This structure generalizes polarization-adjusted convolutional (PAC) codes, where the pre-transformation is a Toeplitz matrix determined by a binary connection polynomial . Every PAC code is thus a special case of pre-transformed polar codes and may be viewed as a serial concatenation of a cyclic inner code and an outer polar- or Reed–Muller-like code (Moradi, 2023).
2. Equivalence Relation on Pre-Transformation Matrices
To exploit symmetries in code structure and computational complexity, an equivalence relation on pre-transformation matrices is defined. Two pre-transform matrices and are declared equivalent, , if there exists an such that , where is the shift-generated pre-transform based on the -th row of :
Here, denotes the cyclic shift by positions of the vector (Liu et al., 12 Jan 2026). This equivalence relation is reflexive, symmetric, and transitive, partitioning the space of pre-transforms into classes of size at most .
3. Invariance of Weight Distribution within Equivalence Classes
A central theoretical result is that codes generated by any two equivalent pre-transformation matrices share the identical Hamming weight distribution. That is, for all ,
whenever
This follows because right multiplication by cyclically shifts the generator rows, so each codeword of maps bijectively to a codeword of by a cyclic shift, which preserves Hamming weight. Thus, properties such as minimum distance, weight spectrum, and error rate bounds remain invariant under this group action (Liu et al., 12 Jan 2026).
4. Optimization of the Expanded Information Set and Algorithmic Implications
Despite equal weight distributions across an equivalence class, the recursive complexity of algorithms—such as the Parity-Consistent Decomposition (PCD) method for weight distribution computation—depends on the size of the so-called "Expanded Information Set" . For a given pre-transformation , the cost of computing the weight distribution via PCD is with .
By exhaustively searching only over the at most members of an equivalence class, one finds the that minimizes . This minimizes the branching factor and thus exponential complexity, yielding speed-ups proportional to , where is the reduction in the expanded information set size compared to an arbitrary class representative (Liu et al., 12 Jan 2026).
A canonical procedure for this optimization is as follows (see (Liu et al., 12 Jan 2026)):
| Step | Operation | Complexity |
|---|---|---|
| 1 | Precompute all (rows of ) | |
| 2 | For each : | |
| 2a | --- Form | |
| 2b | --- Compute , using Algorithm 1 | |
| 3 | Choose with minimal | |
| 4 | Compute WD by PCD with |
This reduces the naïve search over upper-triangular to evaluating only candidates.
5. Examples and Empirical Results
Empirical results demonstrate the significance of the equivalence-class method. In a length-128 PAC code, application of this method reduced the expanded information set by 4 bits, resulting in a 16-fold (i.e., ) speed-up in PCD-based weight distribution calculation. Over random instances at lengths 128 and 256, the probability of any reduction in increased from approximately (without equivalence optimization) to using the equivalence-class strategy (Liu et al., 12 Jan 2026).
Explicit examples with small (e.g., ) confirm that, for and , the complete weight distribution matches, and codewords relate through cyclic shifts.
6. Broader Consequences for Polar Coding Theory
The equivalence-class structure reinforces and generalizes classical results about code automorphisms and isomorphisms within coding theory. It rigorously underpins the observed performance equivalence of cyclically shifted pre-transform variants and justifies their use in practical code design and algorithm optimization. For PAC codes, this theory confirms their algebraic equivalence to concatenated cyclic-polar schemas (Moradi, 2023), explaining their improved minimum distance and empirical error rates over conventional polar- and RM-like designs. In emerging decoding approaches such as Subcode Ensemble Decoding (ScED), the pre-transform framework enables the construction of ensembles and subcode partitions without altering critical code metrics, permitting fine-grained trade-offs in complexity and performance (Lulei et al., 24 Apr 2025).
A plausible implication is that further advances in polar code optimization—whether for error analysis, implementation efficiency, or list-decoding performance—will systematically invoke this equivalence-class framework as a foundation for both theoretical results and engineering heuristics.