Transformer-Based Decoders for Cyclic Codes: A Tanner Cycle-Equivalent Approach
Transformers have recently emerged as effective neural decoders, capable of capturing complex interdependencies and delivering strong performance. Cyclic codes, including BCH codes, Reed-Solomon codes, and Reed-Muller codes, are fundamental in practical channel coding applications. In this work, we propose a novel approach for Transformer-based neural decoders specifically designed for cyclic codes. By leveraging the relational properties among the parity-check matrix, Tanner graph, and mask matrix, we integrate these with the inherent algebraic structure of cyclic codes. We then identify a cyclic shift reuse property that can be effectively applied to both parameter matrices and self-attention matrices. Extensive simulations on BCH codes demonstrate that our method reduces the total number of parameters by up to 64.4% compared to prior Transformer-based decoders while achieving comparable decoding performance. Additionally, our method decreases the computational cost of self-attention by up to 10.6%. Finally, through experiments across various dimensions, we explore the effect of embedding dimensions on performance and provide insights into the relationship between embedding dimensions and code positions.
Authors
- Weijun Fang (ORCID: https://orcid.org/0000-0003-4121-290X)
- Bin Chen (ORCID: https://orcid.org/0000-0002-4798-230X)
- Shuai Xiao (ORCID: https://orcid.org/0000-0002-7314-705X)
Institutions
- Shandong University (CN)
- Harbin Institute of Technology (CN)
- State Key Laboratory of Cryptology (CN)
Publication Details
- Journal
- IEEE Transactions on Communications
- Published
- 2025-10-14
- DOI
- https://doi.org/10.1109/tcomm.2025.3621239
- Primary Topic
- Error Correcting Code Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00