Conceptio › Archive › arXiv CS
arXiv CSopen access

Semantic Error Correction and Decoding for Short Block Channel Codes

2026 · arxiv_cs
arXiv CS · Papers · License: Open Access · 2026
Open Source ↗Direct PDF ↓
knowledge-representationreasoning
artificial intelligence, reasoning, knowledge representation

Semantic Error Correction and Decoding for Short Block Channel Codes

arXiv:2604.22269v1 [cs.IT] 24 Apr 2026

Jiafu Hao, Student Member, IEEE, Chentao Yue, Member, IEEE, Wanchun Liu, Member, IEEE, Yonghui Li, Fellow, IEEE, and Branka Vucetic, Fellow, IEEE Abstract—This paper presents a semantic-enhanced receiver framework for transmitting natural language sentences over noisy wireless channels using multiple short block codes. After ASCII encoding, the sentence is divided into segments, each independently encoded with a short block code and transmitted over an AWGN channel. At the receiver, segments are decoded in parallel, followed by a semantic error correction (SEC) model, which reconstructs corrupted segments using language model context. We further propose the semantic list decoding (SLD), which generates multiple candidate reconstructions and selects the best one via weighted Hamming distance. Moreover, a semantic confidenceguided HARQ (SHARQ) mechanism is designed to replaces Cyclic Redundancy Check (CRC) with a semantic confidence score, enabling selective segment retransmission. We analyze the block error rate (BLER) for the proposed framework and discuss the tradeoff between the semantic gain from segmentation and the finite-blocklength penalty of shorter codes. Simulation results demonstrate that SEC provides approximately 0.4 dB BLER gain over plain short-code transmission, while SLD extends this to 0.8 dB. Compared to transmitting the entire sentence as a single long 5G LDPC codeword, our approach significantly improves semantic fidelity and reduces decoding latency by up to 90%. SHARQ further provides an additional 1.5 dB gain over conventional HARQ. Index Terms—Short block codes, semantic error control, large language models, hybrid automatic repeat request.

I. I NTRODUCTION

U

LTRA-reliable and low-latency communications (URLLC) is one of the key 5G service paradigms. The design of the physical layer, especially the channel coding scheme, for URLLC involves a fundamental tradeoff between latency and reliability [1]. Long blocklength codes, such as LDPC codes [2], can approach the Shannon capacity under Belief Propagation (BP) [3]. However, their inherent long blocklength introduces significant propagation and processing latency, making them unsuited for URLLC. This motivates the use of short blocklength codes to meet the tight latency requirements. However, as established by the finite blocklength theory [4], shorter blocklengths inevitably lead to a degradation in error-correction capability, posing a fundamental challenge for achieving ultra-reliable transmission. Jiafu Hao, Chentao Yue Wanchun Liu, Yonghui Li and Branka Vucetic are with the School of Electrical and Computer Engineering, The University of Sydney, Sydney, NSW 2006, Australia (e-mail: {jiafu.hao; chentao.yue; wanchun.liu; branka.vucetic; yonghui.li}@sydney.edu.au). (Corresponding author: Chentao Yue) Code available: https://github.com/Jeh100/SEC-for-Short-Block-Codes.git. The work of Chentao Yue was supported by ARC under Grant DE250101332.

Semantic communication (SemCom) has emerged as a promising paradigm for future communication systems, shifting the focus from bit-level transmission to the extraction and delivery of meaning-relevant information [5]. Unlike conventional approaches that prioritize every bit accuracy, SemCom aims to preserve the fidelity of transmitted meaning. Current SemCom research follows two primary directions. The first is source–channel separation coding design. They only focus on source coding, aiming to compress and transmit essential semantic content efficiently. For example, [6] introduced importance-weighted semantic triples to identify key semantic information, while [7] employed VQ-VAE for semantic compression to reduce transmission volume. Liu et al. [8] exploit context information within and between sentences for enhanced semantic representation and recovery. The second direction is joint source-channel coding (JSCC) that optimizes encoders and decoders jointly through endto-end training [9]. JSCC completely replaces the traditional structure with a neural network. DeepJSSC [10] presents a deep neural network framework that integrates semantic coding and channel coding for end-to-end transmission. SwinJSCC [11] leverages the Swin Transformer architecture and adaptive modules to achieve high-performance. D²-JSCC [12] combines deep source coding with adaptive density models and digital channel block coding to minimize end-to-end distortion. While these JSCC approaches achieve strong performance by jointly optimizing the entire transmission chain, they require a complete replacement of conventional communication modules with neural networks, violating the source–channel separation principle [13] and incurring high implementation costs. Recent advances have explored integration between SemCom and physical layer design. Some works focus on systemlevel integration, where Lee et al. [7] integrate pre-trained language models with 5G-NR physical layer functions, and Evgenidis et al. [14] propose a hybrid semantic-Shannon multi-carrier system that jointly optimizes transmission mode selection and power allocation. Other works exploit semantic information to enhance specific physical-layer functionalities. For example, [15] jointly designs semantic coding and massive MIMO beamforming, [16] proposes a semantic pilot scheme leveraging LLM-corrected text for data-aided channel estimation, and [17] develops a semantic-empowered physicallayer network coding framework for two-way relay channels. Semantic information has also been leveraged to improve transmission reliability and security, including semantic signals as information-bearing artificial noise for physical-layer security [18]. Semantic-aware hybrid automatic repeat request

(HARQ) has been explored for vehicular networks [19], but it operates within an end-to-end JSCC framework and lacks fine-grained segment-level retransmission guided by channel soft information. Despite these advances, SemCom faces critical challenges for practical deployment in latency-sensitive applications. Source–channel separation SemCom systems typically require long codewords to represent semantic content [5], introducing transmission delays that conflict with strict latency requirements. These limitations motivate a different approach: rather than redesigning the entire communication chain, semantic information can be selectively incorporated into the physical layer, preserving compatibility with existing infrastructure. In this direction, Kim et al. [20] propose unequal error protection for digital semantic communication, where learned bit-flip probabilities are used to allocate coding redundancy according to semantic importance. Park and Yang [16] leverage LLMcorrected text to identify reliable decoded symbols as semantic pilots for data-aided channel estimation. However, [20] focuses on encoder-side redundancy allocation without exploiting semantic information at the decoder, while [16] operates on uncoded symbols and does not integrate with channel coding. The potential of semantic information to directly improve channel decoding performance remains unexplored. To address these issues, we propose a receiver-side framework that integrates a pretrained language model into the decoding process of standard short block codes, preserving the conventional source–channel separation architecture. We focus on natural-language text in this work, as it is the dominant payload in machine-to-machine signaling and the short control messages in URLLC and IoT applications. Rather than transmitting a natural-language sentence as a single long codeword, the sentence is partitioned into short segments, each independently channel-encoded and decoded. Segments that fail channel decoding are then reconstructed through semantic inference conditioned on the correctly decoded segments. The key observation is that a single long codeword fails as a whole upon decoding failure, destroying all contextual information, whereas multiple short codewords fail locally, leaving sufficient context for language-model-based recovery. While this work focuses on text, the principle applies to any structured source. The main contributions of this paper are summarized as follows. • We propose a multiple short-code (MSC) transmission framework, in which a natural-language sentence is partitioned into segments, each independently encoded by a short block code. We show that localized channeldecoding failures preserve the semantic context. Building on MSC, we propose a semantic error correction (SEC) module that replaces erroneous segments with semantically coherent reconstructions generated by a fine-tuned bidirectional and auto-regressive transformers (BART) model, exploiting cross-segment context through bidirectional self-attention. • To overcome the unverifiable nature of single-output semantic correction, we propose semantic list decoding

(SLD). For each unreliable segment, SLD generates a list of candidate reconstructions via diverse beam search, reencodes each candidate, and selects the one minimizing the weighted Hamming distance against the received soft information. This approach couples language-model reasoning with conventional bit-level channel reliability. • We propose a semantic confidence-guided HARQ (SHARQ) scheme, which replaces CRC-based error detection with a soft-information-based confidence metric. SHARQ eliminates the CRC overhead that is prohibitive for short block codes and enables segment-selective retransmission. • We derive closed-form block error rate (BLER) expressions for MSC with semantic processing. Via conditional entropy and Fano’s inequality, we provide an informationtheoretic interpretation that quantifies the tradeoff between the semantic gain from segmentation and the finiteblocklength penalty of shorter codes. Simulation results on the SNLI corpus over the binaryinput AWGN channel confirm the effectiveness of the proposed scheme. Under single-shot transmission, the SEC and SLD pipeline achieves a 1.1 dB BLER gain at 0 dB SNR over a single (1024, 512) 5G LDPC codeword while maintaining BLEU > 93 and ROUGE-L > 97. SLD recovers 99% of erroneous (32, 16) segments, and parallel short-code decoding reduces per-sentence latency by 76–90% relative to long-LDPC decoding. When the retransmission is enabled, SHARQ yields an additional 1.5 dB gain over CRC-based HARQ at the same target BLER. The remainder of this paper is organized as follows. Section II reviews the background of our proposed methods. Section III presents the MSC framework and the SEC module. Section IV develops the SLD scheme, including error identification, candidate generation, and WHD-based selection. Section V introduces the SHARQ retransmission mechanism. Section VI provides the performance and complexity analysis. Simulation results and discussions are presented in Section VII. Finally, Section VIII concludes the paper. II. BACKGROUND A. Linear block code A binary linear block code C(n, k) encodes k information bits into an n-bit codeword (n > k), where the n−k redundant bits provide error-correction capability. The code is defined by its generator matrix G ∈ {0, 1}k×n , and encoding maps a message vector b ∈ {0, 1}k to a codeword c = bG ∈ {0, 1}n . The codeword c is modulated via BPSK as x = 1 − 2c ∈ {−1, +1}n and transmitted over an additive white Gaussian noise AWGN channel. The received signal is y = x + z, (1) 2 where z ∼ N (0, σ In ) is the i.i.d. Gaussian noise. The signalto-noise ratio (SNR) is given by σ12 . At the receiver, a decoder estimates the transmitted codeword as ĉ. A decoding error occurs if ĉ ̸= c. The best achievable BLER performance of block codes is fundamentally constrained by their blocklength. According to

