Transformer-Based Decoding in Concatenated Coding Schemes Under Synchronization Errors

Julian Streit, Franziska Weindel, Reinhard Heckel
11/2/2025
4 citations
cs.ITcs.LG
transformer-attention

No official code found. Best implementation: streit-julian/BCJRFormer (5 stars, Python, MIT, last commit 2025-03-13).

Abstract

We consider the reconstruction of a codeword from multiple noisy copies that are independently corrupted by insertions, deletions, and substitutions. This problem arises, for example, in DNA data storage.

Show full abstract

A common code construction uses a concatenated coding scheme that combines an outer linear block code with an inner code, which can be either a nonlinear marker code or a convolutional code. Outer decoding is done with Belief Propagation, and inner decoding is done with the Bahl-Cocke-Jelinek-Raviv (BCJR) algorithm. However, the BCJR algorithm scales exponentially with the number of noisy copies, which makes it infeasible to reconstruct a codeword from more than about four copies. In this work, we introduce BCJRFormer, a transformer-based neural inner decoder. BCJRFormer achieves error rates comparable to the BCJR algorithm for binary and quaternary single-message transmissions of marker codes. Importantly, BCJRFormer scales quadratically with the number of noisy copies. This property makes BCJRFormer well-suited for DNA data storage, where multiple reads of the same DNA strand occur. To lower error rates, we replace the Belief Propagation outer decoder with a transformer-based decoder. Together, these modifications yield an efficient and performant end-to-end transformer-based pipeline for decoding multiple noisy copies affected by insertion, deletion, and substitution errors. Additionally, we propose a novel cross-attending transformer architecture called ConvBCJRFormer. This architecture extends BCJRFormer to decode transmissions of convolutional codewords, serving as an initial step toward joint inner and outer decoding for more general linear code classes.

View on arXivView PDF

Code Implementations(1)

MIT

Codebase for my master thesis on Transformer-Based Decoding in Concatenated Coding Schemes Under Synchronization Errors

52Python, TeXFeb 10, 20251 years agoMIT

Similar Papers

Cite this paper

@article{streit2025transformerbased,
  title  = {Transformer-Based Decoding in Concatenated Coding Schemes Under Synchronization Errors},
  author = {Julian Streit and Franziska Weindel and Reinhard Heckel},
  year   = {2025},
  eprint = {2511.00999},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.00999v1}
}

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/2511.00999.svg)](https://codeofpaper.com/paper/2511.00999)

Discussion