Generalization Bounds for Transformer Channel Decoders
Qinshan Zhang, Bin Chen, Yong Jiang, Shu-Tao Xia
TL;DR
This work addresses the generalization behavior of Transformer-based channel decoders (ECCT) by linking multiplicative-noise estimation to bit-error-rate (BER) and deriving upper bounds on the generalization gap via bit-wise Rademacher complexity. It introduces a theory-grounded framework that first handles a single-layer ECCT and then extends to multi-layer architectures, showing that parity-check–based masked attention reduces the global Lipschitz bound and tightens the bound through reduced hypothesis space complexity. The results reveal how the generalization bound scales with code length, embedding dimension, depth, and training size, and show that sparse masking yields a contraction factor that grows with depth as $\big(\sqrt{P/L}\big)^{T}$. Experiments on AWGN channels with BPSK confirm the predicted trends, supporting the practical relevance of sparsity and depth choices for ECCT design.
Abstract
Transformer channel decoders, such as the Error Correction Code Transformer (ECCT), have shown strong empirical performance in channel decoding, yet their generalization behavior remains theoretically unclear. This paper studies the generalization performance of ECCT from a learning-theoretic perspective. By establishing a connection between multiplicative noise estimation errors and bit-error-rate (BER), we derive an upper bound on the generalization gap via bit-wise Rademacher complexity. The resulting bound characterizes the dependence on code length, model parameters, and training set size, and applies to both single-layer and multi-layer ECCTs. We further show that parity-check-based masked attention induces sparsity that reduces the covering number, leading to a tighter generalization bound. To the best of our knowledge, this work provides the first theoretical generalization guarantees for this class of decoders.