Source Encoder

𝐬𝐬

𝐛𝐛1

𝑘𝑘𝑘 bits

𝐛𝐛2

… 𝐛𝐛𝑞𝑞

𝐬𝐬�

Source Decoder

𝑘𝑘 bits

𝐬𝐬�𝐒𝐒𝐒𝐒𝐒𝐒

Semantic Error Correction

Parallel Channel Encoder

𝐜𝐜1

𝐜𝐜2

𝑛𝑛 bits ̂ 𝑞𝑞 ] ̂ = [𝐛𝐛 ̂ 1 , … , 𝐛𝐛 𝐛𝐛

𝑛𝑛𝑛 bits

…

𝐜𝐜𝑞𝑞

AWGN channel

Parallel Channel Decoder

Fig. 1. Proposed MSC framework with parallel short block codes and SEC module. Modulation and demodulation are omitted for clarity.

Source Encoder

pattern (TEP) e ∈ {0, 1}k applied to r̃B , from which a complete candidate codeword is obtained by re-encoding: h i c̃e = (r̃B ⊕ e)G̃ = r̃B ⊕ e (r̃B ⊕ e)P̃ . (5) TEPs are evaluated in ascending order of Hamming weight. The maximum allowed Hamming weight is referred to as the OSD order. For BI-AWGN channels, the optimal codeword c̃opt minimizes the weighted Hamming distance (WHD): X d(W ) (c̃e , ỹ) ≜ α̃i . (6)

the normal approximation (NA) bound of the finite blocklength 1≤i≤n theory [4], for code C(n, k), its best BLER in binary AWGN c̃e,i ̸=ỹi channels is approximately given by [21]: r 𝑛𝑛𝑛 bits  𝑘𝑘𝑘 bits Finally, the decoded output ĉ is obtained by applying the n C − R log n Paralleled ̂ ] Semantic ∗ , … , 𝐛𝐛 𝐬𝐬� AWGN Source Paralleled ≈ Q 𝐜𝐜 𝐜𝐜 …· 𝐜𝐜 + , (2) 𝐛𝐛̂ = [𝐛𝐛̂inverse 𝐬𝐬 Channel Processing 𝐛𝐛 𝐛𝐛 … ϵ𝐛𝐛 (k, n) permutations to c̃opt ,Estimate namely, Channel Decoder Decoder channel V log e 2n Encoder Module 2  −1 −1 bits 𝑘𝑘 bits ĉ = π1 π2 (c̃) . (7) where C is the channel 𝑛𝑛capacity, V is the channel dispersion [21, Fig. 6], and Q−1 (·) is the inverse Gaussian Q-function. The proposed SLD scheme exploits this re-encoding prinAs shown by (2), at the same code rate R, the BLER degrades ciple. Whereas OSD enumerates information candidates by significantly as n decreases, establishing the performance applying TEPs, SLD obtains its candidates from a language penalty of short codes. model conditioned on the surrounding context. Each candidate text segment can be mapped to a k-bit information vector, reB. Ordered Statistics Decoding and Re-encoding encoded into a length-n codeword, and ranked by the distance against the received signal. Re-encoding therefore connects Ordered statistics decoding (OSD) [22] is a near-ML desemantic-level inference with bit-level channel reliability. The coder applicable to any linear block code, operating directly on details will be introduced in Section IV. the generator matrix without requiring code-specific structure. The decoding complexity of OSD is roughly O(k m+2 ), where m = ⌈dmin /4⌉ is the decoding order and dmin is the minimum C. Pretrained Language Models Hamming distance of the code. The Transformer architecture [23] captures contextual de1) OSD Preprocessing: We define αi = |yi | to represent pendencies in sequential data through self-attention mechathe reliability of the received symbol yi . The hard-decision nisms. Building on this foundation, Bidirectional and Autovector r = [r]n1 is obtained by thresholding: ri = 1 for yi < 0 Regressive Transformers (BART) [24] is a sequence-toand ri = 0 otherwise. Prior to decoding, OSD performs two sequence model combining a bidirectional encoder with permutations on the received vector y and the generator matrix an autoregressive decoder (distinct from the channel enG. The first permutation π1 reorders y and the columns of G coder/decoder in Section II-A). according to the descending order of α = [α]n1 . Subsequently, BART is pre-trained as a denoising autoencoder. SpecifiGaussian elimination (GE) is applied to the permuted matrix cally, given a corrupted input sequence (e.g., masking, deletion, π1 (G) to convert it into systematic form, i.e., and substitution), it learns to reconstruct the original text by G̃ = [Ik P̃], minimizing a cross-entropy loss over the output tokens. This pre-training objective closely mirrors the channel decoding where Ik denotes the k × k identity matrix and P̃ represents task, where channel decoding errors results in corrupted charthe corresponding parity sub-matrix. During the elimination acters in the decoded text. process, an additional permutation π2 may be introduced to Architecturally, BART’s encoder processes the entire input guarantee that the first k columns are linearly independent. sequence via stacked Transformer layers [23] to produce conAfter permutation, the reordered received vector and generator textual representations, which capture dependencies across all matrix can be expressed as input positions through self-attention. The decoder autoregresỹ = π2 (π1 (y)), G̃ = π2 (π1 (G)), (3) sively generates output tokens conditioned on these represenrespectively. Similarly, the reliability sequence and the hardtations and all previously generated tokens. For tokenization, decision vector are rearranged as BART employs byte-pair encoding (BPE) [25] tokenization, α̃ = π2 (π1 (α)), r̃ = π2 (π1 (r)). (4) which maps an input string into subword tokens drawn from For any length-n vector, subscripts (·)B and (·)P denote its a fixed learned vocabulary. first k and remaining n − k components, respectively. 2) Re-encoding: The key insight of OSD lies in the reIII. P ROPOSED S EMANTIC E RROR C ORRECTION S CHEME encoding step. Once G̃ is in systematic form, any valid A. System Overview codeword is fully determined by its k systematic bits. Decoding therefore reduces to a search over hypotheses for the k-bit We consider the transmission of a natural language sentence systematic part. Each hypothesis is expressed as a test error s with character length ℓ over a noisy channel. Each character 1

2

𝑞𝑞

1

2

𝑞𝑞

1

𝑞𝑞

TABLE I E XAMPLES OF MSC WITH SEC FOR DIFFERENT ERROR SCENARIOS USING THE (128, 64) CODE AT SNR = 2 D B. Original Sentence s

Before SEC ŝ

After SEC ŝSEC

A lady in a blue shirt and hat dancing with . . .

c/?ueK(yn a blue shirt and hat dancing with } | {z . . . Error

A girl in a blue shirt and hat dancing with

. . . one little boy are running on the grass.

. . . one little [?yX#Gg?running on the grass. | {z }

. . . one little boy are running on the grass.

Error

is first converted to its 8-bit ASCII representation, resulting in a binary bit stream b′ with k ′ = 8ℓ bits. 1) Multiple Short Code (MSC) Transmission: The MSC framework partitions the sentence into q independently encoded segments. A failure in one segment leaves the remaining q − 1 segments intact, providing the language model with reliable context for reconstruction. Formally, s is divided into q segments of equal character length lMSC = ℓ/q. After ASCII conversion, this yields q bitstreams {b1 , . . . , bq }, each of length k = k ′ /q. Each segment bi is independently encoded by a CMSC (n, k) code with generator matrix GMSC , producing codewords {c1 , . . . , cq } each of length n. The q codewords are concatenated and transmitted over an AWGN channel via BPSK modulation, as described in Section II-A. At the receiver, each segment yi is independently decoded using OSD. We define αi,j = |yi,j | as the reliability of the j-th received symbol in segment i, and denote the reliability vector of segment i by αi = [αi,1 , . . . , αi,n ]. As described in Section II-B, the received segment yi undergoes the permutations ỹi = π2 (π1 (yi )), and then all TEPs are evaluated to identify the optimal codeword. We denote the optimal decoding output of yi by ĉi , whose information bits are b̂i . The concatenated estimates b̂ = [b̂1 , . . . , b̂q ] are mapped by ASCII source decoding to the sentence estimate ŝ = {ŝ1 , . . . , ŝq }, with each ŝi of length lMSC . The SEC module then takes ŝ as input, to reconstruct the corrupted segments and recover the full sentence s. The MSC framework is illustrated in Fig. 1. 2) Long Code (LC) Transmission Baseline: For comparison, we consider a conventional scheme where the complete bitstream b′ is encoded as a single CLC (n′ , k ′ ) LDPC codeword and decoded via BP. Both MSC and LC schemes operate at the same code rate R = k/n = k ′ /n′ , ensuring fair performance comparison. Despite equal code rates, the two schemes exhibit fundamentally different error characteristics. Under LC, redundancy is distributed globally; when BP decoding fails, the entire sentence is corrupted and no contextual information survives for semantic recovery. Under MSC, failures are localized to individual segments. Correctly decoded segments provide partial context essential for reconstruction. Remark 1: This work adopts ASCII encoding as the source coding scheme. However, any fixed-rate source coding scheme that produces a binary bitstream of known length k ′ can be employed directly in the MSC framework. For variable-rate source coding, such as Huffman or arithmetic coding, error propagation across segment boundaries should be considered,

