Deep Learning for Decoding of Linear Codes - A Syndrome-Based Approach

Amir Bennatan, Yoni Choukroun, Pavel Kisilev

Abstract

This paper addresses the challenge of training deep neural networks (DNNs) for channel decoding, where the vast number of possible codewords typically leads to overfitting. The authors propose a syndrome-based approach that makes the decoder invariant to the transmitted codeword by focusing on noise estimation rather than message recovery. By utilizing the syndrome and signal reliabilities as sufficient statistics, the framework allows for the use of powerful, unconstrained architectures like Recurrent Neural Networks (RNNs). Experimental results on BCH codes demonstrate that this approach significantly outperforms standard Belief Propagation and approaches the performance of near-optimal classical decoders.

Introduction

Channel decoding is a critical component of digital communication systems, responsible for recovering information from signals corrupted by noise. While Deep Learning (DL) has shown promise in various fields, its application to decoding linear codes is hindered by the "codeword curse." For a code with $K$ information bits, there are $2^K$ possible codewords. As $K$ increases, it becomes impossible for a DNN to see a representative sample of all codewords during training, leading to poor generalization on unseen messages.

Previous attempts to mitigate this often constrained the neural network to mimic the structure of traditional algorithms like Belief Propagation (BP). However, such "Neural BP" approaches limit the architectural flexibility of the model and prevent the adoption of modern AI breakthroughs.

Methodology

The core innovation of this work is the shift from estimating the transmitted codeword to estimating the channel noise. This is achieved through a syndrome-based preprocessing stage.

The proposed syndrome-based decoder architecture, which separates the signal into sign and absolute values to estimate noise.

The decoder takes the channel output $\mathbf{y}$ and extracts the reliabilities $|\mathbf{y}|$ and the syndrome $\mathbf{H}\mathbf{y}^b$. The authors provide a theoretical proof that these components are sufficient statistics for decoding, meaning no information relevant to optimal decoding is lost. Because the syndrome depends only on the noise pattern and not the specific codeword, the network becomes "codeword invariant." This allows the model to be trained using only the all-zero codeword while generalizing perfectly to all other $2^K$ codewords in the code.

With codeword invariance established, the authors explore unconstrained architectures, specifically a Stacked RNN utilizing Gated Recurrent Units (GRUs). This architecture processes the input iteratively, effectively learning complex error-correction patterns that traditional linear-graph-based decoders might miss. For longer codes, a permutation preprocessing step is used to reorder bits based on reliability, ensuring the network focuses on the most critical information.

Results and Discussion

The proposed methods were evaluated on standard linear block codes, specifically BCH(63,45) and BCH(127,64), under Additive White Gaussian Noise (AWGN) channel conditions.

Bit Error Rate (BER) performance comparison showing the syndrome-based stacked RNN outperforming standard Belief Propagation (BP).

As shown in the performance plots, the syndrome-based stacked RNN significantly outperforms the standard BP algorithm. On the BCH(63,45) code, the RNN approach approaches the performance of the high-complexity Ordered Statistics Decoding (OSD) of order 2, which is considered near-optimal. For the larger BCH(127,64) code, the combination of the RNN and permutation preprocessing provided a massive boost, outperforming previous state-of-the-art neural decoders like those proposed by Nachmani et al.

Conclusion

The syndrome-based approach effectively solves the overfitting problem in DL-based decoding by ensuring codeword invariance. By treating the noise estimation as a black-box learning task, researchers can leverage modern AI architectures without being tied to the code's graph structure. While a small gap remains compared to optimal OSD at high signal-to-noise ratios, the flexibility and performance gains over standard BP represent a significant step forward for neural channel decoders.

Summary updated

BibTeX
@inproceedings{bennatan2018deep,
  author = {Amir Bennatan and Yoni Choukroun and Pavel Kisilev},
  title = {{Deep Learning for Decoding of Linear Codes - A Syndrome-Based Approach}},
  booktitle = {ISIT},
  year = {2018},
  url = {https://openreview.net/forum?id=PFnxeAqZNaZ},
}
Figure