Abstract

Low-density parity-check (LDPC) codes can be applied in a lot of different scenarios such as video broadcasting and satellite communications. LDPC codes are commonly decoded by an iterative algorithm called belief propagation (BP) over the corresponding Tanner graph. The original BP updates all the variable-nodes simultaneously, followed by all the check-nodes simultaneously as well. We propose a sequential scheduling algorithm based on weighted bit-flipping (WBF) algorithm for the sake of improving the convergence speed. Notoriously, WBF is a low-complexity and simple algorithm. We combine it with BP to obtain advantages of these two algorithms. Flipping function used in WBF is borrowed to determine the priority of scheduling. Simulation results show that it can provide a good tradeoff between FER performance and computation complexity for short-length LDPC codes.

1. Introduction

Low-density parity-check (LDPC) codes were first invented by Gallager [1] but had been neglected for decades until Mackay brought them back to light in 1996 [2]. Since then, much attention had been attracted for their excellent Shannon limit approaching error-correcting performance through belief propagation (BP) [3] decoding algorithm. This iterative decoding algorithm, sometimes also called sum-product algorithm (SPA) [4], is a powerful algorithm to approximately solve many NP hard problems such as statistical inference in physics [57], hypothesis testing, cooperative localization, and channel coding.

There are lots of researches with various decoding algorithms. Among existing LDPC decoding algorithms, bit-flipping (BF) algorithms are the simplest. The operations of check-nodes in BF are modulo-two additions while the variable-nodes only need simple comparison operations. BF decoding algorithms are easy to implement, but they usually perform not so well when compared to BP decoding algorithms, so various weighted BF (WBF) [812] decoding algorithms were proposed.

To improve the standard BP decoding performance, several sequential scheduling strategies in BP have been invented. In sequential scheduling strategies, the messages are computed in a serial manner using the newest updated information. Sequential strategies were introduced as a sequence updates based on check-node (CSBP) [1315] or variable-node (VSBP) [16, 17]. Simulations demonstrate that sequential strategies converge about twice as fast as the standard parallel BP decoding algorithms (Flood) without any extra computing burden. The kernel steps of sequential updating algorithms focus on finding the order of message updating which converges fastest. To our knowledge, the best decoding algorithms in the sense of performance is informed dynamic scheduling (IDS) [1824] algorithms, which update messages dynamically. A metric called residual [18] is used in IDS which decides the updating order of propagated messages. Metric computing and selecting operations can cause significant increase in computational complexity in IDS. In order to achieve the tradeoff between decoding performance and computational complexity, a low-complexity sequential WBF-based scheduling algorithm is proposed, in which the priority used in WBF determines the order of scheduling. Simulation results show that it can provide a good tradeoff between block errors performance and complexity for short-length LDPC codes.

This paper is organized as follows. Section 2 reviews BP (Flood and CSBP) and WBF. Section 3 introduces our WBF-based serial BP (WBFSBP) strategies. Section 4 analyzes the computing complexity of WBFSBP. Section 5 reveals the simulation results. Section 6 draws the conclusions.

2. WBF and BP

Let and be the block length and the information length of a binary LDPC code; thus the rate of the code is . Let ; an LDPC code is described by an parity-check matrix .  presents the entry of row and column in . The set denotes the nodes that adjoin by , similarly for the set . denotes the set excluding . Binary phase shift keying (BPSK) modulation over an additive white Gauss noise (AWGN) channel is assumed for information transmission, which maps a codeword vector into a vector , where , . The received vector is , where , , and is the AWGN. denotes the hard-decision vector acquired from if and if . denotes the syndrome of hard-decision vector .

2.1. WBF

Firstly, a metric called “reliability” and a function-associated flipping probability of each check-node are calculated via [9] The WBF algorithm is described as follows [9]:(1)set iteration number , take as the maximum number of iterations, and pick up ,(2)calculate ; if , stop decoding and output ,(3)for , calculate as follows: (4) based on (5) and go to step , until stopping rules are satisfied.

2.2. Standard BP (Flood) Decoding Algorithm

Commonly, the communication of the nodes in the corresponding Tanner graph comprises the Flood algorithm. For every variable-node and check-node , the corresponding message generation functions and are defined as follows [2]: where is the channel information of . denotes the LLR of .

As shown in Figure 1, in time slot 1, messages are passed to all of these check-nodes by all variable-nodes that connect to them, and in time slot 2, all of the processed messages are sent back to all variable-nodes. The Flood decoding algorithm is formally described in Pseudocode 1.

1: Set every
2: Set every
3: while stop rules unsatisfied do
4: for all  ( )
5:  for each , compute and generate  ( ) simultaneously
6:  for each , compute and generate ( ) simultaneously
7: end while

2.3. CSBP

The messages calculated in CSBP [15] are the same as those in the Flood decoding algorithms. The only difference between them is the way of messages updating. In every iteration of CSBP, the messages are updated in a sequential way: update every check-node one by one in an ascending order (or descending order) arranged in the corresponding Tanner graph. The passing process of messages in CSBP is shown in Figure 2. Check-nodes are represented by , and for variable-nodes. In time slot 1, messages are passed to by all variable-nodes that connect to . In time slot 2, the processed messages are sent back to those variable-nodes. The updating rules of and are identical with those of . The realization of CSBP is described in Pseudocode 2.