since a single corrupted bit can invalidate the source decoding of subsequent symbols. In such cases, segment boundaries should be aligned with source coding units to preserve the localized failure property that enables semantic recovery. B. Semantic Error Correction (SEC) The sentence estimate ŝ is fed into the SEC module. SEC operates as a denoising step at the sentence level through the BART model. 1) SEC Processing: The input ŝ is first tokenized using the pretrained BPE function fBPE (·) introduced in Section II-C: t̂ = fBPE (ŝ) = [t̂1 , t̂2 , . . . , t̂z ], (8) where z is the token sequence length, which varies with sentence content. Each token t̂i is a high-dimensional vector representing a subword unit from the sentence, which may be a complete word, a word fragment, or even a single character, depending on the tokenization process. When channel decoding errors introduce garbled or out-of-vocabulary characters, BPE recursively decomposes them into individual characters, ensuring the tokenizer remains well-defined under arbitrary corruption. The token sequence t̂ is passed to the BART correction model: ŝSEC = fSEC (t̂; θSEC ), (9) where ŝSEC = {ŝSEC,1 , ŝSEC,2 . . . , ŝSEC,q } is the corrected sentence and θSEC is the fine-tuned model parameters. BART’s bidirectional encoder captures dependencies across all segments simultaneously, allowing correctly decoded segments to inform the reconstruction of corrupted ones. Table I illustrates the SEC pipeline for error scenarios using (128, 64) codes at SNR = 2 dB. The full sentence is transmitted using q = 8. Even when a segment is severely corrupted (e.g., “c/?ueK(y”), SEC recovers a semantically plausible substitution from the surrounding context. Note that the recovered segment can still be different to the original. The confidence scoring in Section IV can determine whether the correction is reliable. The training process of SEC will be detailed in Section VII-A1. IV. P ROPOSED S EMANTIC L IST D ECODING S CHEME SEC relies solely on context reasoning, so its errors remain grammatically and semantically plausible and cannot be detected from text alone. For example, as shown in Table I, if “A lady i” is corrupted in “A lady in a blue shirt . . . ” , SEC may infer “A girl i” based on context. To address this, SLD introduces two stages: error identification and list-based correction, as illustrated in Fig. 2.

𝐬𝐬̂ SEC

Error Identification

𝓢𝓢err

Masking and Tokenization

′ 𝐬𝐬̂ SEC

BART Prediction

𝓒𝓒SLD

Extract Candidate Segments

𝓓𝓓

Re-Encoding Error Segments

WHD Selection and Replace

𝐬𝐬̂ SLD

Fig. 2. SLD processing flow. BART generates multiple candidate segments for error segments. Candidates are re-encoded and ranked by WHD. The minimumdistance candidate is selected for each segment to construct the final output ŝSLD

…

probability of the error pattern eSEC computed from the The error identification step detects segments where the SEC individual bit error probabilities as detailed in [26, Eq. (5)]. reconstruction is unreliable by comparing the re-encoded SEC Segments ŝSEC,i with PSEC,i < TSEC form the error set, i.e., output against the received signal. For each identified unreliable segment, the list-based correction step generates multiple Serr = {i : PSEC,i < TSEC } candidate reconstructions and selects the most reliable one where TSEC ∈ (0, 1) is a confidence threshold. If all segments using weighted Hamming distance against the received signal. meet the threshold (Serr = ∅), SEC outputs are used directly A. Error identification without further processing. B. Semantic 1 List Decoding SEC operates at the text level, whereas the proposed error 𝒔𝒔� sld Locate andwhen error identification detects SLD refines SEC outputs identification requires comparison against the received signal 2 Extract the ′ 𝐬𝐬�sld 𝐬𝐬�SEC 𝓒𝓒 𝐭𝐭′̂ Error BART BPE unreliable segments (SerrError ̸= ∅). To process each ŝSEC,i ∈ Serr , in the codeword domain. Identification We therefore re-encode each SEC Prediction Tokenization Segments in we assume all other segments ŝSEC,j (j ̸= i), are correct. output segment back into a codeword and measure its consis𝓢𝓢err V 𝐬𝐬�sld Then, we replace ŝSEC,i with the special symbol ⟨mask⟩ from tency with the channel observation. the BPE vocabulary, yielding the masked sentence 𝐬𝐬�sec,1 ŝSEC,i is𝑑𝑑1 first For the i-th segment after SEC processing, 𝑖𝑖 1 ′ 𝐜𝐜�sld,𝑖𝑖 converted to its k-bit ASCII representation b̂SEC,i , and then ŝ = {ŝ (13) SEC,1 , . . . , ⟨mask⟩i , . . . , ŝSEC,q }. 2 SEC Replace 𝐜𝐜�sld,𝑖𝑖 Compute 𝑣𝑣 Channel 𝐬𝐬�sld ′ Re𝑖𝑖 re-encoded into a length-n codeword ĉSEC,i𝐬𝐬�sld,𝑖𝑖 = b̂SEC,i G𝑑𝑑MSC . WHD1) SLD Processing: ŝSEC is tokenized to obtain: Encoder ′ ′ ′ ′ ′ Applying the OSD permutations from Section II-B yieldsV the V t̂ = f (ŝ (14) � 𝐜𝐜 BPE SEC ) = [t̂1 , t̂2 , . . . , t̂z ′ ], 𝑑𝑑𝑖𝑖 sld,𝑖𝑖 �sec,𝒒𝒒 permuted codeword c̃SEC,i = π2 (π1 (ĉSEC,i 𝐬𝐬)). For notational ′ where z is the length of the masked token sequence. The simplicity, the segment index i is omitted in the following, token sequence t̂′ is passed to the BART model to generate V i.e., c̃SEC = c̃SEC,i . The re-encoded codeword c̃SEC implicitly candidate sentences via defines a TEP CSLD = fSLD (t̂′ ; θSLD , V ), (15) eSEC = r̃B ⊕ c̃SEC,B where CSLD = {ŝ1SLD , . . . , ŝVSLD } denotes the set of V canon the first k systematic bits. Unlike conventional OSD, which didate reconstructions and θSLD denotes the fine-tuned model enumerates TEPs of Hamming weight up to m, the TEP parameters. Unlike SEC, which produces a single output, SLD eSEC can have arbitrary weight and originates from semantic retains the top-V high-probability sequences from BART’s inference rather than systematic enumeration. autoregressive decoding to form a diverse candidate set. The To assess whether this semantically-derived TEP is reliable, specific strategy used to generate CSLD is detailed in Secwe compute its success probability PSEC,i , defined as the tion VII. a posteriori probability that eSEC correctly identifies the true Generating multiple candidates, however, raises an alignchannel error pattern: ment problem. BART produces each candidate one token at PSEC,i ≜ Pr (ẽB = eSEC | dSEC ) , (10) a time. Different candidates may use different numbers of where dSEC = c̃SEC ⊕ r̃ is the difference pattern between the tokens, so the reconstructed segment can appear at different re-encoded codeword and the hard-decision received vector, character positions across CSLD . Fixed-length slicing as in and Pr(ẽB = eSEC ) is the a priori probability of ẽB = eSEC . MSC is therefore no longer valid; we need to locate each Let DSEC denote the random variable corresponding masked segment within each candidate. 2) Locating the Reconstructed Content: For each masked to dSEC . For notational brevity, we write Pr(dSEC ) for segment i ∈ Serr , we extract its candidate segments from the Pr(DSEC = dSEC ) in the following. Applying the probability V candidate sentences as analysis framework in [26], PSEC,i can be expressed via Bayes’ theorem as Di = fextract (CSLD , ŝ′SEC , i), (16) Pr(dSEC |ẽB = eSEC ) Pr(ẽB = eSEC ) where each element of Di has length lMSC . . (11) PSEC,i = Pr(dSEC ) The extraction function fextract (·, ·, ·) locates the reconFollowing [26], PSEC,i can be approximated as structed content for each masked segment i ∈ Serr in each !−1 candidate ŝvSLD ∈ CSLD . Since correctly decoded segments (1 − P (eSEC ))2k−n Y Y PSEC,i ≈ 1 + , are preserved across all candidates, they serve as anchors that P (eSEC ) P (j) (1 − P (j)) localize the reconstructed content despite the length variations. k≤j≤n k≤j≤n The extraction proceeds as follows. dSEC,j ̸=0 dSEC,j =0 • Leading segment (i = 1): No preceding anchor exists. (12) where P (j) ≈ (1 + exp(2αj ))−1 is the bit error probability The first lMSC characters are directly extracted from each at position j given reliability αj , and P (eSEC ) is the prior candidate ŝvSLD ∈ CSLD . 𝒐𝒐𝒐𝒐𝒐𝒐

