arXiv:2611.06874cs.AINov 2026

Manuscript Offprint

arXiv:2611.06874

Learning to Decode Linear Codes with Generalized Belief Propagation Network

Samira Malek

Samira Malek, Pennsylvania State University, Graduate Student Member, IEEE

Abstract—Error correcting codes are a fundamental component of communication systems, enabling reliable data transmission over noisy channels. Recently, neural decoders have demonstrated notable performance gains over classical iterative algorithms. In this paper, we propose a Generalized Belief Propagation Network (GBPNet) that preserves symmetry conditions while enhancing its learning capability. The resulting architecture implicitly gives rise to fully connected transformations via the generalized variable-node updates across iterations, alongside learned element-wise scaling operation that enhance decoding performance, while retaining the Tanner graph structure. In addition, we introduce two effective training strategies—progressive training and high-SNR training—that significantly improve decoding accuracy. Experimental results on various linear codes show that the proposed GBPNet consistently outperforms conventional BP and state-of-the-art neural decoding.

I. INTRODUCTION

Error correcting codes play a fundamental role in reliable communication over noisy channels. Recently, deep learning-based decoders have shown promising performance, sometimes surpassing traditional decoding algorithms. Early approaches formulated decoding as a classification problem, where each codeword corresponds to a distinct class. However, because the number of codewords grows exponentially with the code length, the resulting classification task becomes computationally intractable for long codes. Consequently, such methods are generally limited to short codes [1], [2].

A syndrome-based deep learning framework was introduced in [3], enabling training with a single reference codeword while maintaining identical performance across all codewords. Building on this idea, subsequent works employed more expressive architectures, including Transformers [4], [5] and graph-attention networks [6]. However, these methods transform the received sequence into a syndrome-based representation and treat decoding primarily as an error-pattern prediction task, without explicitly exploiting the probabilistic dependencies and iterative message-passing structure of the Tanner graph.

Nachmani et al. [7] proposed a neural belief propagation (BP) decoder by unfolding BP iterations into a deep neural network. The method can be trained using only the all-zero codeword while explicitly exploiting the Tanner graph and iterative message-passing structure. Building on this framework, several BP-based neural decoders have been developed, including Hyper-Graph Network decoders [8], Tensor-Ring Neural BP decoders [9], and Adaptive Learned BP decoders [10], [11], which improve decoding performance through learnable message-update parameters.

Despite their success, existing BP-based neural decoders primarily rely on conventional BP. In contrast, GBPNet introduces generalized variable-node update rules that implicitly realize small fully connected blocks within the BP framework, together with learned scaling messages operation that enables richer message interactions across decoding iterations while preserving the Tanner graph structure. Furthermore, progressive training and high-SNR training strategies are developed to improve decoding performance. The symmetry condition is also proven to be preserved, enabling codeword-independent training. Experimental results on multiple linear codes demonstrate that GBPNet consistently outperforms conventional BP and state-of-the-art deep methods.

The remainder of this paper is organized as follows. After reviewing BP-based neural decoders in Section II, the generalized BP framework and the GBPNet architecture are presented in Section III. The symmetry condition of GBPNet is established in Section IV, showing that training on the all-zero codeword yields identical performance for all codewords. Experimental results and comparisons with state-of-the-art methods are provided in Section V. Finally, conclusions are drawn in Section VI.