Papers
Topics
Authors
Recent
Search
2000 character limit reached

Code-Weight Sphere Decoding (WSD)

Updated 9 July 2026
  • Code-Weight Sphere Decoding (WSD) is a near-ML decoding framework that employs a two-stage process to refine initial estimates using precomputed low-weight codewords.
  • It constrains the search to a code-weight sphere by limiting Hamming weight deviations, thereby reducing complexity while maintaining high decoding reliability.
  • The multipoint extension (MP-WSD) introduces parallel refinement trajectories to balance latency and performance, making it suitable for ultra-reliable low-latency communications.

Searching arXiv for the specified WSD papers to ground the article in the original preprints. Code-Weight Sphere Decoding (WSD) is a two-stage near-maximum-likelihood decoding framework for binary linear block codes in the short-blocklength regime, introduced for ultra-reliable low-latency communications (URLLC) and formulated as applicable to any linear block code (Jo et al., 27 Aug 2025). In its baseline form, a low-complexity decoder first generates an initial estimate and a cyclic redundancy check; if that check fails, a second stage performs an iterative localized search over candidates generated from pre-computed low-weight codewords, refining the estimate within a code-defined sphere rather than over the entire codebook (Jo et al., 27 Aug 2025). A subsequent extension, multipoint code-weight sphere decoding (MP-WSD), generalizes the second stage to multiple parallel refinement trajectories, again emphasizing near-ML reliability with low average complexity and low decoding latency for short packets (Jo et al., 9 Feb 2026).

1. Formal setting and decoding objective

WSD is formulated for an (n,k)(n,k) binary linear block code CF2n\mathcal{C}\subset\mathbb{F}_2^n transmitted over a BPSK-modulated AWGN channel (Jo et al., 27 Aug 2025). A message mF2k\mathbf m\in\mathbb F_2^k, possibly CRC-precoded, is mapped by a generator matrix G\mathbf G to a codeword

c=mG,cC,\mathbf c = \mathbf m\,\mathbf G,\qquad \mathbf c\in\mathcal C,

and BPSK modulation uses

si=12ci,i=1,,n.s_i = 1-2\,c_i,\quad i=1,\dots,n.

The received vector is

y=s+n,nN(0,σ2In).\mathbf y = \mathbf s + \mathbf n,\quad \mathbf n\sim\mathcal{N}(\mathbf0,\sigma^2\mathbf I_n).

The same system model is restated in the later MP-WSD work using notation (N,K)(N,K), optional CRC augmentation KcK_c, BPSK mapping x(c)=1N2cx(c)=1_N-2c, and AWGN variance CF2n\mathcal{C}\subset\mathbb{F}_2^n0 (Jo et al., 9 Feb 2026).

The relevant distance measures are the Hamming distance CF2n\mathcal{C}\subset\mathbb{F}_2^n1, Hamming weight CF2n\mathcal{C}\subset\mathbb{F}_2^n2, and Euclidean distance CF2n\mathcal{C}\subset\mathbb{F}_2^n3 (Jo et al., 27 Aug 2025). The maximum-likelihood decoder is defined as

CF2n\mathcal{C}\subset\mathbb{F}_2^n4

which supplies the reference performance target for WSD (Jo et al., 27 Aug 2025). The central design problem is therefore to approximate ML performance in the finite blocklength regime without incurring exhaustive-search complexity.

2. Two-stage decoding framework

The baseline architecture embeds WSD in a generic two-stage decoder (Jo et al., 27 Aug 2025). In Stage I, a low-complexity decoder such as belief-propagation or successive-cancellation-list produces an initial estimate CF2n\mathcal{C}\subset\mathbb{F}_2^n5, after which the CRC bits, if used, are checked. If the CRC passes, decoding halts and outputs CF2n\mathcal{C}\subset\mathbb{F}_2^n6. If the CRC fails, the decoded information bits are re-encoded to form CF2n\mathcal{C}\subset\mathbb{F}_2^n7, and its path metric is computed as

CF2n\mathcal{C}\subset\mathbb{F}_2^n8

Stage II then invokes WSD to refine CF2n\mathcal{C}\subset\mathbb{F}_2^n9 (Jo et al., 27 Aug 2025).

The MP-WSD paper preserves this two-stage structure while changing the first-stage output interface and the second-stage refinement strategy (Jo et al., 9 Feb 2026). Its Stage 1 is described as a low-complexity list decoder plus CRC, with examples including SCL or OSD. If CRC-aided decoding succeeds, termination is immediate. Otherwise, the decoder collects the top mF2k\mathbf m\in\mathbb F_2^k0 candidates