…

…

…

…

𝒂𝒂𝒂𝒂𝒂𝒂𝒂𝒂𝒂𝒂𝒂𝒂 𝒗𝒗𝒐𝒐𝒐𝒐𝒐𝒐

…

𝒗𝒗

SEC output s�sec

1 \\hb?Q!??

𝑣𝑣 Candidate s�sld

𝑣𝑣 s�sld,1

The man 1

2 in black

3 and red

4 0y??acKc

5 t?hfhseo

(Anchor) (Anchor) and an a 2

thlete i 3

n black 4

and red 5

6 re the w

7 inning r

𝑣𝑣 s�sld,4

𝑣𝑣 s�sld,5

is about 6

to sco 7

8 un.

re the w … 8

Fig. 3. Illustration of reconstructed contents extraction with Serr = {1, 4, 5}. Segment 1 is extracted as a leading segment. Segments 4 and 5 are consecutive inning r un. masked segments. Received after decoding 𝐬𝐬�

1 Machine

2 learning

3 9 is very

10 4 7#xK9mQ

Candidates in 𝓓𝓓𝟒𝟒

Re-encoding

Distance

powerful

0100…1100

4.5 (Best!)

advanced

0010…0011

reliable

1111…0000

Compared WHD with 𝐲𝐲𝟒𝟒

56.7 63.2

Fig. 4. Example of WHD selection in SLD: candidates in D4 are re-encoded and ranked by their WHD against y4 ; ”powerful” achieves the minimum distance and is selected.

Non-leading segment (i > 1): If i−1 ∈ / Serr , the preceding segment ŝSEC,i−1 serves as the anchor. The subsequent lMSC characters are extracted. • Consecutive masked segments (i, i+1, . . . , i+r for r ≥ 1): The nearest reliable segment preceding the group serves as the anchor, after which r+1 consecutive blocks of length lMSC are extracted. Figure 3 illustrates this procedure. Applying it to all V candidates yields the candidate segment set Di = {ŝ1SLD,i , . . . , ŝvSLD,i , . . . , ŝVSLD,i }. •

C. Weighted Hamming Distance Selection Since all candidates in Di are semantically plausible, we perform bit-level selection by evaluating each candidate’s distance against the received signal. Each candidate segment ŝvSLD,i is first converted to its k-bit ASCII representation b̂vSLD,i , then re-encoded using the generator matrix GMSC to obtain the codeword ĉvSLD,i = b̂vSLD,i GMSC . The weighted Hamming distance d(W ) (ĉvSLD,i , yi ) between ĉvSLD,i and yi is then computed following (6). Re-encoding maps each semantically generated candidate back to the codeword domain, enabling direct comparison with the channel observation. When the correct segment is contained in Di , its re-encoded codeword typically achieves the lowest WHD, as it is closest to the transmitted codeword. For each erroneous segment i ∈ Serr , we select the candidate minimizing the WHD: ŝopt d(W ) (ĉvSLD,i , yi ). (17) SLD,i = arg v min ŝSLD,i ∈Di

The final SLD output is constructed by replacing each erroneous segment with its optimal candidate while preserving SEC outputs at other segments:  opt ŝSLD,i if i ∈ Serr , ŝSLD = (18) ŝSEC,i otherwise. Only segments flagged as unreliable are refined by SLD. Figure 4 illustrates this selection process for an example segment.

Algorithm 1 MSC Receiver with SEC and SLD Input: Received signal y = [y1 , . . . , yq ], generator matrix GMSC , confidence threshold TSEC , candidate list size V Output: Decoded sentence ŝ 1: for i = 1, . . . , q in parallel do 2: b̂i ← OSD(yi ) // Stage 1: Parallel Channel Decoding −1 3: ŝi ← fASCII (b̂i ) 4: end for 5: ŝSEC ← fSEC (fBPE (ŝ); θSEC ) // Stage 2: Semantic Error Correction 6: for i = 1, . . . , q do 7: ĉSEC,i ← fASCII (ŝSEC,i ) GMSC // Re-encoding 8: Compute PSEC,i via (12) 9: end for 10: Serr ← {i : PSEC,i < TSEC } // Error Identification 11: if Serr = ∅ then 12: return ŝSEC 13: end if 14: Form ŝ′SEC for all i ∈ Serr via (13) // Stage 3: List Decoding 15: Generate V candidates CSLD via (15) 16: for each i ∈ Serr do 17: Extract candidate set Di via (16) 18: Re-encode each ŝvSLD,i ∈ Di into ĉvSLD,i 19: Evaluate d(W ) (ĉvSLD,i , yi ) via (6) 20: Select ŝopt SLD,i via (17) 21: end for 22: return ŝSLD via (18)

D. Algorithm Algorithm 1 summarizes the complete MSC receiver. It proceeds in three stages: parallel OSD decoding of the q segments, SEC with error identification, and SLD refinement of the identified erroneous segments. V. S EMANTIC R ETRANSMISSION S CHEME Even with SLD, some segments may remain unreliable when both semantic context and channel information are insufficient. This can be further resolved by retransmission. Conventional HARQ detects errors via CRC and retransmits the entire message or additional parity-check bits upon failure. We propose SHARQ, which retransmits only the segments identified as unreliable. A. Error Identification Even after SLD selection, ŝopt SLD,i ̸= si remains possible when (i) the true segment si is not generated by the language model, so si ∈ / Di , or (ii) the channel reliability αi is too low for WHD to discriminate among candidates. We therefore compute PSLD,i , defined analogously to (12) but evaluated at the re-encoded optimal candidate ĉopt SLD,i = fASCII (ŝopt ) G . As P combines the languageMSC SLD,i SLD,i model-induced prior (through Di ) with the channel soft information (through αi ), it serves as a joint semantic–channel confidence score. Segments with confidence below a threshold Tharq ∈ (0, 1) are marked for retransmission, Sharq = {i : PSLD,i < Tharq }. B. Semantic Confidence-Guided HARQ When Sharq ̸= ∅, the receiver requests retransmission of the segments indexed by Sharq . When the retransmission budget is

constrained to M < |Sharq | segments, the receiver requests the M segments with the lowest confidence (i.e., PSLD,i ). Following incremental redundancy (IR) HARQ, the transmitter sends additional parity bits for each requested segment, received as yi∗ .The receiver concatenates the retransmitted and original observations, yir = [yi , yi∗ ], i ∈ Sharq , (19) and decodes them via OSD and ASCII source decoding to obtain the updated segment estimates ŝri . The updated sentence ( estimate is assembled as ŝri if i ∈ Sharq ŝr = (20) ŝSLD,i otherwise. The assembled ŝr is then re-processed through the full SEC r and SLD pipeline, which produces a new error set Sharq . r Retransmission rounds can continue until Sharq = ∅ or the maximum number of rounds is reached.

TABLE II E MPIRICAL RECOVERY PROBABILITY PREC (qe ) FOR qe ≤ 4 AT SNR = 1.5 D B.

SEC

qe 0 1 2 3 4

C(64, 32) q = 16 1 0.898 0.827 0.735 0.608

C(128, 64) q=8 1 0.635 0.525 0.111 –

C(256, 128) q=4 1 0.227 0.250 – –

for every code configuration, reflecting the loss of contextual segments available for reconstruction. Furthermore, at the same qe , shorter codes yield higher recovery probabilities, because each failure spans fewer characters. The statistical recovery rate q X η= Prec (qe ) · P(|E| = qe ),

(23)

qe =1

C. Elimination of CRC Overhead Conventional HARQ appends a kcrc -bit CRC to each segment’s information bits for error detection, reducing the effective code rate from R = k/n to (k − kcrc )/n. The overhead ratio ρcrc = kcrc /k is negligible for long codes. For example, a 16-bit CRC on a (1024, 512) codeword yields ρcrc = 3.1%. However, it becomes prohibitive for short codes: an 8-bit CRC on a (32, 16) code halves the throughput (ρcrc = 50%). SHARQ eliminates this overhead by replacing the CRC with PSLD,i , which is computed directly from the channel reliabilities α and carries no transmitted redundancy. The effective rate therefore equals the nominal rate R, and the throughput gain over CRC-HARQ is kcrc k −1= , (21) G= k − kcrc k − kcrc independent of the number of segments q. VI. P ERFORMANCE AND C OMPLEXITY A NALYSIS A. SEC Analysis 1) Analytical Framework: Let E ⊆ {1, . . . , q} denote the set of segments that are erroneous after OSD decoding, and let qe = |E|. For segment i ∈ E, let Ri denote the event that the semantic module successfully recovers segment i. In general, P(Ri | i ∈ E) depends on which segments fail and on their semantic content, which makes a closed-form analysis intractable. Therefore, we adopt the following simplification. Assumption 1: The recovery probability of any erroneous segment depends on the error pattern E only through its cardinality qe = |E|. We accordingly define Prec (qe ) ≜ P(Ri | i ∈ E, |E| = qe ),

