All models

Error-Correcting Code Transformer

A Transformer for soft decoding of linear error correction codes, using an adapted masked self-attention.

189 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (27 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
85.7K
Operations
189
Framework
PyTorch
Recurrent
No
Published
NeurIPS 2022
Cited by
19 (as of 27 October 2026)
Authors
Yoni Choukroun, Lior Wolf
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m16470
Graph hash
747640781b35339d7892846e9043013da244e881b33d4ed26641638c107b59cf
Skeleton hash
84a8f7e1800041018ad7e9cee08aef8d39f7a458efc2b382cd9b5a878cad6dbb
Architecture hash
a79c1abc7d289f1ad0fbfc2fb4fa924c6fee071ff91cc5f09640d938c74819d2
Diagram SHA-256
6f1f836a077779c3a427f4b1b2c4b828560a1092cf359146923e426dd6c7f108
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

The Error Correction Code Transformer (ECCT) is a Transformer that decodes error correction codes, the part of the communication physical layer that ensures the reliable transfer of data over noisy channels. The paper describes it as the first extension of the Transformer architecture to the soft decoding of linear codes at arbitrary block lengths. It sets the model against earlier neural decoders, which it says either overfit strongly because of the exponential training complexity or carry a restrictive inductive bias from their reliance on Belief Propagation.

Each dimension of the channel output is encoded to a high dimension, so that the information about each bit is represented better and processed separately. The algebraic code and the interaction between the bits are inserted into the model through an adapted masked self-attention module.

The paper reports that the approach outperformed the existing neural decoders it compared against by large margins, at a fraction of their time complexity. The example command in the official code trains a 6-layer ECCT of dimension 32 on the POLAR(64,32) code, which is the configuration of this model.

Key idea. ECCT extends the Transformer to the soft decoding of linear codes at arbitrary block lengths, inserting the code into the model through an adapted masked self-attention module.

  • ecct
  • error correction code transformer
  • error-correcting code transformer
  • neural decoder
  • soft decoding
  • linear codes
  • polar code
  • channel decoding
  • error correction

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{choukroun2022errorcorrectioncodetransformer,
      title={Error Correction Code Transformer}, 
      author={Yoni Choukroun and Lior Wolf},
      year={2022},
      eprint={2203.14966},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2203.14966}, 
}