IJERT Bit Flipping Decoders For LDPC Cod
IJERT Bit Flipping Decoders For LDPC Cod
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.
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
[𝑢̂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: 𝑚𝜖ℳ(𝑛)
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.