(22)

which is independent of the segment index i and of the specific positions of the other erroneous segments. Table II reports Prec (qe ) measured at SNR = 1.5 dB for qe ≤ 4, with Prec (0) ≜ 1 since no recovery is needed when all segments decode correctly. Entries for qe = 4 on longer codes such as (128, 64) are omitted, as the event is exceedingly rare at this SNR. As seen, Prec (qe ) decreases monotonically with qe

is a weighted average of Prec (qe ) over all error multiplicities. Since the q segments are independently decoded and experience i.i.d. channel noise, the number of erroneous segments follows a binomial distribution:   q P(|E| = qe ) = (PeOSD )qe (1 − PeOSD )q−qe , (24) qe where PeOSD is the per-segment OSD block error probability. For an order-m OSD applied to a C(n, k) code, a decoding error occurs when the number of channel errors in the k most reliable positions exceeds m. Let pE1k (j) denote the probability that exactly j of these k positions are in error, as characterized by [26, Lemma 1]. Then k X OSD pE1k (j) + PML , (25) Pe ≈ j=m+1

where pE1k (j) is given by [26, Eq. (12)] and depends on the SNR through the bit error probabilities of the ordered reliability positions. Here, PML is the maximum-likelihood error probability of CMSC (n, k), which is an inherent property of the code. Therefore, we have   q X q η= Prec (qe ) · (PeOSD )qe (1 − PeOSD )q−qe . (26) q e q =1 e

To derive the sentence-level BLER, we require one additional assumption. Assumption 2: Given the number of erroneous segments qe and the channel observations, the recovery outcomes of individual erroneous segments are mutually independent, each succeeding with probability Prec (qe ). Under this assumption, the probability that all qe erroneous segments are simultaneously recovered is [Prec (qe )]qe . Averaging over the binomial distribution of qe yields q   X q BLER = 1− (PeOSD )qe (1−PeOSD )q−qe [Prec (qe )]qe , q e qe =0 (27) If Prec (qe ) is approximated by η independent of qe , we have q BLER ≈ 1 − 1 − PeOSD (1 − η) . (28)

B. Extension to SLD The above analytical framework cannot directly apply to SLD. The recovery event for SLD decomposes as SLD Prec (qe ) = Pcover (qe ) · Pselect (qe ). (29) Given a candidate set, Pselect reduces to a minimum-distance decoding problem over |Di | codewords and is amenable to channel-coding analysis. The coverage probability Pcover , however, depends on the language model’s distribution, the candidate diversity, and the available semantic context. These factors are determined by training data and model architecture rather than by channel or coding parameters. C. Information-Theoretic Interpretation We provide an information-theoretic interpretation of the proposed framework. Let E ⊆ {1, . . . , q} denote the set of erroneous segments after channel decoding, and let sE = {si }i∈E and sĒ = {sj }j ∈E / denote the erroneous and correctly decoded segments, respectively. 1) Residual uncertainty after decoding failure: Under LC, a decoding failure corrupts the entire sentence. The receiver retains only the channel observation y, so the residual uncertainty is HLC ≜ H(s | y, FLC ) = H(s | y). (30) where FLC denotes the LC decoding failure event. Under MSC, the correctly decoded segments sĒ are known exactly, and the residual uncertainty is (31) HMSC ≜ H(s | y, sĒ ) = H(sE | y, sĒ ), where the equality follows because sĒ is a deterministic function of s, so conditioning on it eliminates uncertainty in the known segments. 2) Information gain from correctly decoded segments: The reduction in uncertainty provided by MSC over LC is HLC − HMSC = H(s | y) − H(sE | y, sĒ ) (32) = H(sĒ | y) + I(sĒ ; sE | y), where the first term H(sĒ | y) accounts for the uncertainty in sĒ that is resolved by successful decoding, and the second term I(sĒ ; sE | y) is the mutual information between correctly decoded and erroneous segments given the channel observation. Both terms are non-negative, thus HMSC ≤ HLC . (33) The inequality is strict whenever E ̸= {1, . . . , q}, i.e., at least one segment is correctly decoded. The mutual information term I(sĒ ; sE | y) captures the semantic side information that the language model exploits; rigorous characterization of this quantity for natural language remains open. 3) Connection to recovery probability: Fano’s inequality links the conditional entropy and the recovery error probability. Let Pe,i = Pr(ŝi ̸= si | i ∈ E) denote the probability that the semantic module fails to recover segment i. Then H(si | y, sĒ ) ≤ 1 + Pe,i log2 (|Si | − 1), (34) where |Si | = 2k is the cardinality of the segment alphabet, since each segment carries k information bits. Equivalently, H(si | y, sĒ ) − 1 H(si | y, sĒ ) − 1 ≈ (35) Pe,i ≥ log2 (|Si | − 1) k

where we used log2 (2k − 1) ≈ k for k ≥ 1. The bound shows that the recovery error probability is at least proportional to the ratio of the residual conditional entropy to the segment length. As qe increases, fewer segments are available in sĒ , so H(si | y, sĒ ) is non-decreasing in qe . The lower bound on Pe,i therefore tightens with qe , consistent with the empirical decrease of Prec in Table II. 4) Segmentation tradeoff: The Fano bound in (35) suggests a tradeoff in choosing the segmentation factor q for a fixed total information length k ′ = qk. Two competing effects act on the Fano ratio (H(si | y, sĒ ) − 1)/k as q varies. We decompose the conditional entropy as H(si | y, sĒ ) = H(si | y) − I(si ; sĒ | y). (36) The second term I(si ; sĒ | y) captures the semantic gain from context. For a fixed context fraction (q−qe )/q, increasing q shrinks each segment to fewer characters while the relative amount of context grows in proportion. Since natural language exhibits strong inter-segment dependencies, this favors a larger mutual information per erroneous segment, which lowers the conditional entropy and the Fano ratio. The opposing effect is the finite-blocklength penalty. As q increases, each segment uses a shorter code C(k ′ /(qR), k ′ /q) operating deeper in the finite-blocklength regime. By the normal approximation (2), the per-segment OSD error probability PeOSD (k ′ /q) grows with q, so E[qe ] = q · PeOSD (k ′ /q) rises and the context set |Ē| = q − qe shrinks. This reduces the mutual information that the semantic gain relies on. The optimal q ∗ minimizing the BLER in (27) therefore balances these two effects. Its value depends on both the operating SNR and the entropy structure of the source language, which is examined empirically in Section VII-C. D. Complexity of Semantic Module Let z denote the token sequence length after BPE tokenization. Since BART adopts the standard Transformer architecture [23], its computational complexity follows directly from the per-layer analysis therein. We denote the number of encoder and decoder layers by Le and Ld , the hidden dimension by d, and the vocabulary size by lvoc . 1) BART Encoder Complexity: Following the Transformer architecture [23], each encoder layer has per-layer complexity O(z 2 d) for self-attention and O(zd2 ) for the linear projections and feed-forward network. The total encoder complexity is Oenc ≈ Le (z 2 d + zd2 ). (37) 2) BART Decoder Complexity: In addition to the selfattention and feed-forward components shared with the encoder, each decoder layer includes encoder-decoder crossattention with O(z 2 d) cost and a vocabulary projection with O(zlvoc d) cost. The total decoder complexity is Odec ≈ Ld (z 2 d + zd2 + zlvoc d). (38) 3) SEC and SLD Complexity: SEC generates a single output sequence, so the encoder and decoder each execute once. The overall complexity is OSEC = Oenc + Odec . (39)