mF2k\mathbf m\in\mathbb F_2^k1

for subsequent refinement (Jo et al., 9 Feb 2026).

This two-stage organization is central to the claimed URLLC suitability. The first stage handles the typical case with low latency, whereas the second stage is activated only on CRC failure or, in the MP-WSD formulation without CRC, according to the activation rule encoded in mF2k\mathbf m\in\mathbb F_2^k2 (Jo et al., 27 Aug 2025, Jo et al., 9 Feb 2026).

3. Code-weight sphere construction

WSD does not search the full codebook. Instead, it restricts the search to a Hamming sphere around the current estimate, constructed from low-weight codewords (Jo et al., 27 Aug 2025). For an estimate mF2k\mathbf m\in\mathbb F_2^k3 and radius mF2k\mathbf m\in\mathbb F_2^k4, the code-weight sphere is defined as

mF2k\mathbf m\in\mathbb F_2^k5

Here mF2k\mathbf m\in\mathbb F_2^k6 is a design parameter, often chosen as mF2k\mathbf m\in\mathbb F_2^k7 (Jo et al., 27 Aug 2025).

A key linear-code property enables translation of low-weight structures around the zero codeword to any center. If

mF2k\mathbf m\in\mathbb F_2^k8

then

mF2k\mathbf m\in\mathbb F_2^k9

Accordingly,

G\mathbf G0

In practice, one precomputes and stores the sets G\mathbf G1 for all G\mathbf G2 up to G\mathbf G3 (Jo et al., 27 Aug 2025).

The MP-WSD formulation presents the same idea via the code-weight spectrum (Jo et al., 9 Feb 2026). Let G\mathbf G4 be the distinct nonzero weights in the code’s weight enumerator G\mathbf G5. The G\mathbf G6th Hamming shell around G\mathbf G7 is

G\mathbf G8

and the code-weight sphere of index G\mathbf G9 around c=mG,cC,\mathbf c = \mathbf m\,\mathbf G,\qquad \mathbf c\in\mathcal C,0 is

c=mG,cC,\mathbf c = \mathbf m\,\mathbf G,\qquad \mathbf c\in\mathcal C,1

Because c=mG,cC,\mathbf c = \mathbf m\,\mathbf G,\qquad \mathbf c\in\mathcal C,2 is linear,

c=mG,cC,\mathbf c = \mathbf m\,\mathbf G,\qquad \mathbf c\in\mathcal C,3

so only c=mG,cC,\mathbf c = \mathbf m\,\mathbf G,\qquad \mathbf c\in\mathcal C,4 must be precomputed (Jo et al., 9 Feb 2026). The paper explicitly contrasts this with classical sphere decoding: classical sphere decoding constrains c=mG,cC,\mathbf c = \mathbf m\,\mathbf G,\qquad \mathbf c\in\mathcal C,5, whereas WSD constrains the Hamming-weight index of the perturbation (Jo et al., 9 Feb 2026).

The precomputation stage enumerates

c=mG,cC,\mathbf c = \mathbf m\,\mathbf G,\qquad \mathbf c\in\mathcal C,6

with the paper stating that, in principle, the code’s weight enumerator c=mG,cC,\mathbf c = \mathbf m\,\mathbf G,\qquad \mathbf c\in\mathcal C,7 can guide which weights to include, while in practice all codewords up to weight c=mG,cC,\mathbf c = \mathbf m\,\mathbf G,\qquad \mathbf c\in\mathcal C,8 are found via brute-force or algebraic methods (Jo et al., 9 Feb 2026).

4. Iterative refinement and multipoint extension

After Stage I delivers c=mG,cC,\mathbf c = \mathbf m\,\mathbf G,\qquad \mathbf c\in\mathcal C,9, baseline WSD proceeds in rounds si=12ci,i=1,,n.s_i = 1-2\,c_i,\quad i=1,\dots,n.0 by searching si=12ci,i=1,,n.s_i = 1-2\,c_i,\quad i=1,\dots,n.1 for the candidate with the best path metric (Jo et al., 27 Aug 2025). With

si=12ci,i=1,,n.s_i = 1-2\,c_i,\quad i=1,\dots,n.2

each round initializes

si=12ci,i=1,,n.s_i = 1-2\,c_i,\quad i=1,\dots,n.3

