Neural Decoding with Optimization of Node Activations

Eliya Nachmani, Yair Be'ery

Abstract

The problem of maximum likelihood decoding with a neural decoder for error-correcting code is considered. It is shown that the neural decoder can be improved with two novel loss terms on the node's activations. The first loss term imposes a sparse constraint on the node's activations. Whereas, the second loss term tried to mimic the node's activations from a teacher decoder which has better performance. The proposed method has the same run time complexity and model size as the neural Belief Propagation decoder, while improving the decoding performance by up to $1.1dB$ on BCH codes.

Introduction

In digital communications, decoding is the critical process of recovering original data from signals corrupted by noise. While traditional algorithms like Belief Propagation (BP) have long been the industry standard, recent advancements have introduced Neural Belief Propagation (NBP). NBP leverages deep learning to optimize decoding parameters, often outperforming classical methods. However, these improvements typically come at a cost: higher accuracy usually requires larger, more complex architectures—such as Transformers or Hypernetworks—which increase hardware requirements and latency.

This paper addresses the efficiency-performance trade-off by proposing a method to improve neural decoders without increasing their computational footprint during inference. By optimizing the internal behavior of the decoder's nodes during training, the authors achieve significant performance gains while maintaining the lean profile of a standard NBP decoder.

Methodology

The core innovation lies in the introduction of two novel loss functions applied to the internal node activations of the neural network. Unlike standard training, which focuses solely on the final output, this approach guides the iterative decoding process internally.

1. Sparse Node Activation Loss

Drawing inspiration from classical coding theory, where sparse parity-check matrices are known for high performance, the authors apply an $L_p$ norm to the internal messages (node activations). This forces the neural network to develop a sparse representation of the decoding logic. This sparsity acts as a powerful regularizer, preventing node activations from "exploding" and ensuring the model does not over-rely on specific nodes, leading to more robust decoding.

2. Knowledge Distillation (KD) Loss

The authors employ a "teacher-student" framework to transfer expertise from a high-complexity decoder to a low-complexity one:

  • The Teacher: A standard, non-neural min-sum decoder running for a high number of iterations (e.g., 30). While slow, it is highly accurate.
  • The Student: The neural decoder running for significantly fewer iterations (e.g., 5).

The student is trained to mimic the internal activations of the teacher at a later stage of the decoding process. This "look-ahead" approach allows the student to anticipate the expert behavior of the teacher, achieving higher accuracy in fewer steps.

Crucially, these loss terms are only utilized during the training phase. Once the model is deployed, the extra calculations are discarded, resulting in a high-performance decoder with the same runtime complexity and memory footprint as a standard NBP baseline.

Experimental Setup

The proposed method was evaluated using Bose–Chaudhuri–Hocquenghem (BCH) codes, which are standard in satellite communications and storage media. The researchers tested several configurations:

  • BCH(63,45): Evaluated with both right-regular and cycle-reduced parity check matrices.
  • BCH(63,36)
  • BCH(127,99)

Training data consisted of randomly generated codewords transmitted over a simulated Additive White Gaussian Noise (AWGN) channel.

Results and Discussion

The experimental results demonstrate that optimizing internal node activations provides a "free lunch" in terms of performance. On BCH(63,45) codes, the method achieved a Bit-Error-Rate (BER) improvement of up to 1.5dB over the vanilla Min-Sum algorithm and 1.1dB over the standard NBP baseline.

Ablation studies confirmed that while both loss functions contribute to the improvement, the sparse node activation loss provided the most significant individual gain. The combination of both losses yielded the best overall performance. This suggests that guiding the internal "thoughts" of a neural network using domain-specific constraints (like sparsity) is a highly effective strategy for structured tasks like error correction.

Limitations and Future Work

Despite the overall success, the authors identified a slight performance degradation (approximately 0.2dB) at very low Signal-to-Noise Ratio (SNR) levels when using Knowledge Distillation. This is likely because KD loss does not utilize ground-truth labels, which are essential when the signal is heavily obscured by noise. Additionally, the student's performance is inherently limited by the expertise of the teacher decoder.

Future research may explore applying these node optimization techniques to other code families, such as Polar codes, or investigating different forms of regularization, such as weight sparsity, to further enhance the efficiency and robustness of neural decoders.

Summary updated

Abstract

The problem of maximum likelihood decoding with a neural decoder for error-correcting code is considered. It is shown that the neural decoder can be improved with two novel loss terms on the node's activations. The first loss term imposes a sparse constraint on the node's activations. Whereas, the second loss term tried to mimic the node's activations from a teacher decoder which has better performance. The proposed method has the same run time complexity and model size as the neural Belief Propagation decoder, while improving the decoding performance by up to $1.1dB$ on BCH codes.
BibTeX
@article{nachmani2022neural,
  author = {Eliya Nachmani and Yair Be'ery},
  title = {{Neural Decoding with Optimization of Node Activations}},
  journal = {IEEE Communications Letters},
  year = {2022},
  url = {https://openreview.net/forum?id=9TlCGwM2Ln},
}
Figure