# 密度进化

**密度进化**是编码理论中的一种分析技术，它逐次迭代地追踪迭代解码器所交换消息的概率密度函数，以预测码集的渐近性能。该技术适用于稀疏图码（如低密度奇偶校验（LDPC）码、turbo码和重复累积码）的消息传递解码器，是计算码集解码阈值的标准工具——解码阈值即解码仍能收敛到所发送码字的最差信道噪声水平。<sup>[1](https://www.cambridge.org/core/services/aop-cambridge-core/content/view/C111860F0C39490F4FA18FE3E25264AF/9780511809354c7_p237-282_CBO.pdf/density_evolution_and_exit_charts.pdf)</sup><sup> • </sup><sup>[2](https://digital.library.adelaide.edu.au/server/api/core/bitstreams/cb9178dd-0c53-43d1-8994-929d7d525dca/content)</sup>

| 关键事实 | 详情 |
|---|---|
| 计算内容 | 消息概率密度函数在迭代解码过程中的演化，给出码集的期望行为而非单个码的行为<sup>[1](https://www.cambridge.org/core/services/aop-cambridge-core/content/view/C111860F0C39490F4FA18FE3E25264AF/9780511809354c7_p237-282_CBO.pdf/density_evolution_and_exit_charts.pdf)</sup> |
| 阈值 | 信道噪声水平的上确界，在该水平以下，随着迭代次数和分组长度的增长，错误消息的期望比例趋于零<sup>[3](https://calc-path.com/information-theory/modules/modern-codes)</sup> |
| 关键假设 | 对于极长码，分量解码器之间传递的外在对数似然比独立同分布，且Tanner图呈树状<sup>[1](https://www.cambridge.org/core/services/aop-cambridge-core/content/view/C111860F0C39490F4FA18FE3E25264AF/9780511809354c7_p237-282_CBO.pdf/density_evolution_and_exit_charts.pdf)</sup><sup> • </sup><sup>[4](https://brendanjameslynskey.github.io/Coding/10-ldpc-codes/)</sup> |
| 对称性简化 | 在对称信道上可假定全零码字，因此每个方向只需追踪一种消息分布<sup>[5](https://ocw.mit.edu/courses/6-451-principles-of-digital-communication-ii-spring-2005/bb895c1dee9ce0b39d6846e0aa984981_MIT6_451S05_FullLecNotes.pdf)</sup> |
| 实际精度 | 密度被量化为离散分布，精度可达12–14比特<sup>[5](https://ocw.mit.edu/courses/6-451-principles-of-digital-communication-ii-spring-2005/bb895c1dee9ce0b39d6846e0aa984981_MIT6_451S05_FullLecNotes.pdf)</sup> |
| 设计收益 | 优化的码率1/2非规则LDPC码在理论上距香农限0.0045 dB以内，在分组长度10<sup>7</sup>比特时距香农限0.04 dB以内<sup>[5](https://ocw.mit.edu/courses/6-451-principles-of-digital-communication-ii-spring-2005/bb895c1dee9ce0b39d6846e0aa984981_MIT6_451S05_FullLecNotes.pdf)</sup> |
| 相关工具 | EXIT图用单个被追踪参数（如互信息或熵）替代完整密度<sup>[6](https://perso.etis-lab.fr/andriyanova/documents/thesis_Iryna_Andriyanova_2006.pdf)</sup> |

## 目的与背景

对于给定的码和解码器，人们希望确切知道消息传递解码器能够纠正哪些信道噪声水平。针对特定码确定这一点仍是一个未解问题，因此分析转而考虑码集，即共享某些参数的所有码的集合。turbo码集由其分量编码器定义，由所有可能的交织器置换所生成的全部码组成；LDPC码集由Tanner图节点的度分布指定，由图边置换所生成的全部码组成。<sup>[1](https://www.cambridge.org/core/services/aop-cambridge-core/content/view/C111860F0C39490F4FA18FE3E25264AF/9780511809354c7_p237-282_CBO.pdf/density_evolution_and_exit_charts.pdf)</sup>

当考虑极长码时，分量解码器之间传递的外在对数似然比（LLR）可假定为独立同分布。在此假设下，通过追踪这些概率密度函数在解码迭代中如何演化，即可求得码集的期望迭代解码性能；这种追踪就是密度进化。<sup>[1](https://www.cambridge.org/core/services/aop-cambridge-core/content/view/C111860F0C39490F4FA18FE3E25264AF/9780511809354c7_p237-282_CBO.pdf/density_evolution_and_exit_charts.pdf)</sup>该技术被描述为能够追踪整个解码过程，考察每一步所交换消息的概率密度函数。<sup>[7](https://link.springer.com/article/10.1155/2008/824673)</sup>

## 解码阈值

密度进化分析的核心输出是解码阈值。对于一个码集和按噪声参数排序的一族信道，阈值是噪声水平的上确界，在该水平以下，随着迭代次数和分组长度的增长，错误消息的期望比例趋于零。<sup>[3](https://calc-path.com/information-theory/modules/modern-codes)</sup>等价地说，当信道参数低于阈值时，从该码集中抽取的码渐近解码的误码概率趋于零；高于阈值时，误码概率则远离零。<sup>[8](https://docs.magma-maths.org/CodingTheory/LowDensityParityCheckCodes/introduction.html)</sup><sup> • </sup><sup>[4](https://brendanjameslynskey.github.io/Coding/10-ldpc-codes/)</sup>

阈值是码集、信道和解码器的共同属性。对于二元对称信道，相关参数是错误概率\( p \)；对于高斯信道，则是标准差\( \sigma \)。在二元对称信道上确定阈值相对直接，而在实值高斯信道上则可能涉及大量计算。<sup>[8](https://docs.magma-maths.org/CodingTheory/LowDensityParityCheckCodes/introduction.html)</sup>

## 递推的工作方式

**树状假设。** 密度进化在假定Tanner图为树的条件下追踪消息分布，这一假设对长码成立，因为节点的局部邻域以高概率无环。<sup>[4](https://brendanjameslynskey.github.io/Coding/10-ldpc-codes/)</sup>由于节点的局部邻域以高概率呈树状，密度进化可递推地追踪消息分布；只有在二元擦除信道上，这通常才简化为关于标量擦除概率的一维递推。<sup>[3](https://calc-path.com/information-theory/modules/modern-codes)</sup><sup> • </sup><sup>[20](https://www.josephboutros.org/ldpc_vs_turbo/ldpc_Richardson_Urbanke_Shokrollahi_ITfeb01.pdf)</sup>

**对称性。** 在对称信道上，迭代解码器输出的LLR也是对称的，因此解码性能与发送的是哪个码字无关，分析中可假定全零码字。<sup>[2](https://digital.library.adelaide.edu.au/server/api/core/bitstreams/cb9178dd-0c53-43d1-8994-929d7d525dca/content)</sup>在二元擦除信道（BEC）上，这将问题简化为追踪单个数值，即消息为擦除的概率\( q \)，因为消息要么完全无知，要么完全确定；在一般的对称二元输入信道上，则必须追踪完整的概率分布。<sup>[5](https://ocw.mit.edu/courses/6-451-principles-of-digital-communication-ii-spring-2005/bb895c1dee9ce0b39d6846e0aa984981_MIT6_451S05_FullLecNotes.pdf)</sup>

**BEC示例。** 对于擦除概率为\( \varepsilon \)的BEC上具有边度分布\( \lambda \)和\( \rho \)的非规则码集，设\( x_{\ell} \)为经过\( \ell \)次迭代后变量节点到校验节点消息为擦除的概率。递推式为<sup>[3](https://calc-path.com/information-theory/modules/modern-codes)</sup>

\[ x_{\ell+1} = \varepsilon \, \lambda \bigl( 1 - \rho(1 - x_{\ell}) \bigr), \qquad x_0 = \varepsilon. \]

当该递推使\( x_{\ell} \)趋于零时，解码渐近成功；使其成立的最大\( \varepsilon \)即为该码集的阈值。

**数值实现。** 在消息密度连续的信道上，无限精度下的精确追踪是不可能的，因此实践中将概率密度量化为离散分布，精度可达12–14比特，并通过重复运行来确定成功阈值。<sup>[5](https://ocw.mit.edu/courses/6-451-principles-of-digital-communication-ii-spring-2005/bb895c1dee9ce0b39d6846e0aa984981_MIT6_451S05_FullLecNotes.pdf)</sup>一种直接对消息进行量化的离散密度进化变体，据报道比连续密度进化和高斯近似具有更低的复杂度和更高的精度，并被用于为连续变量量子密钥分发等应用获取最优LDPC度分布。<sup>[9](https://www.mdpi.com/1099-4300/24/10/1463)</sup>

## 近似方法

完整密度进化计算量大，因此存在若干近似方法。高斯近似将消息LLR密度建模为高斯分布并追踪单个参数；据报道其在AWGN信道上引入的不精确度很小，但在衰落信道上偏差较大，因为那里的初始LLR密度并非高斯分布。<sup>[7](https://link.springer.com/article/10.1155/2008/824673)</sup>对于非二元LDPC码，精确的密度进化方程仅在擦除信道上已知，AWGN信道则使用高斯近似方法。<sup>[10](https://www.elsa-dupraz.fr/papiers/Dupraz14Com%28s%29.pdf)</sup>

一种针对二元输入AWGN信道上LDPC码和多边型LDPC码的混合方法，仅在密度进化消息紧密跟随对称高斯分布之后才假定对称高斯分布；与单参数高斯近似相比，这提高了阈值估计精度——后者在低码率以及存在删余或度为1的变量节点时，早期迭代表现不佳——同时与完整密度进化相比减少了计算量。<sup>[11](https://arxiv.org/abs/1605.04665)</sup>

## EXIT图

外信息转移（EXIT）图是作为基于密度进化和阈值分析的迭代解码分析工具而提出的，它通过逐次迭代追踪单个参数而非完整消息密度来简化分析。<sup>[12](https://www.cse.lehigh.edu/~jingli/teach/S2003turbo/notes/turbo_chap16.pdf)</sup><sup> • </sup><sup>[6](https://perso.etis-lab.fr/andriyanova/documents/thesis_Iryna_Andriyanova_2006.pdf)</sup>在EXIT图分析中，被追踪的量可以是比特与消息之间的互信息，也可以是熵曲线，即比特外概率的平均熵的期望相对于其内概率的平均熵的演化。<sup>[13](https://guillen.eng.cam.ac.uk/files/books/bicm_fnt.pdf)</sup><sup> • </sup><sup>[6](https://perso.etis-lab.fr/andriyanova/documents/thesis_Iryna_Andriyanova_2006.pdf)</sup>EXIT图通过在不同解码阶段反复应用密度进化而获得，收敛行为则从内解码器和外解码器相应EXIT曲线的形状与位置的匹配中读出。<sup>[14](https://link.springer.com/article/10.1155/2008/367287)</sup>对于多边型LDPC码，广义EXIT（G-EXIT）图提供了比传统密度进化更简单、更快的渐近分析工具。<sup>[15](https://arxiv.org/abs/1812.05867)</sup>

## 在码设计中的应用

密度进化是优化非规则码集的探针：通过寻找不同非规则码集的收敛阈值并选择最优者，设计者能够构造出性能非常接近香农限的LDPC码。<sup>[16](https://www.ece.ualberta.ca/~ardakani/Ardakani_thesis.pdf)</sup>密度进化已以不同形式被利用——有时与作为数值优化器的差分进化相结合——为各种信道和调制方案设计良好的LDPC码集。<sup>[14](https://link.springer.com/article/10.1155/2008/367287)</sup>该方法超越了经典分组码：空间耦合LDPC码的密度进化通过计算变量节点和校验节点相对于其空间位置和耦合长度的擦除概率而导出，并给出解码器收敛到无差错码字的置信传播阈值。<sup>[17](https://webdemo.inue.uni-stuttgart.de/webdemos/08_research/SC-LDPC_codes/index.php?id=7)</sup>

## 密度进化所揭示的结论

该技术支撑了迭代解码方面已知最强的一些结果。AWGN信道上优化的码率1/2非规则二元LDPC码在理论上距相应香农限0.0045 dB以内，在分组长度10<sup>7</sup>比特的实际码中距香农限0.04 dB以内；分组长度为10<sup>4</sup>至10<sup>5</sup>比特量级的系统距极限在零点几dB以内。<sup>[5](https://ocw.mit.edu/courses/6-451-principles-of-digital-communication-ii-spring-2005/bb895c1dee9ce0b39d6846e0aa984981_MIT6_451S05_FullLecNotes.pdf)</sup>对于大分组长度，随机选取的码的实际性能集中在密度进化所预测的码集平均值附近，因此来自优良码集的随机码几乎必然是好的。<sup>[4](https://brendanjameslynskey.github.io/Coding/10-ldpc-codes/)</sup><sup> • </sup><sup>[2](https://digital.library.adelaide.edu.au/server/api/core/bitstreams/cb9178dd-0c53-43d1-8994-929d7d525dca/content)</sup>

密度进化还解释了空间耦合LDPC码的行为，其置信传播阈值已被证明在二元擦除信道和二元无记忆对称信道上能够达到底层LDPC分组码的最大后验阈值，这种阈值饱和效应使其性能能够接近香农限，并使其成为未来通信标准的候选方案。<sup>[18](https://www.sciencedirect.com/science/article/abs/pii/S1874490724000776)</sup><sup> • </sup><sup>[19](https://jst.tsinghuajournals.com/EN/10.16511/j.cnki.qhdxxb.2025.27.042)</sup>

## References

1. [Sarah J. Johnson, "Density evolution and EXIT charts," Chapter 7 of *Iterative Error Correction: Turbo, Low-Density Parity-Check and Repeat-Accumulate Codes*, Cambridge University Press](https://www.cambridge.org/core/services/aop-cambridge-core/content/view/C111860F0C39490F4FA18FE3E25264AF/9780511809354c7_p237-282_CBO.pdf/density_evolution_and_exit_charts.pdf)
2. [Channel Coding thesis, University of Adelaide, Section 2.4 "Density Evolution"](https://digital.library.adelaide.edu.au/server/api/core/bitstreams/cb9178dd-0c53-43d1-8994-929d7d525dca/content)
3. [Information Theory: Modern Codes, LDPC, Polar and Turbo](https://calc-path.com/information-theory/modules/modern-codes)
4. [LDPC Codes, Coding Theory Series](https://brendanjameslynskey.github.io/Coding/10-ldpc-codes/)
5. [MIT OCW 6.451 Principles of Digital Communication II, Complete Lecture Notes, Section 13.5.3](https://ocw.mit.edu/courses/6-451-principles-of-digital-communication-ii-spring-2005/bb895c1dee9ce0b39d6846e0aa984981_MIT6_451S05_FullLecNotes.pdf)
6. [Iryna Andriyanova, PhD thesis, 2006](https://perso.etis-lab.fr/andriyanova/documents/thesis_Iryna_Andriyanova_2006.pdf)
7. [Differentially Encoded LDPC Codes, Part I: Special Case of Product Accumulate Codes, EURASIP Journal on Wireless Communications and Networking, 2008](https://link.springer.com/article/10.1155/2008/824673)
8. [Magma Handbook, Low Density Parity Check Codes: Introduction](https://docs.magma-maths.org/CodingTheory/LowDensityParityCheckCodes/introduction.html)
9. [Rate-Compatible LDPC Codes for Continuous-Variable Quantum Key Distribution in Wide Range of SNRs Regime, Entropy 24(10), 1463, 2022](https://www.mdpi.com/1099-4300/24/10/1463)
10. [Elsa Dupraz et al., non-binary LDPC density evolution paper](https://www.elsa-dupraz.fr/papiers/Dupraz14Com%28s%29.pdf)
11. [Jayasooriya et al., "New Density Evolution Approximation for LDPC and Multi-Edge Type LDPC Codes," arXiv:1605.04665](https://arxiv.org/abs/1605.04665)
12. [Turbo coding lecture notes, Chapter 16, Lehigh University](https://www.cse.lehigh.edu/~jingli/teach/S2003turbo/notes/turbo_chap16.pdf)
13. [EXIT charts in BICM, Foundations and Trends](https://guillen.eng.cam.ac.uk/files/books/bicm_fnt.pdf)
14. [Differentially Encoded LDPC Codes, Part II: General Case and Code Optimization, EURASIP JWCN, 2008](https://link.springer.com/article/10.1155/2008/367287)
15. [Multi-edge-type LDPC code design with G-EXIT charts for continuous-variable quantum key distribution, arXiv:1812.05867](https://arxiv.org/abs/1812.05867)
16. [M. Ardakani, PhD thesis, University of Alberta](https://www.ece.ualberta.ca/~ardakani/Ardakani_thesis.pdf)
17. [Spatially Coupled LDPC Codes webdemo, Institute of Telecommunications, University of Stuttgart](https://webdemo.inue.uni-stuttgart.de/webdemos/08_research/SC-LDPC_codes/index.php?id=7)
18. [Improved sliding window decoding algorithm based on information reserved for spatially coupled LDPC codes, ScienceDirect, 2024](https://www.sciencedirect.com/science/article/abs/pii/S1874490724000776)
19. [Spatially coupled LDPC codes based on multi-weight circulant matrix decomposition, Journal of Tsinghua University, 2025](https://jst.tsinghuajournals.com/EN/10.16511/j.cnki.qhdxxb.2025.27.042)
20. [Ldpc Richardson Urbanke Shokrollahi ITfeb01.pdf, josephboutros.org](https://www.josephboutros.org/ldpc_vs_turbo/ldpc_Richardson_Urbanke_Shokrollahi_ITfeb01.pdf)

---
*Initially written Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 数与代数 › Computational and symbolic algebra › Algebraic combinatorics and graph theory › Algebraic coding theory

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/density-evolution

English original: https://www.edgepedia.org/density-evolution
