arXiv:2611.00697cs.ITOct 2026

Manuscript Offprint

arXiv:2611.00697

Spatial Token Interleaving and Two-Pass BP Decoding for Semantic Image Transmission

Yifan Feng, Chentao Yue, Haiyao Yu, Gaoyang Pang, Xinyu Chen, Hao Chang, Branka Vucetic, Yonghui Li

Yifan Feng, Chentao Yue, Haiyao Yu, Gaoyang Pang, Xinyu Chen, Hao Chang, Branka Vucetic, and Yonghui Li

School of Electrical and Computer Engineering, The University of Sydney, Australia

Abstract—Semantic error control coding (SECC) can correct the residual errors of a standard channel code with a foundation model that supplies a prior on the source content, but existing SECC schemes are designed for text. In this paper, we develop SECC for image transmission with spatial token interleaving and a two-pass belief propagation (BP) schedule. At the transmitter, a vector-quantized (VQ) tokenizer converts an image into tokens, which are transmitted in multiple low-density parity-check (LDPC) code blocks of fifth-generation New Radio (5G NR). In raster order, a block that BP fails to decode corrupts consecutive token rows, so the interleaver reorders the tokens such that adjacent tokens are carried by different blocks, without additional transmitted bits. At the receiver, after the first BP pass, token recovery fuses the token probabilities given by BP with the predictions of the autoregressive model Emu3-Gen, and the second BP pass decodes each block again with the fused distributions as priors on the information bits. On Kodak24 at 0.5 channel uses per pixel and a signal-to-noise ratio (SNR) of 0.15 dB, the second pass removes 92% of the token errors left by token recovery, and interleaving reduces the final token error rate by 88%. At medium to high SNR, the proposed receiver exceeds deep joint source-channel coding baselines with the same channel uses by at least 1.2 dB in peak signal-to-noise ratio.

Index Terms—Semantic error control coding, token interleaving, LDPC codes, belief propagation, autoregressive models.

I. INTRODUCTION

Token communications [1] represent an image by discrete tokens and transmit them over a wireless link [2]. A vector-quantized (VQ) tokenizer [3] divides the image into a grid of patches and represents each patch by the index of the nearest entry of a learned codebook. Unlike deep joint source-channel coding (JSCC) [4], [5], which maps an image directly to channel symbols, token communications can protect the tokens with the channel codes of existing standards [6]. The data channels of fifth-generation New Radio (5G NR) use low-density parity-check (LDPC) codes and segment a transport block longer than 8448 bits into code blocks, which are encoded and decoded separately [7]. An image usually needs more bits than one code block. With the Emu3 tokenizer [8], which represents each 8×88 \times 8 patch by one index, any image larger than about 200×200200 \times 200 pixels needs more than 8448 bits.

Belief propagation (BP) decodes the code blocks separately, and near the BP threshold, it leaves residual errors in some blocks while decoding the others correctly. Semantic error control coding (SECC) [9] can correct such errors with a foundation model that supplies a prior on the source content, i.e., the probability of each source symbol given its context, while the channel code keeps its algebraic structure. Hao et al. [10] showed for text that multiple short codes with semantic correction outperform a single long code, because a decoding failure is confined to one block and the other blocks provide the context for its correction. For images, DiffCom [11] guides diffusion posterior sampling with the received signal, and text-guided token prediction reconstructs images whose tokens are protected by 5G NR polar codes [6]. Autoregressive (AR) models such as Emu3 [8] provide the prior for image tokens as the probability of each codebook index given the preceding tokens.

The SECC schemes in [10], [12]–[14] are designed for text. For images, two problems remain, which concern the context of an erroneous token and the decoding of the model output. An image prior corrects an erroneous token from the tokens around it on the grid. In raster order, i.e., row by row, a code block carries consecutive token rows, e.g., about nine for a 512×512512 \times 512 image with the Emu3 tokenizer. A failed block then corrupts a band of the image, and the correctly decoded blocks provide context only for the token rows at the two edges of the band. Bit-interleaved coded modulation [15] permutes coded bits rather than tokens, and character interleaving for text [14] separates neighbors along one dimension only. Moreover, the model output is not decoded again in [6], [12], [13], where the model selects among the candidate paths of a list Viterbi decoder [12] or corrects the decoded symbols [6], [13], so the parity constraints of the code cannot correct the errors that the model leaves.

In this paper, we propose spatial token interleaving and a two-pass BP schedule for semantic image transmission. At the transmitter, the Emu3 tokenizer converts an image into tokens. The interleaver reorders the tokens by a fixed permutation known to the receiver, without additional transmitted bits, such that adjacent tokens are carried by different blocks and thus have independent errors. The interleaved tokens are then transmitted in multiple 5G NR LDPC code blocks. At the receiver, after the first pass of BP decoding, token recovery fuses the token probabilities given by BP with the predictions of the Emu3-Gen model [8]. The second BP pass decodes each block again with the fused distributions as prior log-likelihood ratios (LLRs) of the information bits, so that the parity constraints correct the errors left by token recovery. On Kodak24 at 0.5 channel uses per pixel (CPP) and a signal-to-noise ratio (SNR) of 0.15 dB, the second pass removes 92% of these errors, and interleaving reduces the final token error rate (TER) by 88%. At medium to high SNR, the peak signal-to-noise ratio (PSNR) of the proposed receiver exceeds those of SwinJSCC [5] and FAJSCC [16] by at least 1.2 dB at the same CPP.

The code is available at https://github.com/Yifan-Usyd/STI-SemCom.

Figure

Fig. 1. System overview.