NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Dependence Analysis and Structured Construction for Batched Sparse Code

Jiaxin Qing, Xiaohong Cai, Yijun Fan, Mingyang Zhu, Raymond W. Yeung

Abstract

In coding theory, codes are usually designed with a certain level of randomness to facilitate analysis and accommodate different channel conditions. However, the resulting random code constructed can be suboptimal in practical implementations. Represented by a bipartite graph, the Batched Sparse Code (BATS Code) is a randomly constructed erasure code that utilizes network coding to achieve near-optimal performance in wireless multi-hop networks. In the performance analysis in previous research, it is implicitly assumed that the coded batches in the BATS code are independent. This assumption holds only asymptotically when the number of input symbols is infinite, but it does not generally hold in a practical setting where the number of input symbols is finite, especially when the code is constructed randomly. We show that dependence among the batches significantly degrades the code's performance. In order to control the batch dependence through graphical design, we propose constructing the BATS code in a structured manner. A hardware-friendly structured BATS code called the Cyclic-Shift BATS (CS-BATS) code is proposed, which constructs the code from a small base graph using light-weight cyclic-shift operations. We demonstrate that when the base graph is properly designed, a higher decoding rate and a smaller complexity can be achieved compared with the random BATS code.

1. Introduction

In wireless multi-hop networks, essential for future 6G and IoT infrastructures, packet loss accumulates exponentially as data traverses nodes—a phenomenon known as the "multi-hop curse." Batched Sparse (BATS) codes were developed to mitigate this by combining fountain codes with network coding, enabling intermediate nodes to recode packets and maintain throughput.

Bipartite graph representation of BATS code structure.

Traditional BATS code theory relies on an "independence assumption," assuming that coded batches are independent. While this holds asymptotically for infinite input symbols, it fails in practical, finite-length scenarios. In these real-world settings, random construction often leads to high node dependence and short cycles in the underlying bipartite graph, which significantly degrades decoding performance. Furthermore, random connections impose a heavy burden on hardware design, requiring massive routing circuitry to manage every possible connection.

2. Proposed Method: Cyclic-Shift BATS (CS-BATS)

To address these limitations, we propose a shift from randomness to structured construction. The primary contribution is the Cyclic-Shift BATS (CS-BATS) code, which replaces random matrices with a deterministic, layered architecture.

2.1 Structured Construction

The CS-BATS code is generated from a carefully designed "base graph" (protograph). The entire code is then expanded by applying lightweight cyclic-shift operations to this base graph. This approach ensures that connections are deterministic and manageable. To minimize correlation between check nodes, we employ a Column Degree Design algorithm that ensures variable nodes are covered evenly.

2.2 Hardware Efficiency

One of the most significant advantages of CS-BATS is its hardware-friendliness. Random BATS codes require complex multiplexers with a routing complexity of $O(K^2)$. In contrast, CS-BATS reduces this complexity to $O(d)$, where $d$ is the maximum degree of the base graph. This allows for the replacement of complex, power-hungry multiplexers with simple, shift-based circuits.

Comparison of hardware architectures: (a) Random BATS with complex multiplexers vs. (b) CS-BATS with efficient shift operations.

3. Performance Evaluation and Results

We evaluated the CS-BATS code using numerical simulations in a wireless multi-hop environment over $GF(2^8)$ with 256 input packets and a batch size of 16. The simulations modeled 10% i.i.d. packet loss across up to 20 hops.

3.1 Decoding Performance

The performance gains of CS-BATS over random BATS are substantial as the network depth increases. In a 20-hop scenario, CS-BATS maintained a decoding rate of 0.74 (Inactivation) and 0.67 (Belief Propagation), while the random BATS code plummeted to 0.52 and 0.31, respectively. This demonstrates that structured construction effectively preserves the "tree-like" property required for efficient decoding.

3.2 Computational and Energy Efficiency

CS-BATS significantly reduces computational overhead. For 20 hops, CS-BATS required only ~5.8 inactivation symbols compared to 23.2 for random BATS. Additionally, CS-BATS graphs achieved roughly 30% of the edge density of random BATS, translating directly to lower energy consumption for both encoding and decoding processes.

4. Conclusion

This research demonstrates that in finite-length regimes, structured construction outperforms average randomness. By controlling batch dependence and optimizing hardware architecture through cyclic shifts, CS-BATS provides a robust solution for high-performance wireless multi-hop communication. Future work will explore more sophisticated "lifting" techniques and dynamic base graph adaptation to further optimize performance under varying network topologies.

Summary updated

BibTeX
@article{qing2025dependence,
  author = {Jiaxin Qing and Xiaohong Cai and Yijun Fan and Mingyang Zhu and Raymond W. Yeung},
  title = {{Dependence Analysis and Structured Construction for Batched Sparse Code}},
  journal = {IEEE Trans. Communications},
  year = {2025},
  doi = {10.1109/tcomm.2024.3432693},
}

Loading related content...

Figure