Learning Linear Block Error Correction Codes

Yoni Choukroun, Lior Wolf
2/12/2026

No official code found. Best implementation: yoniLc/E2E_DC_ECCT (20 stars, last commit 2024-05-08).

Abstract

Error correction codes are a crucial part of the physical communication layer, ensuring the reliable transfer of data over noisy channels. The design of optimal linear block codes capable of being efficiently decoded is of major concern, especially for short block lengths. While neural decoders have recently demonstrated their advantage over classical decoding techniques, the neural design of the codes remains a challenge. In this work, we propose for the first time a unified encoder-decoder training of binary linear block codes. To this end, we adapt the coding setting to support efficient and differentiable training of the code for end-to-end optimization over the order two Galois field. We also propose a novel Transformer model in which the self-attention masking is performed in a differentiable fashion for the efficient backpropagation of the code gradient. Our results show that (i) the proposed decoder outperforms existing neural decoding on conventional codes, (ii) the suggested framework generates codes that outperform the {analogous} conventional codes, and (iii) the codes we developed not only excel with our decoder but also show enhanced performance with traditional decoding techniques.

View on arXivView PDF

Code Implementations(1)

yoniLc/E2E_DC_ECCTCommunity100%

Learning Linear Block Error Correction Codes

201PythonJan 8, 20242 years ago

Similar Papers

Cite this paper

@article{choukroun2026learning,
  title  = {Learning Linear Block Error Correction Codes},
  author = {Yoni Choukroun and Lior Wolf},
  year   = {2026},
  eprint = {2405.04050},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2405.04050},
  journal = {ICML 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.04050.svg)](https://codeofpaper.com/paper/2405.04050)

Discussion