SLD maintains a candidate set of size V throughout the autoregressive token generation, enlarging the decoder cost by a factor of V . Since all candidates share the same encoder output, the overall complexity is OSLD = Oenc + V · Odec . (40) 4) Comparison to Channel Decoding: The semantic module and the channel decoder exhibit fundamentally different complexity structures. Order-m OSD has complexity O(k m+2 ) per segment [27], which grows rapidly with the decoding order m = ⌈dmin /4⌉ and the information length k. In contrast, the semantic module complexity is polynomial in the token sequence length z and the model dimension d, independent of the code parameters (n, k). Furthermore, OSD is applied independently to each of the q segments and can be fully parallelized, whereas the semantic module processes the entire sentence in a single pass to exploit cross-segment context. Consequently, the semantic overhead is a fixed per-sentence cost that does not scale with q. VII. E XPERIMENTAL R ESULTS AND D ISCUSSION A. Implementation Details 1) Dataset and Training: We use the Stanford Natural Language Inference (SNLI) corpus [28], selecting 20,000 sentences for training and 500 for testing. Sentence character lengths ℓ range from 57 to 64; zero-padding is applied to ensure fixed 512-bit inputs (64 bytes) after ASCII encoding. For SEC training, we construct a dataset DSEC = {(s(j) , ŝ(j) )}N j=1 , where each pair consists of an original sentence s(j) and its corrupted estimate ŝ(j) obtained after channel encoding, AWGN transmission, and OSD decoding. Each sentence is transmitted 10 times at various SNRs with independent noise realizations, yielding N = 200,000 training pairs. For (j) SLD training, we construct DSLD = {(s(j) , smask )}N j=1 from the SEC training data by replacing erroneous segments with ⟨mask⟩ tokens, generating 200,000 masked sentence pairs. Both models are fine-tuned from BART-base by minimizing the token-level cross-entropy N Tj   1 XX (j) (j) log P st s<t , s̃(j) , (41) L=− N j=1 t=1 where s̃(j) is the input sentence of the j-th training pair, (j) (j) namely ŝ(j) for SEC and smask for SLD. Then, st denotes the t-th target token of the reference sentence s(j) of length Tj . The conditional probability is produced by BART’s autoregressive decoder. The AWGN channel and all channel coding/decoding pipelines are implemented in Sionna [29]. For the (256, 128) code, OSD decoding is computationally prohibitive, so the corresponding BLER curve is replaced by the normal approximation bound [4]. SEC and SLD share the same BART-base backbone [24], fine-tuned on a single NVIDIA A10G GPU. SLD candidate generation uses diverse beam search [30] with V = 20 candidates partitioned into G = 4 groups and diversity strength λ = 0.8. All hyperparameters are listed in Table III.

TABLE III T RAINING PARAMETERS Parameter

Value

Parameter

Value

Training SNRs Optimizer TSEC

−2 to 2 dB Adam 0.001

Learning rate Batch size TSLD

3 × 10−5 128 0.1

2) Benchmarks: We compare the following methods: ′ ′ • LC: LDPC code with (n , k ) = (1024, 512), decoded via BP with 80 iterations. • MSC: We evaluate codes C(n, k) with (n, k) ∈ {(32, 16), (64, 32), (128, 64), (256, 128)}. A 512-bit sentence is segmented into q ∈ {32, 16, 8, 4} parts for independent encoding. Each segment is decoded using OSD with order m = ⌊dH /4 − 1⌋ ∈ {2, 2, 4, 8}. • MSC-SEC: MSC followed by the SEC module • MSC-SLD: MSC followed by the SEC and SLD module For HARQ evaluation, MSC schemes use CRC-aided polar codes decoded by OSD, while LC uses CRC-aided LDPC codes decoded by BP. Both adopt a mother code of rate Rm = 0.25, and transmit half of the mother codeword in the initial transmission (i,e,, rate 0.5). LC selects the transmitted bits according to the 5G NR LDPC rate-matching pattern [31], while MSC uses the most reliable positions in the polar reliability sequence [31]. The remaining bits of the mother code are delivered in the retransmission. 3) Evaluation metrics: Our evaluation captures both transmission reliability and semantic fidelity. For transmission reliability, we use sentence-level BLER: each sentence s is treated as a single block regardless of encoding method, and a block error occurs when the recovered sentence differs from the original after all processing stages. This ensures fair comparison, as computing BLER per segment for MSC would yield misleadingly low error rates. For semantic fidelity, we adopt BLEU [32] and ROUGE-L [33], which evaluate ngram precision and longest common subsequence similarity, respectively, providing fine-grained assessments of reconstruction accuracy at the character level. In the remainder of the paper, we refer to ROUGE-L simply as ROUGE. B. Single Transmission Performance Comparison This subsection compares LC, MSC, MSC-SEC, and MSCSLD. To isolate the effect of segmentation from that of semantic processing, we also evaluate LC augmented with the same fine-tuned SEC module, denoted LC-SEC. 1) BLER: Figure 5(a) compares the BLER performance for q = 8. In the low-SNR regime, both LC and MSC exhibit high BLER. LC enters its waterfall region near 1 dB and reaches BLER = 10−4 at 2.1 dB, whereas MSC reaches BLER = 10−2 at 2.5 dB. The gap reflects the reduced coding gain of short block codes at finite blocklength, as indicated by the normal approximation bound [4]. Adding SEC affects the two schemes differently. For LC, LC-SEC yields negligible BLER improvement, since a decoding failure of a single long codeword typically corrupts the entire sentence and leaves no reliable context for semantic reconstruction. MSC-SEC

LC-SEC 100

BLEU

BLER

10 1 10 2

MSC

MSC-SEC

MSC-SLD 100

80

80

60

60

ROUGE

LC

100

40 20

10 3

40 20

0

0 1.0 1.5 2.0 2.5 0.5 0.0 0.5 1.0 1.5 2.0 0.5 0.0 0.5 1.0 1.5 SNR (dB) SNR (dB) SNR (dB) (a) BLER (b) BLEU (c) ROUGE Fig. 5. Performance of proposed (128,64) MSC scheme and two pipeline comapred to LC scheme in BLER, BLEU, and ROUGE. (32,16) MSC-SEC

(64,32) MSC-SEC 100

BLEU

BLER

10 3

80 70 60

100 98 96

0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 0.0 0.5 1.0 1.5 2.0 2.5 SNR (dB) SNR (dB) (a) BLER (b) BLEU Fig. 6. MSC-SEC performance with different code lengths in BLER, BLEU, and ROUGE. (32,16) MSC-SLD (64,32) MSC-SLD (128,64) MSC-SLD 100 100

10 3

3.0

80 70

100.0 99.5 99.0

60 0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 0.0 0.5 1.0 1.5 2.0 2.5 SNR (dB) SNR (dB) (a) BLER (b) BLEU Fig. 7. MSC-SLD performance with different code lengths in BLER, BLEU, and ROUGE.

provides a 0.4 dB gain over MSC across all SNRs, because localized segment failures leave the surrounding segments correct for reconstruction. MSC-SLD further improves BLER, with approximate 0.8 dB over MSC and 0.4 dB over MSCSEC, owing to bit-level WHD verification of multiple candidates. 2) Semantic Fidelity: BLEU and ROUGE scores are reported in Fig. 5(b) and (c). At SNR = −0.5 dB, MSC-SEC raises BLEU from 6 to 28 and ROUGE from 5 to 48 relative to MSC; MSC-SLD raises them further to 45 and 65, respectively. However, the SEC model only improves the semantic scores of LC slightly. The segmentation strategy of MSC-series methods leads to superior BLEU and ROUGE performance over LC at low SNRs. C. Impact of Code Length We compare four code configurations, including (32, 16), (64, 32), (128, 64), and (256, 128), at a fixed rate R = 0.5 to study the interplay between blocklength and semantic processing gain. Since the total sentence length is fixed at 512 bits, varying the blocklength changes the number of segments to q = 32, 16, 8, 4, respectively. 1) MSC-SEC Performance: Figure 6 demonstrates BLER and semantic fidelity for MSC-SEC across all four code lengths, as well as their gaps to LC. As shown, shorter codes yield worse BLER at every SNR, consistent with trend

0.0

0.5

(256,128) MSC-SLD 100 95 90 85 80 75

90 BLEU

BLER

10 1 10 2

(256,128) MSC-SEC 100 95 90 85 80 75

90

10 1 10 2

(128,64) MSC-SEC

ROUGE

100

0.5

ROUGE

0.0

3.0

0.0

0.5

2.0

LC

100 99 98

1.0 1.5 2.0 SNR (dB) (c) ROUGE

2.5

3.0

2.5

3.0

LC

100.0 99.5 99.0

1.0 1.5 2.0 SNR (dB) (c) ROUGE

indicated by finite blocklength bound. SEC can improve BLER for all code lengths (as shown in Fig. 5), but only the (256, 128) code reaches BLER comparable to LC under SEC. The remaining three codes, despite the SEC gain, still fall short of the LC waterfall curve by a considerable gap. The (32, 16) code performs worst, remaining above BLER = 10−2 throughout the SNR range. The semantic metrics exhibit the opposite trend. At low SNR, shorter codes achieve higher BLEU and ROUGE. Specifically, at 0 dB, (32, 16) and (64, 32) lead (128, 64) and (256, 128) by roughly 24% on both metrics. This is because each (32, 16) segment failure corrupts only 2 characters, leaving most of the sentence intact for the language model to reconstruct from, whereas a (256, 128) failure corrupts 16 characters and removes a larger fraction of the available context. As SNR increases and segment error rates drop, longer codes overtake shorter ones in semantic fidelity as well. This is because at high SNR the error-correction capability of longer channel codes dominates and the additional gain from semantic processing becomes marginal. 2) MSC-SLD: Figure 7 shows MSC-SLD performance for all four code lengths. Compared to MSC-SEC in Fig. 6, SLD provides additional BLER and semantic gains across all configurations, with the improvement most significant for shorter codes.

100

MSC MSC-SEC MSC-SLD LC

4

8

q

16

32

Fig. 8. Impact of the number of segments q on BLER at SNR = 2 dB for different methods.

