0% found this document useful (0 votes)
15 views3 pages

Bit Flipping Decoders for LDPC Codes

This document provides a survey of Bit Flipping (BF) decoders for Low-Density Parity-Check (LDPC) codes, highlighting their significance in error control coding for wireless communication systems. It discusses various BF algorithms, their mathematical representations, and presents simulation results demonstrating their performance. The paper concludes with a forecast of future research directions in the field of LDPC decoding techniques.

Uploaded by

hadjer
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views3 pages

Bit Flipping Decoders for LDPC Codes

This document provides a survey of Bit Flipping (BF) decoders for Low-Density Parity-Check (LDPC) codes, highlighting their significance in error control coding for wireless communication systems. It discusses various BF algorithms, their mathematical representations, and presents simulation results demonstrating their performance. The paper concludes with a forecast of future research directions in the field of LDPC decoding techniques.

Uploaded by

hadjer
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Published by : International Journal of Engineering Research & Technology (IJERT)

[Link] ISSN: 2278-0181


Vol. 9 Issue 11, November-2020

Bit Flipping Decoders for LDPC Codes: A Short


Survey
Kurakula Madhukar
Department of Electrical, Electronics and Communication Engineering
GITAM Deemed to be University
Hyderabad, India.

Abstract— In the domain of wireless communication systems, associated with a variable node (VN) is a reliability metric of the
Error Control Coding schemes are one of the widely relied upon corresponding bit decision and depends on the binary-valued
or responsible methodology for securing the integrity and checksums of the VN’s connected check nodes (CNs). Although
authenticity of the data transmission process. In the last decade, BF algorithms are much simpler than the SPA, their
due to the advent of modern communication standards and their performance is far from optimal. To reduce the performance
wide range of services, there has been a resurgence of interest and gap, many variants of Gallager’s BF algorithms have been
support in the research community towards the conception of proposed. Most of them tried to improve the VN’s reliability
efficient and versatile error control coding techniques. Recent metric (the FF) and/or the method of selecting the flipped bits,
developments in the wireless communication-based technologies
achieving different degrees of bit error rate (BER) and
have witnessed the pliable nature of low-density parity-check
(LDPC) codes and their contributions which cannot be overstated.
convergence rate performance enhancements at the cost of
As of now, the decoding schemes based on LDPC codes have higher complexity. Figure 1 illustrates the general classification
emerged as one of the most promising and efective coding scheme of hard decision decoding approaches available for LDPC codes.
for addressing several key problems of reliable data
communication. In this article, comprehensive overview on the on
some well-known LDPC hard decision decoding algorithms is
provided. In addition, simulations carried out on various LDPC
decoding algorithms based on their performance is also presented.
Finally, at the end of this review, the scope for future prospects are
forecasted through discussions.

Keywords—LDPC; Hard Decision Decoding; Bit Flipping;


Finite Geometry;

