Low-Density Parity-Check Codes (LDPC)
Low-Density Parity-Check Codes · Also known as: sparse codes, belief propagation codes
LDPC codes, invented by Robert Gallager in 1962 and rediscovered in the 1990s by MacKay, are linear error-correcting codes defined by sparse parity-check matrices. They achieve performance within 0.4 dB of the Shannon limit with iterative belief-propagation decoding and have become the standard for modern wireless (WiFi-6, 5G NR, Digital Video Broadcasting). Unlike turbo codes, LDPC codes have a more elegant graph-theoretic structure and more mature theoretical analysis.
Read the full method
Sign in with a free account to read this section.
Method map
The neighbourhood of related methods — select a node to explore.
When to use it
LDPC codes are preferred over turbo codes in modern systems due to better performance and simpler architecture. Use LDPC for wide SNR ranges (no threshold cliff); they work well from low to high SNR. LDPC is the standard for WiFi-6, satellite, and 5G NR. Avoid LDPC only if legacy compatibility requires turbo codes. LDPC is also suitable for very short packets (>30 bits) as the code structure is separable.
Strengths & limitations
- Performance within 0.4 dB of Shannon limit (slightly better than turbo codes)
- Simpler graph-theoretic structure; cleaner theoretical analysis than turbo codes
- Iterative decoding avoids cliff-like threshold behavior (unlike turbo)
- Flexible code design via graph construction; easy to tailor to specific applications
- Efficient parallel decoding hardware; message-passing suits VLSI/GPU implementation
- Works well for both long and moderately short codewords
- Graph construction and matrix storage become complex for very long codes (>10k bits)
- Performance sensitive to small-scale graph structures (girths, absorbing sets); requires careful design
- Belief propagation assumes loopy graph, but graphs have cycles; convergence to optimal solution not guaranteed
- Decoding latency (iterations) grows logarithmically with SNR; not zero-latency like some classical codes
- Quantization of messages (in fixed-point hardware) affects performance; careful bit allocation needed
Frequently asked
What makes LDPC decoding so efficient compared to general linear codes?
The sparsity of the parity-check matrix means each bit participates in only a few parity checks. At decoding, message-passing on the bipartite graph is linear in the number of edges, not the code length. For dense codes, decoding would require matrix inversion, which is cubic in code length. Sparsity makes decoding quasi-linear and practical for long codes.
What is an absorbing set and why does it matter?
An absorbing set is a small subset of the graph that can trap belief propagation decoding, preventing convergence to the correct solution. They are a primary source of error floor (the non-exponential decrease in BER at low SNR). Code designers avoid short absorbing sets through careful graph construction; analysis tools (e.g., stopping set analysis) identify problematic structures.
How does LDPC compare to polar codes?
Both achieve near-Shannon performance. Polar codes have a recursive structure and provable optimality under successive cancellation decoding at infinite code length. LDPC codes are more flexible and have better finite-length performance empirically. 5G NR uses polar codes for control channels (short packets) and LDPC for data channels (long packets), exploiting each code's strengths.
Why is the graph girth important in LDPC codes?
The girth is the length of the shortest cycle in the bipartite graph. Short cycles (girth < 6) cause belief propagation to use correlated information (messages loop back), degrading performance. High-girth codes (girth ≥ 6) break correlations better. Codes are often designed to maximize girth subject to sparsity constraints.
Sources
- Gallager, R. G. (1962). Low-density parity-check codes. IRE Transactions on Information Theory, 8(1), 21-28. DOI: 10.1109/TIT.1962.1057683 ↗
- Richardson, T. J., & Urbanke, R. L. (2001). The capacity of low-density parity-check codes under message-passing decoding. IEEE Transactions on Information Theory, 47(2), 599-618. DOI: 10.1109/18.910577 ↗
How to cite this page
ScholarGate. (2026, June 3). Low-Density Parity-Check Codes. ScholarGate. https://scholargate.app/en/telecommunications/ldpc-codes
Which method?
Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.
- MIMOTelecommunications↔ compare
- OFDMTelecommunications↔ compare
- Polar CodesTelecommunications↔ compare
- Shannon CapacityTelecommunications↔ compare
- Turbo CodeTelecommunications↔ compare