For BLER, at low SNR longer codes perform worse than shorter ones, because a longer code has fewer segments (q = 4 for (256, 128) versus q = 32 for (32, 16)), leaving SLD with less intact context to reconstruct from. At high SNR, shorter codes exhibit higher BLER, as the channel code’s own error-correction capability becomes the dominant factor and longer codes benefit from their larger minimum distance. The crossover occurs around 1.3 dB. Among all configurations, the (32, 16) code reaches BLER = 10−3 at 3 dB, which is similar to the (64, 32) code. For semantic fidelity, the advantage of shorter codes is more significant. At 0 dB, the (32, 16) code achieves BLEU = 94.3 and ROUGE = 97.4, compared to 85 and 92 for (64, 32) and 61 and 74 for (256, 128). At the same SNR, LC produces near-zero BLEU and ROUGE because a single long-codeword failure destroys the entire sentence. 3) BLER versus Number of Segments: Figure 8 plots BLER against q at a fixed SNR of 2 dB. For MSC without semantic processing, BLER grows by nearly three orders of magnitude from q = 4 to q = 32, reflecting the finite-blocklength penalty of progressively shorter codes. Adding SEC and SLD narrows this spread. MSC-SLD limits the growth to approximately one order of magnitude over the same range. The gap between MSC and MSC-SLD widens with q, indicating that the semantic processing gain scales with the number of segments and partially compensates for the reduced coding gain of shorter blocklengths. At q = 4, MSC-SLD approaches the LC baseline. D. Analytical versus Simulation Results Figure 9 compares the analytical BLER from (27) and the approximation from (28) against simulation results for MSCSEC using the (64, 32) and (128, 64) codes. The (256, 128) code is omitted from the figure as all three curves nearly overlap, confirming that both expressions are tight when the number of segments q is small. For the (128, 64) code with q = 8, (27) closely matches the simulation, validating the independence assumption underlying the term [Prec (qe )]qe . As the code length decreases to (64, 32) with q = 16, a noticeable gap emerges. Eq. (27) underestimates the simulated BLER by approximately 0.2 dB. This is because the independence assumption treats the recovery outcomes of individual erroneous segments as mutually independent, each succeeding with probability Prec (qe ). In practice, however, when multiple segments fail simultaneously, they mutually deprive each other of contextual information. The joint recovery probability is therefore lower than the

10 2 10 3

Sim. Analytical. (27) Approx. (28)

Sim. Analytical. (27) Approx. (28)

0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 0.0 0.5 1.0 1.5 2.0 2.5 SNR (dB) SNR (dB) (a) (b) Fig. 9. Comparison of analytical BLER and simulated BLER for MSC-SEC. 100 10 1

BLER

10 3 10 4

(128,64), q=8

10 1

10 2

BLER

BLER

10 1

(64,32), q=16

100

MSC MSC-SEC-Pretrain MSC-SLD-Pretrain MSC-SEC-Finetune MSC-SLD-Finetune

10 2 10 3 0.0

0.5

1.0

1.5

SNR (dB)

2.0

2.5

Fig. 10. BLER comparison of pretrained and fine-tuned SEC/SLD models with (128, 64) MSC.

product [Prec (qe )]qe , and this correlation effect becomes more pronounced as q increases and simultaneous failures become more frequent. The approximation (28), which replaces Prec (qe ) with a constant η, overestimates the simulated BLER consistently. This is because Prec (qe ) decreases monotonically with qe , and η, as a weighted average over all qe , underestimates recovery for the small-qe terms that dominate the binomial sum at moderate PeOSD . Despite these gaps, both expressions track the simulated BLER trend closely across all code lengths and serve as practical bounds for code parameter selection. E. Effect of Fine-Tuning The SEC and SLD modules rely on a fine-tuned BART model. A natural question is whether fine-tuning is necessary, or whether the pretrained BART-base already possesses sufficient language knowledge to perform the reconstruction. In this subsection, we replace the fine-tuned BART with the pretrained BART-base while keeping the rest of the pipeline. We test on the (128, 64) code. As shown in Fig. 10, the pretrained models provide negligible improvement over the baseline MSC. This is because the generic denoising patterns learned during pretraining (e.g., token masking, deletion, and shuffling) differ substantially from the structured errors introduced by channel decoding. In contrast, the fine-tuned models achieve significant gains. SEC-Finetune provides approximately 0.4 dB improvement over MSC, and SLD-Finetune extends this to over 0.8 dB. These results confirm that fine-tuning on channel-specific error patterns is essential for the proposed framework. F. Retransmission Performance Analysis We evaluate HARQ performance with mother codes C(256, 64), C(128, 32), and C(64, 16) at mother-code rate Rm = 1/4 and first-transmission rate Rt = 1/2. To ensure a fair comparison across configurations, the retransmission budget is fixed at 128 parity bits per sentence across all

MSC-HARQ 100

MSC-SLD-HARQ 100

10 3

(64,16) (128,32) (256,64)

10 4 0.5

0.0

BLER

ROUGE

10 2

60

1.0

SNR (dB) (a) BLER

1.5

2.0

10 2

40 (64,16) (128,32) (256,64)

20 0.5

MSC-SLD-SHARQ MSC-SLD-HARQ

10 1

80

10 1

BLER

100

LC-HARQ

0

0.5

0.0

0.5

SNR (dB) (b) ROUGE

1.0

(64,16) (256,64)

10 3 0.5

1.5

Fig. 11. Retransmission performance comparison of MSC-HARQ, MSC-SLDSHARQ, and LC-HARQ in BLER and ROUGE.

three codes. This corresponds to retransmitting at most 1 segment for q = 8, 2 segments for q = 16, and 4 segments for q = 32. Three schemes are compared: (i) MSC-HARQ, which is the IR-HARQ baseline without semantic processing. It re-transmits segments randomly selected from the error set identified by PSEC,i in Section IV-A; (ii) MSC-SLD-SHARQ, which applies SLD in both transmission rounds and prioritizes retransmission by the confidence score PSLD,i . (iii) LC-HARQ, which encodes the entire sentence as a single long LDPC codeword and retransmits 128 additional parity bits via IRHARQ. 1) BLER Performance: As shown in Fig. 11 (a), MSCHARQ suffers high BLER in the low-SNR regime, with the gap between code lengths widening as the SNR increases in accordance with the finite-blocklength bound. MSC-SLDSHARQ achieves substantially lower BLER across the entire SNR range. The (256, 64) code reaches a BLER of 0.046 at −0.5 dB; MSC-HARQ requires approximately 2.1 dB additional SNR to reach the same BLER. At high SNR, MSC-SLDSHARQ with the (256, 64) code retains a small advantage over LC-HARQ down to BLER = 10−4 . Under MSC-SLD-SHARQ, the BLER gap between (128, 32) and (64, 16) is much smaller than under MSCHARQ. Shorter codes produce more segments, so retransmitting a few selected segments together with SLD recovery over the remaining context corrects a comparable fraction of errors. Both shorter codes maintain a BLER advantage over LC-HARQ up to 1.5 dB. Compared to single-transmission MSC-SLD as shown in Fig. 7, MSC-SLD-SHARQ provides an additional gain of approximately 1.5 dB at the same target BLER. 2) Semantic Performance: Figure 11 (b) shows the ROUGE scores. Under MSC-HARQ, the three code lengths achieve similar ROUGE performance, with longer codes maintaining only a marginal lead. Although shorter codes suffer higher BLER due to weaker per-segment error correction, the retransmission resolves the most corrupted segments, and the remaining errors are distributed across many small segments, yielding comparable readability across code lengths. Under MSC-SLD-SHARQ, shorter codes achieve markedly higher semantic scores. At −0.5 dB, the (64, 16) code attains ROUGE = 99.4, compared to 94.8 for (128, 32) and 76.1 for (256, 64), while all MSC-HARQ codes score approximately 40 and LC-HARQ drops to 5.4. Fine-grained segmentation localizes each failure to a few characters, so more context

0.0

0.5

SNR (dB)

1.0

1.5

Fig. 12. Impact of retransmission strategy, confidence-guided (MSC-SLDSHARQ) versus random selection (MSC-SLD-HARQ).

remains for language-model reconstruction than when a few large segments are missing. The (64, 16) code maintains ROUGE > 99 across all evaluated SNRs. LC-HARQ exhibits highly unstable semantic performance. A successful LC decoding yields a perfect sentence, whereas a failure corrupts the entire output, leaving no partial context for semantic recovery. This produces near-zero ROUGE at low SNR even with retransmission. 3) Retransmission Strategy Analysis: We compare two segment-selection strategies for retransmission: MSC-SLDSHARQ, which retransmits the segments with the lowest success probability PSLD,i , and its random-selection counterpart MSC-SLD-HARQ, which selects segments uniformly at random from the SLD error set Sharq . Both apply SLD in transmission rounds; they differ only in the retransmission priority. As shown in Fig. 12, the confidence-guided strategy consistently outperforms random selection. MSC-SLD-SHARQ leads by 0.2 dB for the (64, 16) code and by 1.1 dB for the (256, 64) code. This trend reflects the distribution of PSLD,i across erroneous segments. For short codes with large q, per-segment BLER is high and the values of PSLD,i are relatively uniform, so random selection has a high probability of hitting a nearworst segment. For longer codes with small q, failures are few but their severity varies widely, so random selection is likely to miss the most damaging segment. The confidence-guided strategy targets the least reliable segment directly, yielding a larger marginal gain per retransmitted segment as q decreases. G. Latency Analysis Table IV presents the per-sentence decoding latency of each configuration. LC requires 1630 ms per sentence with 80 BP iterations, which is prohibitive for latency-sensitive applications. MSC can decode the q segments in parallel. The per-sentence channel-decoding latency decreases with q, showing 160, 90, and 53 ms for q = 8, 16, and 32, respectively. The growth with segment length is expected, since a longer segment requires a higher OSD order m = ⌈dmin /4⌉, and the OSD complexity scales as O(k m+2 ). The (256, 128) configuration (q = 4) is omitted because OSD at order m = 8 is computationally prohibitive. The semantic modules add a per-sentence cost that is independent of q, since each runs once on the full sentence, which are 63 ms for SEC and 230 ms for SLD. Even with the semantic overhead included, MSC remains substantially faster than LC. At q = 16, MSC-SEC and MSCSLD take 153 ms and 383 ms per sentence, corresponding

