Near Maximum Likelihood Decoding with Deep Learning

Eliya Nachmani, Yaron Bachar, Elad Marciano, David Burshtein, Yair Be'eryarXiv 2018

Abstract

A novel and efficient neural decoder algorithm is proposed. The proposed decoder is based on the neural Belief Propagation algorithm and the Automorphism Group. By combining neural belief propagation with permutations from the Automorphism Group we achieve near maximum likelihood performance for High Density Parity Check codes. Moreover, the proposed decoder significantly improves the decoding complexity, compared to our earlier work on the topic. We also investigate the training process and show how it can be accelerated. Simulations of the hessian and the condition number show why the learning process is accelerated. We demonstrate the decoding algorithm for various linear block codes of length up to 63 bits.

Introduction

Decoding error-correcting codes is a fundamental task in communication systems. While the Belief Propagation (BP) algorithm works exceptionally well for sparse codes like LDPC, it struggles heavily with High Density Parity Check (HDPC) codes, such as BCH codes, due to the high number of short cycles in their graph representations.

Recently, researchers have started "unrolling" the BP algorithm into deep neural networks to learn better decoding weights. However, achieving near Maximum Likelihood (ML)—the theoretical gold standard for decoding accuracy—for HDPC codes remains computationally expensive. This paper introduces a novel deep learning-based decoder that achieves near-ML performance using a single, highly efficient neural network.

Proposed Architecture

The authors propose a deep recurrent neural network (RNN) architecture that parameterizes the message-passing BP algorithm. The key novelty is the integration of the code's Automorphism Group.

The proposed RNN architecture interleaves neural BP iterations with permutations from the code's Automorphism Group.

Instead of standard neural BP, the network is divided into blocks. The architecture runs a few iterations of neural BP, applies a permutation drawn from the code's Automorphism Group to the graph, and repeats this for a set number of blocks. An inverse permutation is applied at the end to retrieve the decoded codeword. This process effectively shifts the graph structure, helping the algorithm bypass the local minima that trap standard BP in high-density codes.

Training Dynamics and Acceleration

Training this deep network (which can be up to 1200 layers deep) is challenging. The authors discovered that $l_2$ regularization acts as a massive training accelerator. During standard training, the loss would often plateau for hundreds of epochs before suddenly dropping. By adding an $l_2$ penalty to the weights, they accelerated this convergence by a factor of 33.

Learning curves for BCH(63,45) demonstrate that L2 regularization accelerates convergence by a factor of 33.

To understand this, the authors analyzed the Hessian matrix of the loss function. They found that deep neural decoders suffer from saddle points in the loss surface. The $l_2$ norm transforms this manifold into an isotropic shape, allowing the optimizer to easily escape saddle points and reach convergence faster.

Key Results

The architecture was tested on standard linear block codes: BCH(63,45) and BCH(63,36).

  • Near-ML Accuracy: The proposed decoder achieved performance within a mere 0.2 to 0.5 dB gap of the optimal ML estimate (calculated via the OSD algorithm).
  • Efficiency Gains: A single proposed neural decoder matched the performance of a 10-parallel modified Random Redundant Decoding (mRRD) decoder, eliminating the need for hardware-heavy parallel branches.
  • Faster Runtimes: The overall decoding time is substantially lower than the classical mRRD decoder, achieving up to a 3.5x speedup for the BCH(63,36) code.

Conclusion

This work demonstrates that combining neural BP with permutations from the Automorphism Group can bridge the gap to maximum likelihood performance for HDPC codes. The discovery that $l_2$ regularization significantly smooths the loss landscape makes training these ultra-deep architectures practical. Future work includes scaling this approach to modern long codes and further exploring loss-surface optimization techniques.

Summary updated

BibTeX
@misc{nachmani2018near,
  author = {Eliya Nachmani and Yaron Bachar and Elad Marciano and David Burshtein and Yair Be'ery},
  title = {{Near Maximum Likelihood Decoding with Deep Learning}},
  year = {2018},
  eprint = {1801.02726},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1801.02726},
}
Figure