then evaluates all candidates si=12ci,i=1,,n.s_i = 1-2\,c_i,\quad i=1,\dots,n.4 formed from precomputed low-weight codewords satisfying si=12ci,i=1,,n.s_i = 1-2\,c_i,\quad i=1,\dots,n.5. If si=12ci,i=1,,n.s_i = 1-2\,c_i,\quad i=1,\dots,n.6, the metric and estimate are updated. The stopping criteria are explicit: terminate if the metric fails to improve, si=12ci,i=1,,n.s_i = 1-2\,c_i,\quad i=1,\dots,n.7, or if the CRC on si=12ci,i=1,,n.s_i = 1-2\,c_i,\quad i=1,\dots,n.8 passes; otherwise continue up to si=12ci,i=1,,n.s_i = 1-2\,c_i,\quad i=1,\dots,n.9 rounds (Jo et al., 27 Aug 2025).

The paper states that this iterative refinement ensures monotonic metric improvement (Jo et al., 27 Aug 2025). A plausible implication is that the search behaves like a local descent over code-constrained perturbations, but the formulation remains strictly code-centric because each move is itself a valid codeword perturbation.

MP-WSD modifies the second stage by launching y=s+n,nN(0,σ2In).\mathbf y = \mathbf s + \mathbf n,\quad \mathbf n\sim\mathcal{N}(\mathbf0,\sigma^2\mathbf I_n).0 independent trajectories in parallel (Jo et al., 9 Feb 2026). For a current center y=s+n,nN(0,σ2In).\mathbf y = \mathbf s + \mathbf n,\quad \mathbf n\sim\mathcal{N}(\mathbf0,\sigma^2\mathbf I_n).1, the local neighborhood is

y=s+n,nN(0,σ2In).\mathbf y = \mathbf s + \mathbf n,\quad \mathbf n\sim\mathcal{N}(\mathbf0,\sigma^2\mathbf I_n).2

At each iteration, path y=s+n,nN(0,σ2In).\mathbf y = \mathbf s + \mathbf n,\quad \mathbf n\sim\mathcal{N}(\mathbf0,\sigma^2\mathbf I_n).3 selects

y=s+n,nN(0,σ2In).\mathbf y = \mathbf s + \mathbf n,\quad \mathbf n\sim\mathcal{N}(\mathbf0,\sigma^2\mathbf I_n).4

where the gain metric is

y=s+n,nN(0,σ2In).\mathbf y = \mathbf s + \mathbf n,\quad \mathbf n\sim\mathcal{N}(\mathbf0,\sigma^2\mathbf I_n).5

The center is updated as

y=s+n,nN(0,σ2In).\mathbf y = \mathbf s + \mathbf n,\quad \mathbf n\sim\mathcal{N}(\mathbf0,\sigma^2\mathbf I_n).6

if it strictly reduces Euclidean distance; otherwise path y=s+n,nN(0,σ2In).\mathbf y = \mathbf s + \mathbf n,\quad \mathbf n\sim\mathcal{N}(\mathbf0,\sigma^2\mathbf I_n).7 is deactivated (Jo et al., 9 Feb 2026).

The MP-WSD pseudocode introduces a filter-size y=s+n,nN(0,σ2In).\mathbf y = \mathbf s + \mathbf n,\quad \mathbf n\sim\mathcal{N}(\mathbf0,\sigma^2\mathbf I_n).8. Instead of evaluating all patterns identically at the final selection step, each active path first filters the top-y=s+n,nN(0,σ2In).\mathbf y = \mathbf s + \mathbf n,\quad \mathbf n\sim\mathcal{N}(\mathbf0,\sigma^2\mathbf I_n).9 patterns by largest (N,K)(N,K)0, then selects the best (N,K)(N,K)1 from that subset (Jo et al., 9 Feb 2026). The process repeats for at most (N,K)(N,K)2 iterations in parallel, and the final output is the center with the smallest Euclidean distance among all paths (Jo et al., 9 Feb 2026).

5. Complexity, latency, and implementation properties

For baseline WSD, let (N,K)(N,K)3 denote the number of candidates within radius (N,K)(N,K)4 around the zero codeword, equivalently the sum of (N,K)(N,K)5 for (N,K)(N,K)6 (Jo et al., 27 Aug 2025). Each WSD round evaluates (N,K)(N,K)7 Euclidean-distance metrics, each costing (N,K)(N,K)8 flops, plus a small overhead to pick the minimum. If the CRC failure probability of the Stage I decoder is (N,K)(N,K)9, then WSD is invoked on average in a fraction KcK_c0 of frames. The resulting complexity expressions are

KcK_c1

for the worst case when WSD always runs all KcK_c2 rounds, and

KcK_c3

for the average total cost including the initial decoder cost KcK_c4 (Jo et al., 27 Aug 2025). The paper further states that as SNR grows, KcK_c5 and the WSD overhead vanishes, whereas at low SNR the initial CRC fails frequently and WSD engages more often (Jo et al., 27 Aug 2025).