TABLE IV L ATENCY BREAKDOWN FOR EACH DECODING SCHEME ( PER SENTENCE ). Scheme

Time(ms)

Scheme

Time(ms)

LC MSC (q = 32) MSC-SEC

1630 53 63

MSC (q = 8) MSC (q = 16) MSC-SLD

160 90 230

to 90% and 76% latency reductions over LC, respectively. Combined with the BLER and semantic-fidelity results in Sections VII-B, this confirms that the proposed framework improves reliability while retaining a latency profile suitable for short-packet transmission. We note that BP decoding is itself amenable to parallelization, where all node updates can be executed concurrently under a flooding schedule. In this work we report the latency of a standard Sionna BP implementation. The intra-decoder parallelism of BP applies to one long codeword, whereas MSC parallelism is segment-level. The segment-level parallelism remains complementary to the intra-decoder BP parallelism. VIII. C ONCLUSION This paper proposed a receiver-side framework that integrates a pretrained language model into the decoding of short block codes while preserving the source–channel separation architecture. The key insight is that transmitting a sentence as multiple short codewords localizes each channel-decoding failure to a small segment, leaving the surrounding segments to serve as context for language-model-based recovery. Building on this idea, the proposed semantic error correction (SEC), semantic list decoding (SLD), and semantic hybrid automatic repeat request (SHARQ) modules couple language-model inference with bit-level channel reliability through re-encoding, and replace CRC-based error detection with a joint semantic– channel confidence score. The resulting framework attains the BLER of a long-code baseline at a fraction of the decoding latency, while maintaining high semantic fidelity even in SNR regimes where the long code fails catastrophically. R EFERENCES [1] C. Yue et al., “Efficient decoders for short block length codes in 6G URLLC,” IEEE Commun. Mag., vol. 61, no. 4, pp. 84–90, 2023. [2] R. Gallager, “Low-density parity-check codes,” IEEE Trans. Inf. Theory, vol. 8, no. 1, pp. 21–28, 1962. [3] M. Shirvanimoghaddam et al., “Short block-length codes for ultrareliable low latency communications,” IEEE Commun. Mag., vol. 57, no. 2, pp. 130–137, February 2019. [4] Y. Polyanskiy, H. V. Poor, and S. Verdu, “Channel coding rate in the finite blocklength regime,” IEEE Trans. Inf. Theory, vol. 56, no. 5, pp. 2307–2359, 2010. [5] D. Gündüz et al., “Beyond transmitting bits: Context, semantics, and task-oriented communications,” IEEE J. Sel. Areas Commun., vol. 41, no. 1, pp. 5–41, 2023. [6] S. Gao et al., “Importance of semantic information based on semantic value,” IEEE Trans. Commun., vol. 72, no. 9, pp. 5443–5457, 2024. [7] J.-H. Lee et al., “Integrating pre-trained language model with physical layer communications,” IEEE Trans. Wireless Commun., vol. 23, no. 11, pp. 17 266–17 278, 2024. [8] Y. Liu et al., “Extended context-based semantic communication system for text transmission,” Digit. Commun. Netw., vol. 10, no. 3, pp. 568– 576, 2024. [9] Bourtsoulatze et al., “Deep joint source-channel coding for wireless image transmission,” in Proc. IEEE Int. Conf. Acoust., Speech Signal Process. (ICASSP), 2019, pp. 4774–4778.

[10] H. Xie et al., “Deep learning enabled semantic communication systems,” IEEE Trans. Signal Process., vol. 69, pp. 2663–2675, 2021. [11] K. Yang et al., “Swinjscc: Taming swin transformer for deep joint sourcechannel coding,” IEEE Trans. on Cogn. Commun. Netw., vol. 11, no. 1, pp. 90–104, 2025. [12] J. Huang et al., “D²-jscc: Digital deep joint source-channel coding for semantic communications,” IEEE J. Sel. Areas Commun., vol. 43, no. 4, pp. 1246–1261, 2025. [13] C. E. Shannon, “A mathematical theory of communication,” Bell Syst. Tech. J., vol. 27, no. 3, pp. 379–423, 1948. [14] N. G. Evgenidis et al., “Hybrid semantic-shannon communications,” IEEE Trans. Wireless Commun., vol. 23, no. 9, pp. 10 926–10 940, 2024. [15] M. Wu et al., “Deep joint semantic coding and beamforming for near-space airship-borne massive mimo network,” IEEE J. Sel. Areas Commun., vol. 43, no. 1, pp. 260–278, 2025. [16] S. Park and H. Yang, “Semantic Pilot Design for Data-Aided Channel Estimation Using a Large Language Model,” 2025. [Online]. Available: https://arxiv.org/abs/2602.04126 [17] S. Yang et al., “Semantic Communication-Empowered Physical-layer Network Coding,” 2022. [Online]. Available: https://arxiv.org/abs/2209. 00791 [18] X. Mu and Y. Liu, “Semantic communication-assisted physical layer security over fading wiretap channels,” in Proc. IEEE Int. Conf. Commun. (ICC), 2024, pp. 2101–2106. [19] Y. Li et al., “Semantic HARQ for Intelligent Transportation Systems: Joint Source-Channel Coding-Powered Reliable Retransmissions,” 2025. [Online]. Available: https://arxiv.org/abs/2504.14615 [20] S. Kim et al., “Channel Coding for Unequal Error Protection in Digital Semantic Communication,” 2025. [Online]. Available: https://arxiv.org/pdf/2508.03381 [21] T. Erseghe, “Coding in the finite-blocklength regime: Bounds based on Laplace integrals and their asymptotic approximations,” IEEE Trans. Inf. Theory, vol. 62, no. 12, pp. 6854–6883, 2016. [22] M. Fossorier and S. Lin, “Soft decision decoding of linear block codes based on ordered statistics for the rayleigh fading channel with coherent detection,” IEEE Trans. Commun., vol. 45, no. 1, pp. 12–14, 1997. [23] A. Vaswani et al., “Attention is all you need,” in Proc. Adv. Neural Inf. Process. Syst. (NeurIPS), vol. 30. Curran Associates, Inc., 2017. [24] M. Lewis et al., “BART: Denoising sequence-to-sequence pre-training for natural language generation, translation, and comprehension,” in Proc. Annu. Meeting Assoc. Comput. Linguistics (ACL), Jul. 2020, pp. 7871–7880. [25] R. Sennrich et al., “Neural machine translation of rare words with subword units,” in Proc. 54th Annu. Meeting Assoc. Comput. Linguist. (ACL), 2016, pp. 1715–1725. [26] C. Yue et al., “Probability-based ordered-statistics decoding for short block codes,” IEEE Commun. Lett., vol. 25, no. 6, pp. 1791–1795, 2021. [27] C. Yue, C. She, B. Vucetic, and Y. Li, “The guesswork of ordered statistics decoding: Guesswork complexity and decoder design,” IEEE Trans. Inf. Theory, vol. 71, no. 6, pp. 4167–4192, 2025. [28] S. R. Bowman et al., “A large annotated corpus for learning natural language inference,” in Proc. Conf. Empirical Methods Natural Language Process. (EMNLP), Sep. 2015, pp. 632–642. [29] J. Hoydis et al., “Sionna: An open-source library for nextgeneration physical layer research,” 2021. [Online]. Available: https: //arxiv.org/abs/2004.04913 [30] A. Vijayakumar et al., “Diverse Beam Search: Decoding Diverse Solutions from Neural Sequence Models,” 2018. [Online]. Available: https://arxiv.org/abs/1610.02424 [31] ETSI TS 138 212 V16.2.0: 5G; NR; Multiplexing and Channel Coding, European Telecommunications Standards Institute (ETSI), 2020. [32] K. Papineni et al., “Bleu: a method for automatic evaluation of machine translation,” in Proc. Annu. Meeting Assoc. Comput. Linguistics (ACL), Jul. 2002, pp. 311–318. [33] C.-Y. Lin, “ROUGE: A package for automatic evaluation of summaries,” in Text Summarization Branches Out, Jul. 2004, pp. 74–81.

Record · ID 134600 · SHA-256 237e98d8304aed40
Retrieved via Conceptio — every document is proof-bundled with source, license, and retrieval metadata.