# Max-log-MAP算法

Max-log-MAP算法是最大后验概率（MAP）译码算法（亦称[BCJR算法](https://www.edgepedia.org/zh/bcjr-algorithm)）的一种降低复杂度的近似实现，其中对数域上的求和运算被替换为简单的取最大值运算。它被广泛用作无线标准（如3GPP LTE）中Turbo译码器的软输入软输出（SISO）分量译码器，在译码性能与硬件复杂度之间提供了良好的折中。<sup>[1](https://www.researchgate.net/publication/318691627_FPGA_implementation_of_LTE_turbo_decoder_using_MAX-log_MAP_algorithm)</sup><sup> • </sup><sup>[2](https://www.ni.com/en/support/documentation/supplemental/16/labview-communications-lte-application-framework-2-0-and-2-0-1.html)</sup>

| 关键事实 | 详情 |
|---|---|
| 基础 | Bahl、Cocke、Jelinek和Raviv于1974年发表在《IEEE信息论汇刊》20(2), 284–287上的MAP（BCJR）算法的简化变体<sup>[3](https://dblp.org/rec/journals/tit/BahlCJR74)</sup> |
| 核心近似 | \( \ln(e^{a} + e^{b}) \approx \max(a, b) \)，舍弃修正项 \( \ln(1 + e^{-\lvert a-b \rvert}) \)<sup>[4](https://www.diva-portal.org/smash/get/diva2%3A23552/FULLTEXT01.pdf)</sup> |
| 性能代价 | 在所需误码率下，误码率性能与完整Log-MAP相差约0.4 dB以内<sup>[4](https://www.diva-portal.org/smash/get/diva2%3A23552/FULLTEXT01.pdf)</sup> |
| 复杂度 | max*函数仅需两次加法和一次比较，是对数域MAP各变体中复杂度最低的，但译码性能也是其中最差的<sup>[5](https://pmc.ncbi.nlm.nih.gov/articles/PMC7515343/)</sup> |
| 标准改进 | 对外信息进行缩放（Vogt和Finger，2000）相对于标准Max-log-MAP可挽回约0.2至0.4 dB<sup>[6](https://www.researchgate.net/publication/3383017_Improving_the_max-Log-MAP_turbo_decoder)</sup> |
| 典型应用 | 3GPP LTE和LTE-A系统中的Turbo译码，在FPGA和DSP上实现<sup>[1](https://www.researchgate.net/publication/318691627_FPGA_implementation_of_LTE_turbo_decoder_using_MAX-log_MAP_algorithm)</sup><sup> • </sup><sup>[7](https://cdrdv2-public.intel.com/654042/an505.pdf)</sup> |

## 起源

其基础算法是1974年由IBM的Lalit R. Bahl、John Cocke、Frederick Jelinek和Josef Raviv发表的逐符号最大后验概率译码方法，通常以其发明者姓氏首字母称为BCJR算法。该方法计算通过离散无记忆信道观测到的马尔可夫源的各状态与转移的后验概率，而线性分组码和卷积码的最小化符号错误概率译码是该问题的一个特例。<sup>[3](https://dblp.org/rec/journals/tit/BahlCJR74)</sup><sup> • </sup><sup>[8](https://research.ibm.com/publications/optimal-decoding-of-linear-codes-for-minimizing-symbol-error-rate)</sup>

直接形式的BCJR算法在实用中存在困难：数值表示问题、需要计算非线性函数，以及大量的加法和乘法运算。当时任职于德国航空航天研究机构（DLR）通信技术研究所和法国电信CNET的Patrick Robertson、Peter Hoeher和Emmanuelle Villebrun在1995年和1997年发表的工作中研究了对数域中用于Turbo译码的最优和次优MAP算法，Log-MAP和Max-log-MAP变体即从中脱颖而出，成为实用选择。<sup>[9](https://onlinelibrary.wiley.com/doi/abs/10.1002/ett.4460080202)</sup><sup> • </sup><sup>[10](https://www.rankless.org/hit-papers/10.1109/icc.1995.524253)</sup>

## max*近似

在对数域表述中，MAP递推需要计算函数 \( \ln(e^{a} + e^{b}) \)，记作max*算子。它可以精确分解为

\[ \ln(e^{a} + e^{b}) = \max(a, b) + \ln\left(1 + e^{-\lvert a - b \rvert}\right). \]

Max-log-MAP算法完全忽略修正因子 \( f_{c}(x) = \ln(1 + e^{-\lvert a-b \rvert}) \)，从而 \( \max^{*}(a, b) \approx \max(a, b) \)。中间变体Max*-log-MAP保留修正因子，可以用查找表实现；对于量化实现，该查找表可以精确实现修正函数。<sup>[4](https://www.diva-portal.org/smash/get/diva2%3A23552/FULLTEXT01.pdf)</sup>

两种变体的性能和代价有可测量的差异。Max*-log-MAP的性能与Log-MAP相差在0.1 dB以内，而Max-log-MAP在所需误码率下与Log-MAP相差约0.4 dB以内。修正函数使Max*-log-MAP比Max-log-MAP复杂约40%，且其引入的加法位于关键路径上，增加了时延。<sup>[4](https://www.diva-portal.org/smash/get/diva2%3A23552/FULLTEXT01.pdf)</sup> 在130 nm CMOS工艺上对max*实现的比较发现，近似方法相对于Max-Log-MAP有较大增益，在误码率 \( 10^{-4} \) 时与Log-MAP相差约0.05 dB以内；由于max*算子位于前向和后向状态度量的迭代更新中，更短的max*时延也意味着可达到更高的译码器时钟频率和吞吐量。<sup>[11](https://www.sciencedirect.com/topics/engineering/implementation-complexity)</sup>

## 性能与复杂度的权衡

Max-log-MAP是对数域MAP家族中复杂度最低的：计算max*函数仅需两次加法和一次比较，但其译码性能在比较的变体中最差。<sup>[5](https://pmc.ncbi.nlm.nih.gov/articles/PMC7515343/)</sup> 在64-APSK信号的解映射应用中，Max-Log-MAP每个接收信号需要128次乘法、198次加减法、372次判决，且不需要指数或对数运算，而完整Log-MAP需要192次乘法、564次加减法和约70次指数/对数运算。<sup>[12](https://onlinelibrary.wiley.com/doi/full/10.4218/etrij.2017-0266)</sup>

中间算法在这些量之间进行权衡。AvN [Log-MAP算法](https://www.edgepedia.org/zh/log-map-algorithm)利用Jensen不等式对 \( n \geq 2 \) 个值近似max*算子，在并行Turbo网格编码调制方案中比Max-Log-MAP多需34.0%的运算量，在串行方案中多需43.3%，换来0.3至0.5 dB的性能提升；在定点DSP上，并行方案中仅比Max-Log-MAP多需8.0%的处理器周期，串行方案中多需27.9%。<sup>[13](https://link.springer.com/article/10.1186/1687-1499-2013-238)</sup>

## 改进：外信息缩放

对原始算法最常被引用的改进是Josias Rodrigo Vogt（巴拉那联邦大学）和Adolf Finger（[德累斯顿工业大学](https://www.edgepedia.org/zh/tu-dresden)）于2000年发表在《电子学快报》36(23), 1937–1939上的缩放Max-log-MAP译码器。在外信息计算中应用缩放因子，在使用IMT-2000/3GPP参数的仿真中，相对于标准Max-log-MAP算法获得约0.2至0.4 dB的性能增益。<sup>[6](https://www.researchgate.net/publication/3383017_Improving_the_max-Log-MAP_turbo_decoder)</sup> 更一般地对外信息进行缩放可减小Max-log-MAP的性能损失，通过选择0.625或0.75的缩放因子可以降低乘法代价。<sup>[4](https://www.diva-portal.org/smash/get/diva2%3A23552/FULLTEXT01.pdf)</sup> 商业参考设计采用了这一修正：Altera（现Intel）3GPP LTE Turbo参考设计实现了用缩放因子修正的MaxLogMAP变体，被描述为LogMAP的简化版本，使用更少的逻辑资源，代价是误码率性能略有降低。<sup>[7](https://cdrdv2-public.intel.com/654042/an505.pdf)</sup>

## 在LTE Turbo译码器硬件中的应用

3GPP LTE Turbo码是Max-log-MAP硬件的标准应用场景。在实际实现中，一个实现max-Log-MAP算法的译码器交替充当迭代环路的分量译码器1和分量译码器2，通过交织器和解交织器交换外信息，直到达到最大半迭代次数或满足诸如循环冗余校验之类的停止准则。<sup>[14](https://ars.copernicus.org/articles/16/77/2018/)</sup><sup> • </sup><sup>[7](https://cdrdv2-public.intel.com/654042/an505.pdf)</sup>

由于该算法本质上是串行的，高吞吐量硬件通过将码块网格拆分为在并行子译码器核心上译码的子网格来实现并行化，并对前向和后向递推进行加窗处理。<sup>[14](https://ars.copernicus.org/articles/16/77/2018/)</sup> NI LabVIEW Communications LTE应用框架在内部使用四个相同的Max Log MAP译码器并行化单个译码器实例（每个处理码块的一个段），最多4.5次迭代（9次半迭代）时达到75 Mbit/s的吞吐量；它增加了一种称为下一迭代启动技术的加窗近似，以减少存储内部状态所需的内存。<sup>[2](https://www.ni.com/en/support/documentation/supplemental/16/labview-communications-lte-application-framework-2-0-and-2-0-1.html)</sup> 最近的一款商业FPGA核覆盖了K = 40到K = 6144的全部188种QPP交织器块大小；其在Zynq UltraScale+ RFSoC上测得的六次迭代、5比特输入版本达到450.045 MHz布线后时钟、31.539 Mb/s帧吞吐量、2,657个LUT，且不使用DSP块，在十二次半迭代中复用一个Max-Log-MAP SISO引擎。<sup>[15](https://algosilicon.com/en/products/lte-turbo)</sup>

该算法还可作为超越传统译码器的结构模板。TurboNet是一种用于Turbo码的模型驱动深度神经网络译码器，它展开原始Turbo迭代译码结构，并用源自max-log-MAP算法的神经网络单元替换每次迭代。<sup>[16](https://arxiv.org/abs/1905.10502)</sup>

## References

1. [V. Belov, S. Mosin (2017). FPGA Implementation of LTE Turbo Decoder Using MAX-log MAP Algorithm. 6th Mediterranean Conference on Embedded Computing (MECO).](https://www.researchgate.net/publication/318691627_FPGA_implementation_of_LTE_turbo_decoder_using_MAX-log_MAP_algorithm)
2. [LabVIEW Communications LTE Application Framework 2.0 and 2.0.1, National Instruments](https://www.ni.com/en/support/documentation/supplemental/16/labview-communications-lte-application-framework-2-0-and-2-0-1.html)
3. [L. Bahl, J. Cocke, F. Jelinek, J. Raviv (1974). Optimal decoding of linear codes for minimizing symbol error rate (Corresp.). IEEE Trans. Inf. Theory 20(2): 284–287, dblp record](https://dblp.org/rec/journals/tit/BahlCJR74)
4. [Low-Power Implementation of Turbo Decoders (thesis, DiVA portal)](https://www.diva-portal.org/smash/get/diva2%3A23552/FULLTEXT01.pdf)
5. [Turbo Decoder Design based on an LUT-Normalized Log-MAP Algorithm (PMC)](https://pmc.ncbi.nlm.nih.gov/articles/PMC7515343/)
6. [J. Vogt, A. Finger (2000). Improving the max-Log-MAP turbo decoder. Electronics Letters 36(23): 1937–1939.](https://www.researchgate.net/publication/3383017_Improving_the_max-Log-MAP_turbo_decoder)
7. [AN 505: 3GPP LTE Turbo Reference Design, Altera/Intel](https://cdrdv2-public.intel.com/654042/an505.pdf)
8. [Optimal Decoding of Linear Codes for Minimizing Symbol Error Rate, IBM Research](https://research.ibm.com/publications/optimal-decoding-of-linear-codes-for-minimizing-symbol-error-rate)
9. [P. Robertson, P. Hoeher, E. Villebrun (1997). Optimal and sub-optimal maximum a posteriori algorithms suitable for turbo decoding. European Transactions on Telecommunications 8(2): 119–125.](https://onlinelibrary.wiley.com/doi/abs/10.1002/ett.4460080202)
10. [P. Robertson, P. Hoeher (1995). A comparison of optimal and sub-optimal MAP decoding algorithms operating in the log domain. ICC 1995.](https://www.rankless.org/hit-papers/10.1109/icc.1995.524253)
11. [Implementation Complexity, ScienceDirect Topics](https://www.sciencedirect.com/topics/engineering/implementation-complexity)
12. [Bao et al. (2019). Low-complexity de-mapping algorithms for 64-APSK signals. ETRI Journal.](https://onlinelibrary.wiley.com/doi/full/10.4218/etrij.2017-0266)
13. [Reduced complexity Log-MAP algorithm with Jensen inequality based non-recursive max* operator for turbo TCM decoding. EURASIP Journal on Wireless Communications and Networking (2013).](https://link.springer.com/article/10.1186/1687-1499-2013-238)
14. [Where to go from here? New cross layer techniques for LTE Turbo-Code decoding at high code rates. Adv. Radio Sci. 16, 77 (2018).](https://ars.copernicus.org/articles/16/77/2018/)
15. [LTE Turbo Decoder IP, AlgoSilicon](https://algosilicon.com/en/products/lte-turbo)
16. [TurboNet: A Model-driven DNN Decoder Based on Max-Log-MAP Algorithm for Turbo Code. arXiv:1905.10502.](https://arxiv.org/abs/1905.10502)

---
*Initially written Oct 15, 2026*

Topic: 技术与人造世界 › 通信与日常技术 › 接收机信号处理方法

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/max-log-map-algorithm

English original: https://www.edgepedia.org/max-log-map-algorithm
