Abstract
Error-correcting codes (ECCs) are fundamental to reliable communication over noisy channels. Transformer-based neural decoders achieve strong ECC decoding performance, but attention operations cause computational complexity to grow substantially with code length. We propose Cross-Selective Scan Message-Passing Mamba (CrossMPM), a low-complexity Mamba-based neural decoder, to address this issue. CrossMPM replaces cross-attention-based information exchange between magnitude and syndrome vectors in Cross-Attention Message-Passing Transformer (CrossMPT) with Tanner-graph projection and Cross-Selective Scan State-Space Model (Cross-Selective Scan SSM). Tanner-graph projection aggregates connected node representations according to the parity-check matrix to incorporate code structure, while Cross-Selective Scan SSM dynamically generates selection parameters from the aggregated representations to control state updates and outputs. CrossMPM thus models local parity constraints and long-range dependencies without attention operations and reduces computational complexity. Simulation results show that CrossMPM achieves competitive decoding performance with lower computational complexity than CrossMPT and Hybrid Mamba-Transformer Decoder (ECCM), and this performance is maintained at longer code lengths. These results show that CrossMPM provides a favorable trade-off between error correction performance and computational efficiency.
1. Introduction
Error-correcting codes (ECCs) are a fundamental technology for ensuring reliable data transmission by detecting and correcting errors that occur over noisy communication channels. Iterative decoding algorithms such as belief propagation (BP) and min-sum (MS) have been widely used as conventional methods that directly exploit code structure for decoding [1,2]. Along with these algorithmic approaches, deep learning-based ECC decoders that directly learn decoding rules from data have been actively studied in recent years [3,4,5,6]. Neural decoders can be broadly classified into model-based approaches, which introduce trainable parameters into the operations of existing decoding algorithms [3,4,6,7,8,9], and model-free approaches, which learn the decoding process using general neural network architectures without relying on a specific decoding algorithm [5,10,11].
Model-free neural decoders may suffer from overfitting because the number of possible codewords increases exponentially with code length, resulting in degraded generalization performance for codewords unseen during training [10]. To alleviate this problem, Bennatan et al. introduced syndrome-based preprocessing, which uses the magnitude and syndrome of the received signal as inputs to the neural decoder [10]. The neural decoder predicts multiplicative noise from these two inputs, and this preprocessing allows a model trained only on the all-zero codeword to be applied to the decoding of other transmitted codewords.
Transformer-based ECC decoders using syndrome-based preprocessing have been developed and have shown effective decoding performance across various linear block codes. The Error Correction Code Transformer (ECCT) [12] introduced the Transformer architecture to ECC decoding by combining the magnitude and syndrome into a single sequence and applying a mask generated from the parity-check matrix to self-attention to incorporate the structural relationships of the code. Subsequently, the Cross-Attention Message-Passing Transformer (CrossMPT) [13] was proposed to maintain the magnitude and syndrome as separate representations and iteratively update them through masked cross-attention. However, the cross-attention in CrossMPT computes attention scores between the magnitude and syndrome, resulting in high computational and memory costs when processing longer codewords. This computational burden can limit the scalability of Transformer-based decoders to longer codes.
Several approaches have been proposed to alleviate the computational burden of Transformer-based decoders. Accelerating ECCT (AECCT) [14] reduces the computational and memory costs of ECCT through ternary weight quantization and head partitioning self-attention (HPSA). Efficient Message-Passing Transformer (EfficientMPT) [15] retains the iterative update structure for the magnitude and syndrome in CrossMPT while introducing Efficient Error-Correcting (EEC) attention, which replaces conventional attention matrix multiplication with element-wise operations using a global query.
Along with these approaches to reducing the computational complexity of attention, studies have also explored the use of Mamba [16], which is based on a selective scan state-space model (SSM). SSMs model long-range dependencies by accumulating and propagating sequence information through hidden states. Mamba dynamically generates input-dependent selection parameters to control how new information is incorporated into the hidden state and how existing information is retained. Through these sequential state updates, Mamba models long-range dependencies without computing pairwise attention scores and has linear computational complexity with respect to sequence length. To exploit these advantages of Mamba for ECC decoding, the Hybrid Mamba-Transformer Decoder (ECCM) [17] was proposed, employing a hybrid architecture composed of Mamba and Transformer blocks and applying masks generated from the parity-check matrix to the SSM and self-attention operations.
However, ECCM does not maintain the magnitude and syndrome as separate representations despite their distinct roles in decoding but instead combines them into a single sequence of length . Because Mamba blocks and Transformer blocks are alternately applied to this sequence, the increased sequence length resulting from combining the magnitude and syndrome further increases the computational burden of self-attention. Consequently, the efficient sequence modeling capability of Mamba does not directly translate into a reduction in overall computational cost, and in our experiments, ECCM exhibited higher floating-point operations (FLOPs) than CrossMPT despite its Mamba-based hybrid architecture. Taken together, these architectural and computational limitations highlight the need for a Mamba-based decoder architecture that enables effective structural interaction between the magnitude and syndrome without relying on Transformer blocks.
Therefore, in this paper, we propose Cross-Selective Scan Message-Passing Mamba (CrossMPM), a Mamba-based ECC decoder. CrossMPM maintains the magnitude and syndrome as separate representations of lengths n and , respectively, and replaces the information exchange between the two representations performed by the cross-attention in CrossMPT with Tanner-graph projection and Cross-Selective Scan State-Space Model (Cross-Selective Scan SSM). Specifically, Tanner-graph projection aggregates the representations of connected nodes according to the connections between variable nodes (VNs) and check nodes (CNs) defined by the parity-check matrix, projecting the syndrome representation into the VN domain and the magnitude representation into the CN domain to incorporate the structural relationships between the two representations. Cross-Selective Scan SSM then generates selection parameters conditioned on the projected representations of connected nodes to dynamically control the state updates and outputs of each representation.
This design enables CrossMPM to effectively exploit the complementary information in the magnitude and syndrome and achieve competitive decoding performance with lower computational complexity than CrossMPT and ECCM.
The main contributions of this paper are as follows:
- We propose CrossMPM, a Mamba-based ECC decoder that maintains the magnitude and syndrome as separate representations and iteratively updates them.
- We propose Tanner-graph projection, which, based on Tanner-graph connectivity, projects the representations of connected nodes into the domain of the nodes being updated. We also propose Cross-Selective Scan SSM, which dynamically controls the state updates and outputs of the representations being updated based on the projected information from connected nodes.
- Through experiments on various low-density parity-check (LDPC) codes with code lengths ranging from tens to hundreds of bits, we demonstrate that CrossMPM achieves competitive decoding performance with low computational complexity. Specifically, for LDPC , CrossMPM reduced FLOPs and peak training GPU memory consumption by 65.91% and 15.22%, respectively, compared with ECCM. For the longer LDPC , the corresponding reductions were 48.90% and 54.94%, respectively, compared with CrossMPT.
2. Background
2.1. Error-Correcting Codes
A binary linear block code C is defined by a generator matrix and a parity-check matrix , and the two matrices satisfy under modulo-2 operations. A message of length k is encoded into a codeword of length n through . The codeword is then mapped to through binary phase-shift keying (BPSK) modulation. The modulated signal is transmitted over an additive white Gaussian noise (AWGN) channel, and the received signal is expressed as follows:
where is the received signal vector, is the AWGN vector, is the channel noise variance, and is the identity matrix. The objective of the decoder is to recover the transmitted codeword from the received signal . To this end, a hard decision is applied to the received signal to obtain the following binary vector.
where the function returns if and otherwise, while and . The syndrome is then computed using and the parity-check matrix as follows:
If , then is a valid codeword that satisfies all parity-check equations of the code. In contrast, if , then one or more parity-check equations are violated.
In this paper, we use syndrome-based preprocessing [10], and the decoder input consists of the magnitude of the received signal and the syndrome . The continuous multiplicative noise is defined as follows:
where ⊙ denotes element-wise multiplication. The sign of is then used to define the binary multiplicative noise target for training.
2.2. State Space Models
SSMs accumulate and propagate sequence information through hidden states, enabling efficient modeling of long-range dependencies. The Structured State Space Sequence (S4) model [18], a well-known structured SSM, processes sequence information in a recurrent or convolutional manner based on linear dynamical systems and the High-order Polynomial Projection Operators (HiPPO) framework [19]. However, conventional structured SSMs are linear time-invariant (LTI) systems that use the same parameters at all sequence positions, which limits their ability to selectively incorporate information based on the input content.
To address this limitation, Mamba [16] introduces a selective scan SSM that dynamically generates the selection parameters based on the input. The selective scan SSM incorporates and retains relevant information in the hidden state based on the input content at each position while selectively suppressing unnecessary information. Unlike self-attention, which computes pairwise interactions among all positions, the selective scan SSM sequentially updates the hidden state along the sequence and therefore has linear computational complexity with respect to sequence length. Based on these characteristics, Mamba demonstrated up to five times the inference throughput of Transformers and achieved state-of-the-art performance across various domains, including language, audio, and genomics. Accordingly, Mamba has emerged as an efficient alternative to Transformers for processing long sequences.
3. Methods
CrossMPM maintains the magnitude, which represents the reliability of the received signal, and the syndrome, which represents the parity-check results, as separate representations and exchanges information between the two representations through Tanner-graph projection and Cross-Selective Scan SSM. The overall architecture of CrossMPM is shown in Figure 1. The proposed model generates the initial magnitude and syndrome representations from the received signal and then predicts bit-wise multiplicative noise through N decoder blocks. Each decoder block sequentially updates the magnitude and syndrome, and each update process consists of Tanner-graph projection, a Cross-Mamba block that applies Cross-Selective Scan SSM, a gated residual connection, and a feed-forward network (FFN).
Figure 1.
Architecture of the proposed CrossMPM.
3.1. Initial Embedding Layer
The input representations and are embedded element-wise into d-dimensional representations through node-specific trainable parameters. Each element of the magnitude and syndrome is projected into a d-dimensional representation through a node-specific trainable embedding vector and bias. Accordingly, the initial magnitude representation of the ith VN and the initial syndrome representation of the jth CN are defined, respectively, as follows:
where and are the trainable embedding vectors and biases for each node, and d denotes the embedding dimension. By concatenating the representations of all nodes, the initial magnitude and syndrome representations are given as follows:
where denotes concatenation and combines the representations of the nodes along the node dimension. The resulting and pass through N decoder blocks and are sequentially and iteratively updated.
3.2. Decoder Block
3.2.1. Tanner-Graph Projection
Tanner-graph projection aggregates the representations of the connected nodes for each node by taking their mean according to the connections defined by the parity-check matrix and projects them into the representation domain of the target nodes. In the magnitude update of the lth decoder block, the syndrome representations of the CNs connected to each VN are aggregated. The set of CNs connected to the ith VN is defined as follows:
The syndrome representation passed to the corresponding VN is given as follows:
where is the number of CNs connected to the ith VN, and is the syndrome representation of the jth CN input to the current decoder block. Applying this process to all VNs yields the syndrome representation , which has the same size as the magnitude representation .
In the syndrome update, the previously updated magnitude representation is used to aggregate information from the VNs connected to each CN. The set of VNs connected to the jth CN is defined as follows:
The magnitude representation passed to the corresponding CN is computed as follows:
where is the number of VNs connected to the jth CN, and is the updated magnitude representation of the ith VN in the current decoder block. Applying this process to all CNs yields the magnitude representation , which has the same size as the syndrome representation .
Since each CN corresponds to a parity-check constraint defined by the parity-check matrix , aggregating the syndrome representations of CNs connected to each VN provides information related to the local parity checks involving that VN. Similarly, aggregating the magnitude representations of VNs connected to each CN provides information about the variables involved in its corresponding parity-check constraint. Thus, Tanner-graph projection makes structural information associated with local parity-check constraints available for the subsequent updates of the magnitude and syndrome representations.
3.2.2. Cross-Mamba Block
The Cross-Mamba block consists of an SSM path and a gate path that process the current node representation, and the proposed Cross-Selective Scan SSM is applied to the SSM path. Since Tanner graphs do not have a natural sequential ordering, the magnitude and syndrome sequences are arranged according to the variable node indices corresponding to the columns of the parity-check matrix and the check node indices corresponding to its rows, respectively. To incorporate bidirectional information from each sequence, the Cross-Mamba block performs forward and backward Selective Scans in ascending and descending node-index order, respectively. Figure 2 illustrates the architecture of the Cross-Mamba block that updates the magnitude representation.
Figure 2.
Architecture of the Cross-Mamba block.
First, in the SSM path, normalization and linear projection are applied to the current magnitude representation , and the SSM input is then generated through one-dimensional (1D) convolution and the sigmoid linear unit (SiLU) activation function.
where is a trainable projection matrix, and is the SSM input for the magnitude representation. The 1D convolution extracts local features from the magnitude sequence, and the subsequent SSM propagates this information across the entire sequence. The proposed Cross-Selective Scan SSM uses , generated from the current magnitude representation, as the SSM input and generates the selection parameters , , and from the projected syndrome representation obtained through Tanner-graph projection. Each parameter is computed as follows:
where , , , and are trainable parameters. r denotes the intermediate projection dimension for generating , and denotes the state dimension of the SSM. is an intermediate representation for generating , and denotes the discretization time step of the SSM. In addition, denote the input matrix and output matrix of the SSM, respectively. Following the selective SSM discretization in Mamba [16], using generated at position t, and are discretized as follows:
where and denote the corresponding row vectors at position t, and is a trainable state transition parameter. Accordingly, . The operator constructs a diagonal matrix from a vector, and is applied element-wise.
Using the discretized parameters, the SSM operation is performed as follows:
where is the hidden state at the tth VN, and is the SSM output generated at that position. is the output parameter at position t, and is a trainable parameter that directly incorporates the SSM input into the output. The initial hidden state is set to . The Cross-Selective Scan SSM sequentially processes the sequence arranged according to node indices, updating the hidden state at each position using the previous hidden state and the current SSM input. The selection parameters generated from the syndrome representation aggregated through Tanner-graph projection regulate the state updates and output generation by incorporating information related to local parity-check constraints. In particular, the position-dependent selection parameters control the retention of previously accumulated information and the incorporation of new input information, while the updated hidden state is propagated to subsequent positions. This enables the SSM to model dependencies between distant positions in the sequence.
Meanwhile, in the gate path, the gate representation is generated from the current magnitude representation as follows:
where is a trainable projection matrix. The gate representation and the previously obtained SSM output undergo element-wise multiplication, followed by output projection to generate the Mamba output.
where is a trainable output projection matrix, and is the Mamba output. The above operations are performed in both the forward and backward directions using separate model parameters. The backward output is restored to the original node order, and the final output of the Cross-Mamba block is generated by summing the outputs from both directions as follows:
where and are the forward and backward Mamba outputs, respectively, and is the final output that combines information from both directions.
The same Cross-Mamba block is also applied to the syndrome representation. In this case, the SSM input and gate representation are generated from the current syndrome representation , while , , and are generated from the magnitude representation obtained through Tanner-graph projection. Using these parameters, the SSM operation for the syndrome representation is performed conditioned on the magnitude representation, and the forward and backward outputs are summed to generate the final Mamba output .
3.2.3. Gated Residual Connection and Feed-Forward Network
The output generated by the Cross-Mamba block is selectively incorporated into the existing node representation through a gated residual connection. For the magnitude representation, a gate is first generated using the previous magnitude representation and the output of the Cross-Mamba block as follows:
where the concatenation is performed along the feature dimension, and is the sigmoid function. and are trainable parameters for generating the gate, and is the gate for the magnitude representation. The generated gate selectively controls the contribution of the Cross-Mamba block output to the existing magnitude representation. The gated residual connection is performed as follows:
This preserves the magnitude information passed from the previous decoder block while selectively incorporating the information generated by the Cross-Mamba block, resulting in .
Subsequently, an FFN and a residual connection are applied to to generate the final magnitude representation of the lth decoder block.
The same gated residual connection and FFN are applied to the syndrome representation. A gate is generated from the previous syndrome representation and the output of the Cross-Mamba block, and the gated residual connection and FFN are then sequentially applied to generate the syndrome representation of the lth decoder block.
The resulting and are used as the outputs of the lth decoder block and are passed to the next decoder block as inputs.
3.3. Output Prediction and Training Objective
CrossMPM predicts multiplicative noise using the magnitude and syndrome representations updated in each decoder block. The two representations of the lth decoder block are concatenated along the node dimension as follows:
Normalization and two fully connected (FC) layers are sequentially applied to the concatenated representation. The first FC layer reduces the d-dimensional representation of each node to a scalar, and the second FC layer transforms the information from nodes into an n-dimensional multiplicative noise prediction. The prediction of the lth decoder block is computed as follows:
where and are the trainable parameters of the first FC layer, and and are the trainable parameters of the second FC layer.
During training, the same output prediction layer is applied to all decoder blocks to generate the predictions . During inference, generated by the final decoder block is used as the final multiplicative noise prediction, and the decoded codeword is computed as follows:
The binary multiplicative noise target used for training is obtained from the sign of the multiplicative noise as follows:
The proposed model applies a layer-wise loss to the prediction of every decoder block. The binary cross-entropy loss between the prediction generated by the lth decoder block and the target multiplicative noise is defined as follows:
The losses computed at each decoder block are summed across the layers to construct the final training objective of the proposed model as follows:
This provides a direct training signal to every decoder block, allowing the magnitude and syndrome representations to be progressively refined at each stage.
4. Experimental Results
To evaluate the performance of the proposed model, we followed the same training protocol as CrossMPT [13]. We trained the model for a total of 1000 epochs using the Adam optimizer [20], where each epoch consisted of 1000 minibatches with 128 samples per minibatch. The initial learning rate was set to and decayed to over 1000 epochs using a cosine decay scheduler, with the learning rate updated at the end of each epoch and no warmup applied. No separate validation set or early stopping was used. The received signals used for training were generated based on the all-zero codeword with AWGN sampled over an range from 3 dB to 7 dB. Evaluation was performed on randomly generated codewords, and the simulation was repeated until at least 500 frame errors were observed at each of 4, 5, and 6 dB. As the performance metric, we used the negative natural logarithm of the bit error rate (BER), , where a higher value indicates better decoding performance. Our experiments were conducted using an NVIDIA GeForce RTX 5090 GPU and an AMD Ryzen Threadripper PRO 5955WX 16-Core Processor.
4.1. Decoding Performance Evaluation
We selected LDPC codes because their sparse parity-check matrices make them well suited for examining the information exchange between nodes through Tanner-graph projection. Table 1 compares the decoding performance of BP, autoregressive belief propagation (AR BP), ECCT, CrossMPT, ECCM, and the proposed CrossMPM on various LDPC codes. The results of the BP-based decoder were obtained using 50 decoding iterations. To minimize the effect of model size, ECCT, CrossMPT, ECCM, and CrossMPM were compared with approximately trainable parameters each. The best results are shown in bold, and a dash (–) indicates that the corresponding result was not reported in the original study. The decoding performance results of ECCM were taken from the original study rather than obtained by retraining it under the same training protocol as CrossMPM. In the original study, ECCM was trained over an range of 2 dB to 7 dB using the Adam optimizer and a cosine learning-rate schedule, with the learning rate decreasing from to .
Table 1.
Comparison of decoding performance.
CrossMPM achieved better decoding performance than CrossMPT across all codes and conditions. Compared with ECCM, CrossMPM also achieved higher values under most conditions. For a more intuitive comparison, Figure 3 presents the BER curves corresponding to the results in Table 1 for four LDPC codes at values of 4, 5, and 6 dB.
Figure 3.
Comparison of BER performance. (a) LDPC (49, 24). (b) LDPC (121, 60). (c) LDPC (121, 70). (d) LDPC (121, 80).
To evaluate the decoding performance of CrossMPM on longer codes, experiments were conducted on wireless regional area network (WRAN) LDPC (384, 320) and LDPC (529, 440). For a fair comparison, the numbers of trainable parameters of CrossMPT and CrossMPM were set to approximately 0.26 M for WRAN LDPC (384, 320) and approximately 0.43 M for LDPC (529, 440). As shown in Table 2, CrossMPM achieved higher values than CrossMPT for both codes. Specifically, for WRAN LDPC (384, 320), CrossMPM achieved higher values than CrossMPT by 0.03, 0.11, and 0.06 at 4, 5, and 6 dB, respectively. For LDPC (529, 440), larger differences of 0.38, 1.86, and 2.32 were observed at the corresponding values. These results indicate that the decoding performance improvements of CrossMPM are not limited to short LDPC codes but are also maintained for the two longer LDPC codes evaluated in this study.
Table 2.
Comparison of decoding performance for longer LDPC codes.
4.2. Computational and Memory Efficiency Analysis
Following the decoding performance analysis, we compared computational and memory efficiency. Table 3 and Table 4 present the number of trainable parameters, FLOPs, and peak training GPU memory consumption for short and longer LDPC codes, respectively.
Table 3.
Comparison of the number of parameters, FLOPs, and peak training GPU memory.
Table 4.
Comparison of the number of parameters, FLOPs, and peak training GPU memory for longer LDPC codes.
First, Table 3 compares the three models on four short LDPC codes, with approximately 1.2 M trainable parameters for each model. The results show that CrossMPM achieved lower FLOPs than CrossMPT and ECCM across all codes, with reductions of 28.96% and 65.91%, respectively, for LDPC (121, 60). In terms of peak training GPU memory consumption, CrossMPM used less memory than ECCM across all codes but slightly more than CrossMPT. This may be attributed to the fact that a reduction in FLOPs does not necessarily lead to lower GPU memory consumption, as GPU memory usage during training can also be affected by various factors beyond computational cost, including intermediate activation storage and implementation details.
To further evaluate efficiency on longer LDPC codes, Table 4 compares the complexity of CrossMPT and CrossMPM for WRAN LDPC (384, 320) and LDPC (529, 440). The two models were configured to have similar numbers of parameters, approximately 0.26 M and 0.43 M for the respective codes. The results show that CrossMPM reduced FLOPs and peak training GPU memory consumption by 40.71% and 40.59%, respectively, compared with CrossMPT for WRAN LDPC (384, 320). For LDPC (529, 440), the corresponding reductions were 48.90% and 54.94%, respectively. Unlike the results for short LDPC codes, where CrossMPM exhibited slightly higher GPU memory consumption than CrossMPT, CrossMPM achieved substantial reductions in both computational cost and GPU memory consumption for the longer LDPC codes.
CrossMPM is designed to alleviate computational burden by replacing the cross-attention-based information exchange in CrossMPT with Tanner-graph projection and Cross-Selective Scan SSM. These experimental results indicate that the proposed architecture is effective in improving computational efficiency and suggest that its advantages in terms of computational and memory efficiency may become more pronounced for longer LDPC codes.
4.3. Ablation Study
To investigate the contribution of the core components of CrossMPM to decoding performance, an ablation study was conducted on LDPC (49, 24). We evaluated variants in which Tanner-graph projection was removed, Cross-Selective Scan SSM was replaced with the conventional Selective Scan SSM of Mamba, the backward scan was removed, gated residual connection was replaced with a standard residual connection, or layer-wise loss was removed. Table 5 compares the decoding performance of these variants at values of 4, 5, and 6 dB.
Table 5.
Ablation study of CrossMPM on LDPC (49, 24) in terms of .
The results show that removing Tanner-graph projection or replacing Cross-Selective Scan SSM with the conventional Selective Scan SSM of Mamba substantially degraded decoding performance. In particular, at 6 dB, the full CrossMPM achieved a value of 13.40, whereas the variants without Tanner-graph projection and Cross-Selective Scan SSM achieved values of 6.53 and 6.76, respectively. These results highlight the importance of information exchange based on Tanner-graph connectivity and the Cross-Selective Scan SSM for decoding performance. Removing the backward scan or layer-wise loss also resulted in lower decoding performance across all conditions. In contrast, replacing gated residual connection with a standard residual connection resulted in relatively small performance differences. Overall, these findings demonstrate the contributions of the core components of CrossMPM, particularly Tanner-graph projection and Cross-Selective Scan SSM, to its decoding performance.
5. Conclusions
In this paper, we proposed CrossMPM, a low-complexity Mamba-based neural decoder. The proposed model is designed to effectively exchange information between the magnitude and syndrome while reducing the computational burden associated with attention in existing Transformer-based decoders. CrossMPM maintains the two representations separately and sequentially updates them, exchanging information through Tanner-graph projection and Cross-Selective Scan SSM. Tanner-graph projection aggregates information from connected nodes according to the connections defined by the parity-check matrix, thereby incorporating code structure into the information exchange between the magnitude and syndrome. Cross-Selective Scan SSM uses the current representation as the input for state updates and generates selection parameters from the projected representations of connected nodes to dynamically control the state update at each position.
In experiments on various LDPC codes, CrossMPM achieved better decoding performance than CrossMPT under all evaluation conditions with similar numbers of parameters and also achieved higher performance than ECCM under most conditions. CrossMPM achieved better performance than CrossMPT on WRAN LDPC and LDPC , confirming that the performance improvement is not limited to short codes. In terms of computational and memory efficiency, CrossMPM reduced FLOPs and peak training GPU memory consumption by 65.91% and 15.22%, respectively, compared with ECCM for LDPC . For the longer LDPC , the corresponding reductions were 48.90% and 54.94%, respectively, compared with CrossMPT. These results show that the proposed design provides a favorable trade-off between decoding performance and computational efficiency.
In future work, we will evaluate the decoding performance of CrossMPM on even longer LDPC codes and a wider range of code rates, and further investigate its scalability, generalization capability, and computational and memory efficiency across different code lengths. Although this study evaluated only LDPC codes, Tanner-graph projection uses the VN–CN connectivity defined by a parity-check matrix, which suggests that CrossMPM may be applicable to other linear block codes. We will investigate its decoding performance and computational efficiency on Bose–Chaudhuri–Hocquenghem (BCH) and polar codes, taking into account differences in their parity-check matrix structures and corresponding model configurations. We will also extend the evaluation to non-AWGN channels, including Rayleigh fading. To this end, we will investigate input representations that account for channel estimates and noise variance and evaluate the applicability of the Cross-Selective Scan SSM using these representations. Furthermore, we plan to investigate the use of signals obtained after active transmission detection and channel estimation as decoding inputs to CrossMPM in multi-user unsourced random access scenarios [21].
Author Contributions
Conceptualization, Y.C. and J.K.; methodology, Y.C.; software, Y.C.; validation, Y.C.; formal analysis, Y.C.; investigation, Y.C.; writing—original draft preparation, Y.C.; writing—review and editing, J.K.; visualization, Y.C.; supervision, J.K. All authors have read and agreed to the published version of the manuscript.
Funding
This work was supported by the “Regional Innovation System & Education (RISE)” through the Seoul RISE Center, funded by the Ministry of Education (MOE) and the Seoul Metropolitan Government (2025-RISE01-019-04). This work was supported by the Institute of Information & Communications Technology Planning & Evaluation (IITP) under the Artificial Intelligence Innovation Human Resources Development (IITP-2026-RS-2026-25549817) grant funded by the Korea government (MSIT).
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
Data are contained within the article.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Richardson, T.J.; Urbanke, R.L. The capacity of low-density parity-check codes under message-passing decoding. IEEE Trans. Inf. Theory 2001, 47, 599–618. [Google Scholar] [CrossRef] [Scilit]
- Fossorier, M.P.C.; Mihaljevic, M.J.; Imai, H. Reduced complexity iterative decoding of low-density parity check codes based on belief propagation. IEEE Trans. Commun. 1999, 47, 673–680. [Google Scholar] [CrossRef] [Scilit]
- Nachmani, E.; Be’ery, Y.; Burshtein, D. Learning to decode linear codes using deep learning. In Proceedings of the 2016 54th Annual Allerton Conference on Communication, Control, and Computing (Allerton), Monticello, IL, USA, 27–30 September 2016; pp. 341–346. [Google Scholar]
- Nachmani, E.; Marciano, E.; Lugosch, L.; Gross, W.J.; Burshtein, D.; Be’ery, Y. Deep learning methods for improved decoding of linear codes. IEEE J. Sel. Top. Signal Process. 2018, 12, 119–131. [Google Scholar] [CrossRef] [Scilit]
- Kim, H.; Jiang, Y.; Rana, R.; Kannan, S.; Oh, S.; Viswanath, P. Communication algorithms via deep learning. In Proceedings of the 6th International Conference on Learning Representations (ICLR), Vancouver, BC, Canada, 30 April–3 May 2018. [Google Scholar]
- Dai, J.; Tan, K.; Si, Z.; Niu, K.; Chen, M.; Poor, H.V.; Cui, S. Learning to decode protograph LDPC codes. IEEE J. Sel. Areas Commun. 2021, 39, 1983–1999. [Google Scholar] [CrossRef] [Scilit]
- Lugosch, L.; Gross, W.J. Neural offset min-sum decoding. In Proceedings of the 2017 IEEE International Symposium on Information Theory (ISIT), Aachen, Germany, 25–30 June 2017; pp. 1361–1365. [Google Scholar]
- Nachmani, E.; Wolf, L. Hyper-graph-network decoders for block codes. In Proceedings of the 33rd Conference on Neural Information Processing Systems (NeurIPS), Vancouver, BC, Canada, 8–14 December 2019; pp. 2326–2336. [Google Scholar]
- Nachmani, E.; Wolf, L. Autoregressive belief propagation for decoding block codes. arXiv 2021, arXiv:2103.11780. [Google Scholar]
- Bennatan, A.; Choukroun, Y.; Kisilev, P. Deep learning for decoding of linear codes—A syndrome-based approach. In Proceedings of the 2018 IEEE International Symposium on Information Theory (ISIT), Vail, CO, USA, 17–22 June 2018; pp. 1595–1599. [Google Scholar]
- Gruber, T.; Cammerer, S.; Hoydis, J.; ten Brink, S. On deep learning-based channel decoding. In Proceedings of the 2017 51st Annual Conference on Information Sciences and Systems (CISS), Baltimore, MD, USA, 22–24 March 2017; pp. 1–6. [Google Scholar]
- Choukroun, Y.; Wolf, L. Error correction code transformer. In Proceedings of the 36th Conference on Neural Information Processing Systems (NeurIPS), New Orleans, LA, USA, 28 November–9 December 2022; pp. 38695–38705. [Google Scholar]
- Park, S.-J.; Kwak, H.-Y.; Kim, S.-H.; Kim, Y.; No, J.-S. CrossMPT: Cross-attention message-passing transformer for error correcting codes. In Proceedings of the 13th International Conference on Learning Representations (ICLR), Singapore, 24–28 April 2025. [Google Scholar]
- Levy, M.; Choukroun, Y.; Wolf, L. Accelerating error correction code transformers. arXiv 2024, arXiv:2410.05911. [Google Scholar]
- Park, S.-J.; Park, T.; Kwak, H.-Y.; Kim, S.-H.; Kim, Y.; No, J.-S. Efficient message-passing transformer for error correcting codes. In Proceedings of the 14th International Conference on Learning Representations (ICLR), Rio de Janeiro, Brazil, 23–27 April 2026. [Google Scholar]
- Gu, A.; Dao, T. Mamba: Linear-time sequence modeling with selective state spaces. In Proceedings of the First Conference on Language Modeling (COLM), Philadelphia, PA, USA, 7–9 October 2024. [Google Scholar]
- Cohen, S.-E.; Choukroun, Y.; Nachmani, E. Hybrid Mamba–Transformer decoder for error-correcting codes. arXiv 2025, arXiv:2505.17834. [Google Scholar]
- Gu, A.; Goel, K.; Ré, C. Efficiently modeling long sequences with structured state spaces. In Proceedings of the 10th International Conference on Learning Representations (ICLR), Virtual Conference, 25–29 April 2022. [Google Scholar]
- Gu, A.; Dao, T.; Ermon, S.; Rudra, A.; Ré, C. HiPPO: Recurrent memory with optimal polynomial projections. In Proceedings of the 34th Conference on Neural Information Processing Systems (NeurIPS), Virtual Conference, 6–12 December 2020; pp. 1474–1487. [Google Scholar]
- Kingma, D.P.; Ba, J. Adam: A method for stochastic optimization. In Proceedings of the 3rd International Conference on Learning Representations (ICLR), San Diego, CA, USA, 7–9 May 2015. [Google Scholar]
- Shi, C.; Xie, Z.; Kang, P.; Cai, X.; Guo, L.; Fang, Y.; Chen, P. Enhanced pilot design for collision-resilient unsourced random access in massive MIMO. IEEE Trans. Wirel. Commun. 2026, 25, 17620–17633. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.