The MP-WSD work normalizes complexity in “ED-units,” where one Euclidean-distance evaluation KcK_c6 for length KcK_c7 costs KcK_c8 FLOPs (Jo et al., 9 Feb 2026). It gives

KcK_c9

ED-units for brute-force ML and

x(c)=1N2cx(c)=1_N-2c0

for SCL with list size x(c)=1N2cx(c)=1_N-2c1 (Jo et al., 9 Feb 2026). For a single WSD trajectory,

x(c)=1N2cx(c)=1_N-2c2

where x(c)=1N2cx(c)=1_N-2c3 is the filter threshold and x(c)=1N2cx(c)=1_N-2c4 is the average weight in x(c)=1N2cx(c)=1_N-2c5 (Jo et al., 9 Feb 2026). The total MP-WSD cost is

x(c)=1N2cx(c)=1_N-2c6

with x(c)=1N2cx(c)=1_N-2c7, or x(c)=1N2cx(c)=1_N-2c8 if no CRC is used (Jo et al., 9 Feb 2026). The paper adds that at high SNR, x(c)=1N2cx(c)=1_N-2c9, so average cost tends to CF2n\mathcal{C}\subset\mathbb{F}_2^n00, and that worst-case cost is bounded by CF2n\mathcal{C}\subset\mathbb{F}_2^n01 ED-units (Jo et al., 9 Feb 2026).

The implementation discussion in the original WSD letter emphasizes latency, hardware complexity, and parameter trade-offs (Jo et al., 27 Aug 2025). Most frames, especially at high SNR, terminate after Stage I and a simple CRC check. Only rare error frames trigger the heavier WSD rounds. Precomputed low-weight codewords CF2n\mathcal{C}\subset\mathbb{F}_2^n02 can be stored in fast on-chip memory, and the metric computations are described as regular vector-scalar multiply-adds that map well to parallel hardware (Jo et al., 27 Aug 2025).

The parallel extension makes this hardware orientation more explicit (Jo et al., 9 Feb 2026). It identifies inter-path parallelism across the CF2n\mathcal{C}\subset\mathbb{F}_2^n03 independent trajectories and intra-path parallelism for computing CF2n\mathcal{C}\subset\mathbb{F}_2^n04 and the Euclidean distances for the CF2n\mathcal{C}\subset\mathbb{F}_2^n05 candidates. The critical-path latency is stated to scale as CF2n\mathcal{C}\subset\mathbb{F}_2^n06 shallow hops, each requiring one filter-plus-search step and remaining independent of CF2n\mathcal{C}\subset\mathbb{F}_2^n07, which the paper uses to justify deterministic and low latency for URLLC (Jo et al., 9 Feb 2026).

6. Reported performance and near-ML behavior

The original WSD letter reports extensive simulations on low-rate short codes with CF2n\mathcal{C}\subset\mathbb{F}_2^n08 and CF2n\mathcal{C}\subset\mathbb{F}_2^n09 (Jo et al., 27 Aug 2025). The reported findings include the following:

Reported setting Reported result
Modest radii CF2n\mathcal{C}\subset\mathbb{F}_2^n10 WSD can approach ML performance within CF2n\mathcal{C}\subset\mathbb{F}_2^n11 dB in BLER at CF2n\mathcal{C}\subset\mathbb{F}_2^n12
Appended to a strong list decoder such as SCL with CF2n\mathcal{C}\subset\mathbb{F}_2^n13 WSD reduces the gap to ML from CF2n\mathcal{C}\subset\mathbb{F}_2^n14 dB down to CF2n\mathcal{C}\subset\mathbb{F}_2^n15 dB
Against RCU and meta-converse bounds WSD achieves near-optimal operation in the short-block regime
“Always-on” mode Demonstrates the full potential gain of up to CF2n\mathcal{C}\subset\mathbb{F}_2^n16 dB for deep-polar codes

These results are presented as evidence that the two-stage decoder offers an excellent trade-off between decoding reliability and complexity and as establishing it as a promising solution for next-generation URLLC systems (Jo et al., 27 Aug 2025).

