arXiv:2609.00715cs.ITSep 2026

Manuscript Offprint

arXiv:2609.00715

MaskCode: Mask Transformer for Feedback-Assisted Coding With Linear Block Codes

Jonggyu Jang, Hongjae Nam, Vishrant Tripathi, David J. Love, Hyun Jong Yang

Jonggyu Jang, Hongjae Nam, Vishrant Tripathi, David J. Love, and Hyun Jong Yang

Abstract—Feedback-based coding schemes have demonstrated substantial performance gains over today's open-loop coding schemes. Unfortunately, these gains are usually achieved in idealized settings with perfect feedback. Over the last few years, machine learning-based schemes have been shown to be promising solutions for implementing feedback-based codes, particularly when combined with short-block-length open-loop error correcting codes (ECCs) in a concatenated coding structure. However, existing ML-based feedback schemes remain agnostic to the outer code's structure, potentially misallocating feedback resources on error patterns already correctable by the outer ECC. To address this, we propose MASKCODE, a Transformer-based inner feedback code for concatenated coding systems, which explicitly incorporates structural knowledge of the outer linear block code into the inner feedback encoder design via two synergistic mechanisms: 1) a soft syndrome-based input that informs the encoder about potential parity constraint violations, and 2) a code-aware attention mask derived from the Tanner graph. We further show that end-to-end training with a differentiable belief propagation (BP) decoder offers no additional gain, as MASKCODE's structure-aware design already internalizes the structural knowledge of the outer code; in fact, backpropagation through the iterative BP decoder introduces gradient explosion, which degrades rather than improves performance. Extensive evaluations on BCH and LDPC outer codes demonstrate that MASKCODE consistently outperforms all baselines, achieving up to 1.5 dB SNR gain.

Index Terms—Concatenated code, feedback coding, linear block code, noisy feedback, and error correcting code.

I. INTRODUCTION

Over the past decade, artificial intelligence and machine learning (AI/ML) have emerged as a potential key enabler of 6G communications [1]. More specifically, deep learning (DL) leverages deep neural networks (DNNs) trained via data-driven optimization to represent intricate nonlinear functions. By virtue of the data-driven optimization, AI/ML has effectively addressed mathematically intractable problems across a wide range of telecommunication technologies, such as channel prediction, channel decoding, radio resource allocation, network optimization, and waveform learning [2]–[8].

Figure

Fig. 1. Illustration of the feedback-assisted coding system with an outer linear block code and an inner feedback code.

One notable application of ML-based methods in wireless communications is feedback coding. In early work, Shannon showed that feedback does not increase channel capacity for memoryless channels [9], [10]; however, subsequent studies [11]–[14] have shown that closed-loop feedback codes enable the probability of error to decay double-exponentially with blocklength, by adaptively refining the transmission using receiver-side information. An early linear realization, the Schalkwijk-Kailath (SK) scheme [11], [12], achieves capacity and exhibits an error probability that decays double-exponentially. When the feedback link is itself noisy, however, the SK scheme loses not only the double-exponential decay but also the capacity-achieving rate [15]–[17]. In this noisy-feedback regime, the Chance-Love (CL) scheme [18] achieves the error exponent bound established in [16], but its encoding and decoding structures remain constrained to linear operations. More recently, ML-based feedback coding [19]–[23] replaces the linear encoder and decoder with DNNs, demonstrating substantial performance gain over linear schemes.

Beyond standalone feedback coding, concatenated coding offers a promising research direction that integrates feedback coding with conventional error-correcting codes (ECCs) [18], [24]–[26]. These coding architectures employ a two-stage structure consisting of an inner code and an outer code, as depicted in Fig. 1, where the outer code is a general open-loop ECC, and the inner code is a feedback coding scheme that exploits closed-loop communication channels. This concatenated design raises the question of how the inner feedback code should be designed to best support the outer decoder.

References (57)