1: Set every
2: Set every
3: while stop rules unsatisfied do
4:  for do
5:   for check-node
6:   for every do
7:   compute and generate
8:   end for
9:   for every do
10:   compute and generate
11:     end for
12:  end for
13: end while

3. WBF-Based Serial BP

We will introduce our WBFSBP algorithm using a new message updating schedule. In general, sequential decoding algorithms are composed of two major steps.

Step 1. Determine the order of nodes to be updated.

Step 2. Compute the messages.

In Flood and CSBP, Step 1 is skipped. In IDS, these two steps are operated alternately for every node. It means that after updating each single node, “residual” computing and sorting operation is needed, which causes much extra computing complexity. For the sake of getting the tradeoff between performance and computing complexity, a simple sequential decoding algorithm called WBF-based serial BP is proposed. First, let us review the flipping function () of a variable-node in WBF decoding algorithm described in Section 2. The larger the is, the more unreliable the corresponding variable-node is. For each check-node, a new metric is defined as follows: where submax () denotes the second maximal value of (). If there is more than one unreliable variable-node connected to a check-node, the message passing within this check-node is almost nonsense. If all neighbor variable-nodes of a check-node are reliable, the priority of updating this check-node should be very low. So we concentrate on the check-node which has only one unreliable neighbor variable-node. The check-nodes with larger value of are more likely containing just one unreliable neighbor variable-node. So updating these check-nodes firstly can correct errors in time and speed up convergence, thus reducing the iterations. In contrast to IDS, the sorting operation is not dynamically decided node by node but is simply obtained from sorting the set of in each iteration. When the sorting is finished, the rest of updating computation is the same as that of CSBP. The detailed steps of WBFSBP are shown in Pseudocode 3.

0: Set iteration number , take as the maximum number of iteration, pick up ,
 Set every , every .
1: Compute , if , stop decoding and output .
2: For , compute
          
3: sort in descending order and put the corresponding check-nodes to
4: while stop rules unsatisfied  do
5:  for do
6:for th check-node in
7:   for every do
8:   compute and generate
9:   end for
10:   for every do
11:   compute and generate
12:   end for
13:  end for
14: end while

4. Complexity

Let and represent the degree of any variable-node and check-node, respectively; is the total number of all edges in the corresponding Tanner graph, so , where is the number of variable-nodes and is the number of check-nodes. In Tables 1 and 2, we have listed the computation complexity of check-to-variable phase and variable-to-check phase, respectively. In an iteration of Flood, every edge of the Tanner graph should be updated once for each direction, so the number of updated messages via check-to-variable and variable-to-check is , respectively. Sequential updating strategies surpass the Flood without any extra cost. We note that the check-to-variable message updating computations in one IDS iteration is the same as reverse message updating computations in one WBFSBP iteration, both equal . In each iteration, sorting of requires operations while dynamic scheduling strategies in IDS need .

5. Simulation Results

The decoding performance of the Flood, CSBP, and WBFSBP over AWGN channels is presented in this part. The LDPC codes are constructed based on Gallager's random method without any 4-cycle.

Figures 3 and 4 present the FER performance of the Gallager LDPC code with BP (Flood), CSBP, and WBFSBP decoding algorithms. The is set to 20 and 50, respectively, and is set to 1.3 in the computation of . Figure 3 shows that, at the FER of , WBFSBP acquires about 0.2 dB and 0.35 dB promotions over the CSBP and BP in the case of , while in Figure 4, the coding gains are 0.25 dB and 0.45 dB in the case of . Figure 4 also shows that at , WBFSBP-20 can achieve the same FER performance as what BP-50 and CSBP-50 do. In other words, WBFSBP algorithm can reduce more than half of the iterations of that BP algorithm needed at some .

Figure 5 presents the FER performance of the Gallager LDPC code with above-mentioned decoding algorithms. The is set to 20 and is set to 1.3. We see that WBFSBP-20 can beat BP-50 for all  . Compared to CSBP-20, WBFSBP-20 can acquire about 0.15 dB coding gain.

6. Conclusion

In this paper, a new sequential scheduling decoding algorithm is proposed, in which the order of message passing is based on the weight factor computed in WBF algorithm. We focus on the check-nodes which have just one unreliable neighbor variable-node. Updating these check-nodes preferentially can avoid errors of propagation, thus speeding up the convergence of decoding algorithm. Compared to IDS, our decoding algorithm gives a good tradeoff between error performance and decoding complexity. As a future work, the scheduling algorithm can be generalized to LDPC codes over GF().

Acknowledgments

The authors would like to thank all anonymous reviewers whose constructive suggestions were very helpful. The work of this paper is sponsored by the State 863 Project (2008AA01Z227), the National Natural Science Foundation of China (NSFC), under Grant 61271204.