Autoencoder-Based Unequal Error Protection Codes

Vukan Ninkovic, Dejan Vukobratovic, Christian Häger, Henk Wymeersch, Alexandre Graell i Amat · DOI

Introduction

In digital communications, data packets often contain information of varying importance. For instance, a bit flip in a video stream might cause a minor visual artifact, whereas a bit flip in a control header could lead to a total connection failure. Traditionally, engineers address this through Unequal Error Protection (UEP), a technique that allocates more redundancy to critical data. While classical coding theory offers several UEP schemes, designing them for specific short-length scenarios is mathematically intensive. This paper by Ninkovic et al. proposes a deep learning-based alternative: an Autoencoder (AE) framework that learns optimal protection strategies end-to-end.

The Challenge of Unequal Error Protection

Standard communication codes typically provide Equal Error Protection (EEP), treating all bits within a block identically. However, real-world applications like control signaling, multimedia streaming (e.g., I-frames vs. P-frames), and packet headers demand UEP. Designing optimal UEP codes for short blocklengths is notoriously difficult because asymptotic theories do not apply, and existing methods like LDPC or spinal codes require complex manual tuning. The authors aim to replace this manual process with a flexible, learned approach capable of handling various UEP requirements, such as message-wise or bit-wise prioritization.

Methodology: The Autoencoder Framework

The proposed system models the entire communication chain—encoder, channel, and decoder—as a single deep autoencoder.

Autoencoder architecture for UEP communication systems.

As shown in the architecture above, the framework consists of three primary components:

  1. Encoder: A feed-forward neural network that maps an input message $m$ (using one-hot encoding) to a real-valued codeword vector $x$. It includes dense layers, a bottleneck layer for dimensionality reduction, and a normalization layer.
  2. Channel: An Additive White Gaussian Noise (AWGN) layer that simulates physical interference by adding noise to the transmitted signal $x$, resulting in the received signal $y$.
  3. Decoder: A neural network that processes the noisy signal $y$ to reconstruct the original message $\hat{m}$, typically utilizing dense layers followed by a softmax activation.

Weighted Compound Loss Function

The core innovation of this approach is the training objective. Instead of standard cross-entropy, the authors employ a weighted sum of losses: $$\ell = \sum_{j=1}^{C} \lambda_j \ell_j$$ where $C$ represents different importance classes and $\lambda_j$ is the weight assigned to each. By adjusting the weight vector $\lambda$, designers can prioritize specific messages or bits, forcing the autoencoder to optimize the "energy budget" for high-priority data.

Experimental Results and Performance

The researchers evaluated the AE-based codes against established benchmarks, including Random Coset Codes and UEP Rateless Spinal Codes, using synthetic data generated for AWGN channels.

Performance comparison between AE-based UEP codes and Random Coset codes.

A key finding is the AE's ability to trace the Pareto frontier of achievable error probabilities. As illustrated in the figure above, for message-wise UEP, the AE-based codes (blue line) significantly outperform the Random Coset baseline (red dots), achieving lower error rates for both priority classes across the entire range of $\lambda$ values.

In bit-wise scenarios, the AE codes performed comparably to state-of-the-art spinal codes for high-priority bits while offering superior performance for lower-priority bits. This "graceful degradation" highlights the robustness of the learned codes compared to traditional superposition methods, which often exhibit erratic performance jumps.

Conclusion

The autoencoder-based approach provides a unified and flexible framework for designing UEP codes. By shifting the design burden from manual algebraic construction to automated optimization via a weighted loss function, it achieves state-of-the-art performance in short-blocklength regimes. While challenges remain regarding scalability to very large message sizes and implementation in high-speed hardware, this work demonstrates the significant potential of deep learning to revolutionize physical-layer communication design.

Summary updated

BibTeX
@article{ninkovic2021autoencoder,
  author = {Vukan Ninkovic and Dejan Vukobratovic and Christian Häger and Henk Wymeersch and Alexandre Graell i Amat},
  title = {{Autoencoder-Based Unequal Error Protection Codes}},
  journal = {IEEE Communications Letters},
  year = {2021},
  doi = {10.1109/lcomm.2021.3108845},
}
Figure