Linear Complexity Computation of Code Distance and Minimum Size of Trapping Sets for LDPC Codes with Bounded Treewidth
Qingqing Peng, Ke Liu, Guiying Yan, Guanghui Wang
TL;DR
The authors tackle the NP-hard MINIMUM TRAPPING SET problem for binary LDPC codes by exploiting bounded treewidth. They develop a dynamic-programming framework over rooted nice tree decompositions to compute the minimum trap size $a$ for a given $b$ and to count the number of such trapping sets, achieving linear time in the code length $n$ with complexity depending on the treewidth $k$. The approach extends to general $b$ by augmenting the DP with additional state variables, yielding a tractable method for enumerating smallest $(a,b)$-trapping sets in codes of bounded treewidth. Simulations on spatially coupled LDPC codes demonstrate accuracy and substantial speedups over exhaustive search, validating the method’s practicality for long codes. Overall, the paper provides a principled, scalable technique to quantify and characterize trapping structures in LDPC codes under a bounded-treewidth assumption, with direct implications for understanding and mitigating error floors.
Abstract
It is well known that, given \(b\ge 0\), finding an $(a,b)$-trapping set with the minimum \(a\) in a binary linear code is NP-hard. In this paper, we demonstrate that this problem can be solved with linear complexity with respect to the code length for codes with bounded treewidth. Furthermore, suppose a tree decomposition corresponding to the treewidth of the binary linear code is known. In that case, we also provide a specific algorithm to compute the minimum \(a\) and the number of the corresponding \((a, b)\)-trapping sets for a given \(b\) with linear complexity. Simulation experiments are presented to verify the correctness of the proposed algorithm.