I. INTRODUCTION
Error Control Coding (ECC) is one of the most widely
preferred methodology adopted by various communication and
memory systems to minimize the likelihood of errors [1]. In
general, many wireless communication-based applications Figure 1: Classification of Hard-Decision Decoders
strive to provide seamless high-quality service to its users by This manuscript attempts to give a short survey of some of
employing cost effective and much less computationally the most used bit flipping algorithms and its variants. Section II
intensive methods [2, 3]. In literature, several techniques have describes the various famous bit flipping algorithms and their
been investigated towards the design and development of mathematical representations. In Section III, we give simulation
promising coding schemes which can lower the data results of the discussed algorithms for various LDPC codes.
transmission and reading errors [4, 5] since the inception of the
information age [6]. Among various coding schemes, Low-
Density Parity-Check (LDPC) codes are a special class of linear II. BIT FLIPPING ALGORITHMS
block codes which has become popular in recent years due to its
versatile error correcting characteristics [7] and near Shannon A. Notations
limit performance. Originally, LDPC discovered by Gallager [8] We denote a regular binary LDPC code with Variable Node
was initially brought in as a generalized version for various (VN) degree dv and Check Node (CN) degree dc by
applications by Mackay and his research team in [9, 10]. Since (𝑁, 𝐾)(𝑑𝑣 , 𝑑𝑐 ). The code is the null space of 𝑀 × 𝑁 parity
their reminiscence, LDPC codes are gaining traction as a popular check matrix 𝑯 = [𝐻𝑚𝑛 ]. Let 𝒖 be a codeword and assume that
choice of coding scheme in various wireless application areas Binary Phase Shift Keying (BPSK) modulation is used so that
[11]. Basically, according to their error correcting mechanisms, codeword 𝒖 = [𝑢1 , 𝑢2 , ⋯ , 𝑢𝑁 ] is mapped into a bipolar
decoding algorithms for LDPC codes can be categorized into sequence 𝒙 = [𝑥1 , 𝑥2 , ⋯ , 𝑥𝑁 ]. This is sent through an Additive
two main classes, i.e., soft-decision [12] and hard-decision [13] White Gaussian Noise (AWGN) channel with two-sided power
based approaches. spectral density of 𝑁0 ⁄2 W/Hz. Let 𝒚 = [𝑦1 , 𝑦2 , ⋯ , 𝑦𝑁 ] be the
soft channel values obtained at the receiver’s coherent matched
Among the hard decision algorithms, bit-flipping (BF)
filer output. The sequence 𝒛 = [𝑧1 , 𝑧2 , ⋯ , 𝑧𝑁 ] is obtained by
algorithms flip one or a group of bits based on the values of the
taking hard decision on the components of 𝒚. Let 𝒖 ̂=
flipping functions (FFs) computed in each iteration. The FF

IJERTV9IS110120 [Link] 280


(This work is licensed under a Creative Commons Attribution 4.0 International License.)
Published by : International Journal of Engineering Research & Technology (IJERT)
[Link] ISSN: 2278-0181
Vol. 9 Issue 11, November-2020