The MP-WSD paper adds code-specific results for short-blocklength, low-rate codes (Jo et al., 9 Feb 2026). For CA-polar CF2n\mathcal{C}\subset\mathbb{F}_2^n17 with 11-bit CRC, SCLCF2n\mathcal{C}\subset\mathbb{F}_2^n18+MP-WSDCF2n\mathcal{C}\subset\mathbb{F}_2^n19 is reported to close the gap to MLD by CF2n\mathcal{C}\subset\mathbb{F}_2^n20 dB and to match SCLCF2n\mathcal{C}\subset\mathbb{F}_2^n21 (Jo et al., 9 Feb 2026). For CA-DP CF2n\mathcal{C}\subset\mathbb{F}_2^n22, SCL-BPCCF2n\mathcal{C}\subset\mathbb{F}_2^n23+MP-WSDCF2n\mathcal{C}\subset\mathbb{F}_2^n24 is reported to outperform SCL-BPCCF2n\mathcal{C}\subset\mathbb{F}_2^n25 by CF2n\mathcal{C}\subset\mathbb{F}_2^n26 dB at CF2n\mathcal{C}\subset\mathbb{F}_2^n27 (Jo et al., 9 Feb 2026). For RMCF2n\mathcal{C}\subset\mathbb{F}_2^n28, OSDCF2n\mathcal{C}\subset\mathbb{F}_2^n29+MP-WSD approaches the reliability of OSDCF2n\mathcal{C}\subset\mathbb{F}_2^n30 at a fraction of the complexity (Jo et al., 9 Feb 2026). The same paper states that, across these cases, the average normalized complexity versus SNR curves show that MP-WSD overhead vanishes as SNR increases, while BLER remains within CF2n\mathcal{C}\subset\mathbb{F}_2^n31 dB of the true ML decoder (Jo et al., 9 Feb 2026).

The precomputed search-set sizes in the MP-WSD paper illustrate how quickly CF2n\mathcal{C}\subset\mathbb{F}_2^n32 can vary by code family and radius index (Jo et al., 9 Feb 2026):

Code CF2n\mathcal{C}\subset\mathbb{F}_2^n33 CF2n\mathcal{C}\subset\mathbb{F}_2^n34 values CF2n\mathcal{C}\subset\mathbb{F}_2^n35
CA-polar CF2n\mathcal{C}\subset\mathbb{F}_2^n36 CF2n\mathcal{C}\subset\mathbb{F}_2^n37 CF2n\mathcal{C}\subset\mathbb{F}_2^n38
CA-DP CF2n\mathcal{C}\subset\mathbb{F}_2^n39 CF2n\mathcal{C}\subset\mathbb{F}_2^n40 CF2n\mathcal{C}\subset\mathbb{F}_2^n41
RM CF2n\mathcal{C}\subset\mathbb{F}_2^n42 CF2n\mathcal{C}\subset\mathbb{F}_2^n43 CF2n\mathcal{C}\subset\mathbb{F}_2^n44

These cardinalities are directly relevant to both offline storage and online search cost. A plausible implication is that the practical operating point of WSD or MP-WSD depends strongly on the low-weight spectrum of the chosen code.

7. Relation to classical sphere decoding and scope of applicability

The term “sphere” in WSD is potentially misleading if interpreted through the lens of classical Euclidean sphere decoding. The MP-WSD formulation addresses this directly: classical sphere decoding constrains CF2n\mathcal{C}\subset\mathbb{F}_2^n45, whereas WSD constrains the Hamming-weight index of the perturbation (Jo et al., 9 Feb 2026). The search remains localized in Euclidean space because candidate refinement is driven by Euclidean-distance improvement, and the effective Euclidean radius is tightened whenever a better candidate is found (Jo et al., 9 Feb 2026). However, the defining object is the code-weight sphere CF2n\mathcal{C}\subset\mathbb{F}_2^n46, not a conventional Euclidean ball.

Another possible misconception is that WSD is code-family-specific. Both papers characterize the framework as applicable to any linear block code (Jo et al., 27 Aug 2025, Jo et al., 9 Feb 2026). That generality derives from the linear-code identity CF2n\mathcal{C}\subset\mathbb{F}_2^n47 and from the use of precomputed low-weight codewords rather than code-family-specific recursive structure (Jo et al., 9 Feb 2026). At the same time, the concrete computational burden depends on the availability and size of low-weight codeword sets, so universality at the framework level does not imply uniform practical cost across all code families. This suggests that WSD is best understood as a code-agnostic decoding paradigm whose efficiency is shaped by the weight spectrum and by system-level choices such as CRC usage, radius selection, maximum iteration count, and, in MP-WSD, the number of initial trajectories and filter size.

Within that scope, the literature represented by the two cited preprints positions WSD as a near-ML decoder for finite-blocklength URLLC: a lightweight first-stage decoder handles the common case, and a structured second-stage search over precomputed low-weight perturbations recovers much of the ML gain when the initial decision is unreliable (Jo et al., 27 Aug 2025, Jo et al., 9 Feb 2026).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (2)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Code-Weight Sphere Decoding (WSD).