[𝑢̂1 , 𝑢̂2 , ⋯ , 𝑢̂𝑁 ] be the decoded binary sequence. The syndrome (4)
𝐸𝑛 = −𝛼|𝑦𝑛 | − ∑ 𝑤𝑚𝑛 (1 − 2𝑠𝑚 )
vector 𝒔 = [𝑠1 , 𝑠2 , ⋯ , 𝑠𝑀 ] is computed by 𝒔 = 𝒖 ̂ 𝑯𝑇 (𝑚𝑜𝑑2).
𝑚𝜖ℳ(𝑛)
Also, we denote the nth VN by 𝑣𝑛 and mth CN by 𝑐𝑚 . Let ℳ(𝑛)
denote the set of indices of the neighboring CNs of 𝑣𝑛 and
𝒩(𝑚) denote the set of indices of the neighboring VNs of 𝑐𝑚 . where 𝑤𝑚𝑛 = min |𝑦𝑛′ | and 𝛼 > 0.
𝑛′𝜖𝒩(𝑚)\𝑛
B. Generic BF Decoding Algorithm
A BF decoding algorithm has four important parameters: 𝑙, G. Gradient Descent Bit Flipping (GDBF)
the iteration number; 𝑙𝑚𝑎𝑥 , the maximum iteration number; 𝐸𝑛 , For Gradient Descent BF (GDBF) [17], the FF is
the FF; and ℬ, the index set of flipped bits (FB). The algorithm
performs the computation of 𝐸𝑛 and generating the FB set ℬ. ̂ 𝑛 ) − ∑ (1 − 2𝑠𝑚 )
𝐸𝑛 = −𝑦𝑛(1 − 2𝑢 (5)
The algorithm steps are given as follows: 𝑚𝜖ℳ(𝑛)

H. Flipped Bit Selection Rules


For all the above algorithms, only the bits related to VN
having the largest 𝐸𝑛 value is (are) flipped in each iteration.
Thus, the FB set is

ℬ = {𝑛|𝑛 = 𝑎𝑟𝑔 max 𝐸𝑖 } (6)


𝑖

The simplest FB selection rule for flipping multiple bits to


An FF is also called as cost function or inversion function. It increase the convergence is
helps to take a tentative decision on VN. Given FF values and
FB rules, we select a set of VNs and flip the corresponding bits ℬ = {𝑛|𝐸𝑛 ≥ 𝛿} (7)
whose FF values exceed a threshold.

C. Gallager Decoding where 𝛿 is the threshold obtained from simulations. The


Gallager proposed a simple bit flipping algorithm [8] whose optimal value of the threshold is derived by Gallager in [8].
FF is given as III. SIMULATION RESULTS
𝐸𝑛 = − ∑ (1 − 2𝑠𝑚 ) (1)
In this section, we will see the performance of the decoding
𝑚𝜖ℳ(𝑛) algorithms discussed in the previous section for Euclidean
geometry (EG) based LDPC codes, a class of finite geometry
(FG) LDPC codes [14]. The code considered in our simulations
D. Weighted Bit Flipping (WBF) is a (1023,781)(32,32) EG-LDPC code whose code rate is
0.763 with a very high node degree.
For Weighted Bit Flipping (WBF) decoding [14], the FF is

𝐸𝑛 = − ∑ 𝑤𝑚𝑛 (1 − 2𝑠𝑚 ) (2)


𝑚𝜖ℳ(𝑛)

where 𝑤𝑚𝑛 = ′min |𝑦𝑛′ |.


𝑛 𝜖𝒩(𝑚)

E. Modified Weighted Bit Flipping (MWBF)


For Modified WBF (MWBF) [15], the FF is

𝐸𝑛 = −𝛼|𝑦𝑛 | − ∑ 𝑤𝑚𝑛 (1 − 2𝑠𝑚 ) (3)


𝑚𝜖ℳ(𝑛)

Figure 2: BER performance of several bit flipping decoders for (1023,781)


where 𝑤𝑚𝑛 = ′min |𝑦𝑛′ | and 𝛼 > 0. EG-LDPC code.
𝑛 𝜖𝒩(𝑚)
Figure 2 shows the Bit Error Rate (BER) performance of
F. Improved Modified Weighted Bit Flipping (IMWBF) Gallager decoder (BF), WBF, IMWBF and GDBF respectively
For Improved MWBF (IMWBF) [16], the FF is for a (1023,781) EG-LDPC code. Since MWBF and IMWBF are
almost similar, BER performance of MWBF is not shown. From

IJERTV9IS110120 [Link] 281


(This work is licensed under a Creative Commons Attribution 4.0 International License.)
Published by : International Journal of Engineering Research & Technology (IJERT)
[Link] ISSN: 2278-0181
Vol. 9 Issue 11, November-2020

our simulations we have found that the value 𝛼 for IMWBF is [5] Egilmez ZBK, Xiang L, Maunder RG, Hanzo L, “The development,
0.2. At a BER of 10-3 we can see that IMWBF stands more than operation and performance of the 5G polar codes,” IEEE Communication
Surveys & Tutorials, Vol 22, no.1, pp.96–122, 2019.
0.5 dB better when compared to BF, WBF and GDBF. The
[6] Shannon C.E, "A mathematical theory of communication," ACM
numbers in the legends of the Figure 2 represent the maximum SIGMOBILE mobile computing and communications review, Vol 5, no.1,
number of iterations 𝑙𝑚𝑎𝑥 . 2001.
[7] Abdessalem MB, Zribi A, Matsumoto T, Dupraz E, Bouallègue A,
IV. CONCLUSIONS AND FUTURE WORK “LDPC-based joint source channel coding and decoding strategies for
single relay cooperative communications,” Physical Communication, Vol
For the past few decades, the development of error control 38, 2020.
coding techniques based on LDPC decoding algorithms has [8] Gallager RG, “Low-density parity-check codes,” IRE Transactions on
emerged as an active area of research and source of inspiration Information Theory, Vol 8, no.1, pp.21–28, 1962.
for several outstanding researchers worldwide. In this short [9] Mackay DJC, “Good error correcting codes based on very sparse
survey paper, we surveyed the commonly used Bit flipping matrices,” IEEE Transactions on Information Theory, Vol 45, no.2,
decoders for LDPC codes summarizing their mathematical pp.399–431, 1999.
representations and demonstrated their performance for finite [10] Davey MC, MacKay D, “Low-density parity check codes over GF(q)”
IEEE Communication Letters, Vol 2, no.6, pp.165–167, 1998.
geometry based LDPC code. The future work would consist of
doing more literature survey and actually working towards their [11] Richardson TJ, Urbanke RL, “The Renaissance of Gallager’s low- density
parity-check codes,” IEEE Communications Magazine, Vol 41, no.8,
real time implementations. pp.126–131, 2003.
[12] Roberts MK, Mohanram SS, Shanmugasundaram N, “An improved low
complex ofset min-sum based decoding algorithm for LDPC codes,”
REFERENCES Mobile Network Applications, Vol 24, no.6, pp.1848–1852, 2019.
[13] Chen Y, Cui H, Lin J, Wang Z, “Fine-grained bit-fipping decoding for
[1] Huang L, Zhang H, Li R, Ge Y, Wang J, “AI coding: learning to construct LDPC codes,” IEEE Transactions on Circuits and Systems II: Express
error correction codes,” IEEE Transactions on Communications, Vol. 68, Briefs, Vol 67, no.5, pp.896–900, 2020.
no.1, pp. 26-39, Nov 2019.
[14] Y. Kou, S. Lin, and M. Fossorier, “Low density parity check codes based
[2] Xing Z, Liu K, Liu Y, “Low-complexity companding function design for on finite geometries: a rediscovery and more,” IEEE Trans. Inf. Theory,
PAPR reduction in OFDM systems,” IET Communications, Vol.14, vol. 47, pp.2711-2736, Nov. 2001.
no.10, pp.1581–1587, 2020.
[15] J. Zhang and M. Fossorier, “A modified weighted bit-flipping decoding
[3] Arum SC, Grace D, Mitchell PD, “A review of wireless communication of low-density parity-check codes,” IEEE Commun. Lett., vol. 8, no. 3,
using high-altitude platforms for extended coverage and capacity,” pp. 165-167, Mar. 2004.
Computer Communications, 2020.
[16] M. Jiang, C. Zhao, Z. Shi, and Y. Chen, “An improvement on the modified
[4] Babar Z, Chandra D, Nguyen HV, Botsinis P, Alanis D, Ng SX, Hanzo L, weighted bit flipping decoding algorithm for LDPC codes,” IEEE
“Duality of quantum and classical error correction codes: design Commun. Lett., vol. 9, no. 9, pp. 814-816, Sep. 2005.
principles and examples,” IEEE Communications Surveys & Tutorials,
Vol 21, no.1, pp.970–1010, 2019. [17] T. Wadayama et al., “Gradient descent bit flipping algorithms for
decoding LDPC codes,” IEEE Trans. Commun., vol. 58, no. 6, pp. 1610-
1614, Jun. 2010.

IJERTV9IS110120 [Link] 282


(This work is licensed under a Creative Commons Attribution 4.0 International License.)

Common questions

Powered by AI

Future research directions for LDPC codes focus on enhancing the practical implementation of bit flipping decoders by improving their performance under real-world constraints. This includes developing more efficient algorithms that balance performance with computational complexity, broadening the scope of LDPC applications in emerging communication standards, and integrating advanced machine learning techniques for adaptive error correction coding strategies. Real-time implementations and testing in diverse application domains also remain key for translating theoretical advancements into practical solutions .

Finite geometry plays a pivotal role in the design of LDPC codes as it provides a structured framework to define codes with desirable properties such as regularity and high code rates. Simulation results for bit flipping decoders on Euclidean geometry (EG) based LDPC codes, a class of finite geometry codes, demonstrate significant performance benefits. For instance, these codes exhibit improved error correction capabilities and lower bit error rates due to their inherent structural advantages. This makes them highly suitable for applications requiring robust error correction under challenging noise conditions .

The design of bit flipping algorithms for LDPC codes involves a crucial trade-off between complexity and performance. Simpler algorithms, such as Gallager's original method, offer low computational complexity but suffer from suboptimal error correcting performance. More advanced variants, like the Weighted Bit Flipping (WBF) and its modifications (MWBF, IMWBF), introduce additional computation in terms of weight calculations and parameter tuning that significantly enhance performance metrics like the Bit Error Rate (BER) and convergence rate but increase the algorithm’s complexity. Therefore, selecting an appropriate algorithm depends on the specific application requirements and operational constraints .

The Improved Modified Weighted Bit Flipping (IMWBF) algorithm demonstrates superior performance in terms of Bit Error Rate (BER) when compared to other bit flipping algorithms such as Gallager's BF, Weighted Bit Flipping (WBF), and Gradient Descent Bit Flipping (GDBF) for high-rate LDPC codes. At a BER of \(10^{-3}\), IMWBF is observed to have a performance improvement of more than 0.5 dB over the other algorithms, indicating higher reliability and efficiency in error correction, especially for Euclidean geometry-based high-rate LDPC codes .

The selection of threshold values is crucial for the effectiveness of bit flipping decoders as it determines which bits are to be flipped based on their flipping function (FF) values exceeding the threshold. An appropriately chosen threshold, derived through simulations or theoretical derivations like in Gallager’s work, can significantly enhance the decoder's performance by ensuring that only the most unreliable bits are corrected. However, incorrect threshold selection can lead to convergence issues, either flipping too many or too few bits, thus affecting the Bit Error Rate (BER) and overall decoding efficiency .

The development of low-density parity-check (LDPC) decoding algorithms has significantly impacted the field of wireless communication by offering advanced error control coding methods. LDPC codes, known for their versatile error correcting characteristics, have emerged as a popular choice in various wireless applications due to their near Shannon limit performance. The bit flipping decoders, in particular, provide a simpler yet effective error-correcting mechanism compared to traditional algorithms, improving both the reliability of data transmission and the efficiency of communication systems .

In bit flipping decoding algorithms, the flipping function (FF) is crucial as it serves as a reliability metric for making tentative decisions on variable nodes (VNs). For Gallager's original bit flipping method, the FF is computed as \(E_n = - \sum (1 - 2s_m)\), summing over the set of connected check nodes (CNs). This function evaluates the current VN's reliability based on the connected CNs' binary-valued checksums to decide whether the bit should be flipped .

The Weighted Bit Flipping (WBF) algorithm employs a flipping function (FF) given by \(E_n = - \sum w_{mn}(1 - 2s_m)\) where \(w_{mn}\) is the minimum magnitude of the received bits connected to a specific check node (CN). In contrast, the Modified Weighted Bit Flipping (MWBF) adds a term involving the soft channel value \(|y_n|\) multiplied by a positive factor \(\alpha\), enhancing the FF to \(E_n = -\alpha|y_n| - \sum w_{mn}(1 - 2s_m)\). This modification generally offers improved error performance at the cost of increased computational complexity .

In LDPC decoding algorithms, computing the syndrome vector is critical as it helps identify errors in the received data sequence. The syndrome vector \(\mathbf{s} = \mathbf{\hat{u}}\mathbf{H}^T \mod 2\) is derived from the parity-check matrix \(\mathbf{H}\) and the tentative decoding result \(\mathbf{\hat{u}}\). This computation checks whether the current decoded sequence satisfies the parity-check constraints of the LDPC code. If the syndrome is non-zero, it indicates errors, prompting further decoding iterations or bit-flipping actions to correct these errors and achieve a valid codeword .

The Gradient Descent Bit Flipping (GDBF) algorithm differentiates itself from traditional bit flipping methods by utilizing a gradient descent approach to minimize the error function iteratively. The FF in GDBF is \(E_n = -y_n(1 - 2u_n) - \sum (1 - 2s_m)\), incorporating the gradient of the data likelihood with respect to the decisions \(u_n\). This allows GDBF to potentially achieve better convergence rates and lower bit error rates compared to classical bit flipping algorithms, albeit at a higher computational complexity and the need for careful tuning of algorithm parameters .

You might also like