Advanced Search
Turn off MathJax
Article Contents
WANG Tiansheng, HAN Kaifeng, CHEN Li, DU Ying. Design of LDPC Decoding Based on a Domestic NPU[J]. Journal of Electronics & Information Technology. doi: 10.11999/JEIT260172
Citation: WANG Tiansheng, HAN Kaifeng, CHEN Li, DU Ying. Design of LDPC Decoding Based on a Domestic NPU[J]. Journal of Electronics & Information Technology. doi: 10.11999/JEIT260172

Design of LDPC Decoding Based on a Domestic NPU

doi: 10.11999/JEIT260172 cstr: 32379.14.JEIT260172
Funds:  The National Science Foundation for Young Scientists of China (62522126), The General Program of the National Natural Science Foundation of China (62471449), The National Science Foundation of China (U25A20394)
  • Received Date: 2026-02-09
  • Accepted Date: 2026-10-28
  • Rev Recd Date: 2026-10-28
  • Available Online: 2026-10-31
  •   Objective  Sixth-Generation (6G) mobile communication represents a new generation of intelligent, integrated digital information infrastructure that combines communication, sensing, computation, and intelligence. As a core component of 6G wireless access networks, the base station is evolving into an intelligent edge service node that integrates communication, computation, and Artificial Intelligence (AI) services. Therefore, domestic AI accelerators, such as Neural Processing Units (NPUs), are increasingly being integrated into base station architectures. Deploying communication physical-layer tasks and AI services on a unified NPU-based platform provides an effective approach to improving hardware resource utilization. However, Low-Density Parity-Check (LDPC) decoding, a key physical-layer technique, requires irregular and noncontiguous memory access because of its sparse graph structure. These access patterns are poorly suited to the tensor-centric computational architecture of NPUs, making efficient deployment difficult. To address this mismatch, a fully tensorized parallel LDPC decoding framework, termed DaVinci-LDPC, is proposed for the DaVinci architecture of Huawei Ascend NPUs.  Methods  Three optimization strategies are developed to adapt irregular sparse-graph computations to tensor-based hardware. First, a static graph topology mapping mechanism is constructed to transform factor graph connections into fixed tensor indices, reducing runtime dynamic branching and control-flow overhead. Second, a Dual-Gather message-passing strategy is proposed to address memory bandwidth bottlenecks caused by random memory access. This strategy uses the NPU’s vector processing units to efficiently handle message exchange between variable nodes and check nodes. Finally, a vectorized hyperbolic tangent operator fusion scheme is designed for the Sum-Product Algorithm (SPA) to address the difficulty of vectorizing nonlinear operations and the risk of numerical overflow in 16-bit Floating-Point (FP16) calculations. This scheme enables highly parallel check-node updates while maintaining numerical stability.  Results and Discussions  The performance of the DaVinci-LDPC framework is evaluated against a multithreaded Central Processing Unit (CPU) baseline, and its decoding accuracy is assessed against practical communication requirements. The NPU implementation uses FP16 SPA decoding, whereas the CPU baseline uses the 32-bit Floating-Point (FP32) Normalized Min-Sum (NMS) algorithm. Experimental results show that the NPU implementation achieves a Bit Error Rate (BER) of approximately 10–7 at a Signal-to-Noise Ratio (SNR) of 3.5 dB for a code length of 2048 bits (Fig. 4), below the BER level of 10–5 cited as a practical requirement in the study. Although the NPU implementation exhibits a higher BER than the CPU baseline at higher SNRs, it achieves the stated BER target under the tested conditions. In terms of throughput, the NPU implementation achieves increasing performance advantages as the code length increases (Table 2, Fig. 5). At a code length of 4096 bits, its throughput reaches 134.2 Mbps, compared with 9.5 Mbps for the CPU baseline, corresponding to a reported peak speedup of 14.09 times under the respective test configurations (Table 2).  Conclusions  An efficient parallel LDPC decoding system is designed and implemented on the domestic Huawei Ascend NPU platform, demonstrating its acceleration capabilities for 5G/6G physical-layer algorithms. Through static graph topology mapping, Dual-Gather message passing, and vectorized operator fusion, the DaVinci-LDPC framework addresses the structural mismatch between sparse LDPC factor graphs and the DaVinci tensor architecture. The resulting system achieves high throughput and numerical stability while satisfying the stated decoding accuracy requirements under the tested conditions. These findings demonstrate the feasibility of using domestic NPUs for conventional communication physical-layer decoding and provide a reference for the future development of AI-native, software-defined 6G physical-layer systems.
  • loading
  • [1]
    SHAH S D A, HAFEEZ M, SALAMA A, et al. Proactive AI-and-RAN workload orchestration in O-RAN architectures for 6G networks[J]. IEEE Open Journal of the Communications Society, 2025, 6: 7939–7954. doi: 10.1109/OJCOMS.2025.3608700.
    [2]
    LIN Xingqin, KUNDU L, CAMMERER S, et al. AI-native 6G: Empowering intelligent RAN with accelerated compute[J]. IEEE Wireless Communications, 2025, 32(6): 11–14. doi: 10.1109/MWC.2025.3620147.
    [3]
    DENG Jikang, HASAN S F, ZHOU Hui, et al. AI-native open RAN for non-terrestrial networks: An overview[J]. IEEE Open Journal of the Communications Society, 2026, 7: 1033–1057. doi: 10.1109/OJCOMS.2026.3656366.
    [4]
    GOTE P M, KUMAR P, VERMA P, et al. From 5G to 6G: The role of AI, machine learning, and deep learning in wireless systems[C]. 2025 The 4th International Conference on Sentiment Analysis and Deep Learning, Bhimdatta, Nepal, 2025: 447–452. doi: 10.1109/ICSADL65848.2025.10933016.
    [5]
    朱政宇, 殷梦琳, 姚信威, 等. AI赋能的通感算一体化关键技术研究综述[J]. 电子与信息学报, 2025, 47(10): 3426–3438. doi: 10.11999/JEIT250242.

    ZHU Zhengyu, YIN Menglin, YAO Xinwei, et al. Overview of the research on key technologies for AI-powered integrated sensing, communication and computing[J]. Journal of Electronics & Information Technology, 2025, 47(10): 3426–3438. doi: 10.11999/JEIT250242.
    [6]
    王新奕, 费泽松, 周一青, 等. 面向物联网的通感算智融合: 关键技术与未来展望[J]. 电子与信息学报, 2025, 47(4): 888–908. doi: 10.11999/JEIT240806.

    WANG Xinyi, FEI Zesong, ZHOU Yiqing, et al. Integrated sensing, communication, computation, and intelligence towards IoT: Key technologies and future directions[J]. Journal of Electronics & Information Technology, 2025, 47(4): 888–908. doi: 10.11999/JEIT240806.
    [7]
    LIAO Heng, TU Jiajin, XIA Jing, et al. Ascend: A scalable and unified architecture for ubiquitous deep neural network computing: Industry track paper[C]. 2021 IEEE International Symposium on High-Performance Computer Architecture, Seoul, Korea, 2021: 789–801. doi: 10.1109/HPCA51647.2021.00071.
    [8]
    TANG Yifeng, ZHOU Huaman, JI Zhuoran, et al. Cube-fx: Mapping Taylor expansion onto matrix multiplier-accumulators of Huawei Ascend AI processors[J]. IEEE Transactions on Parallel and Distributed Systems, 2025, 36(6): 1115–1129. doi: 10.1109/TPDS.2025.3557444.
    [9]
    HEISLER M L, XING Linzi, SHI Ge, et al. Enhancing learned knowledge in LoRA adapters through efficient contrastive decoding on Ascend NPUs[C]. The 31st ACM SIGKDD Conference on Knowledge Discovery and Data Mining V. 2, Toronto, Canada, 2025: 4499–4510. doi: 10.1145/3711896.3737215.
    [10]
    GALLAGER R. Low-density parity-check codes[J]. IRE Transactions on Information Theory, 1962, 8(1): 21–28. doi: 10.1109/TIT.1962.1057683.
    [11]
    SHOKROLLAHI A. LDPC codes: An introduction[M]. FENG Keqin, NIEDERREITER H, and XING Chaoping. Coding, Cryptography and Combinatorics. Basel: Birkhäuser, 2004: 85–110. doi: 10.1007/978-3-0348-7865-4_5.
    [12]
    FERRAZ O, SUBRAMANIYAN S, CHINTHALA R, et al. A survey on high-throughput non-binary LDPC decoders: ASIC, FPGA, and GPU architectures[J]. IEEE Communications Surveys & Tutorials, 2022, 24(1): 524–556. doi: 10.1109/COMST.2021.3126127.
    [13]
    YUN Sangbu, CHOE J, and LEE Y. High-throughput software-defined LDPC encoder and decoder with x86-based data-level parallelism[J]. IEEE Transactions on Vehicular Technology, 2025, 74(1): 50–60. doi: 10.1109/TVT.2024.3452718.
    [14]
    SEVER M and ÇAVUS E. Parallelizing LDPC decoding using OpenMP on multicore digital signal processors[C]. 2016 45th International Conference on Parallel Processing Workshops, Philadelphia, USA, 2016: 46–51. doi: 10.1109/ICPPW.2016.22.
    [15]
    POURJABAR S and CHOI G S. A high-throughput multi-mode LDPC decoder for 5G NR[J]. arXiv preprint arXiv: 2102.13228, 2021. doi: 10.48550/arXiv.2102.13228.
    [16]
    ZHANG Yifan, SUN Lei, and CAO Qiang. TLP-LDPC: Three-level parallel FPGA architecture for fast prototyping of LDPC decoder using high-level synthesis[J]. Journal of Computer Science and Technology, 2022, 37(6): 1290–1306. doi: 10.1007/s11390-022-1499-9.
    [17]
    周华, 周鸣, 张立康. 低密度奇偶校验码正则化神经网络归一化最小和译码算法[J]. 电子与信息学报, 2025, 47(5): 1486–1493. doi: 10.11999/JEIT240860.

    ZHOU Hua, ZHOU Ming, and ZHANG Likang. Regularized neural network-based normalized min-sum decoding for LDPC codes[J]. Journal of Electronics & Information Technology, 2025, 47(5): 1486–1493. doi: 10.11999/JEIT240860.
    [18]
    JOUPPI N P, YOUNG C, PATIL N, et al. In-datacenter performance analysis of a tensor processing unit[C]. The 44th Annual International Symposium on Computer Architecture, Toronto, Canada, 2017: 1–12. doi: 10.1145/3079856.3080246.
    [19]
    LUGOSCH L and GROSS W J. Neural offset min-sum decoding[C]. 2017 IEEE International Symposium on Information Theory, Aachen, Germany, 2017: 1361–1365. doi: 10.1109/ISIT.2017.8006751.
    [20]
    NACHMANI E, MARCIANO E, LUGOSCH L, et al. Deep learning methods for improved decoding of linear codes[J]. IEEE Journal of Selected Topics in Signal Processing, 2018, 12(1): 119–131. doi: 10.1109/JSTSP.2017.2788405.
    [21]
    WRIGLEY A, LEE W S, and YE Nan. Tensor belief propagation[C]. The 34th International Conference on Machine Learning, Sydney, Australia, 2017: 3771–3779.
    [22]
    DAVE S, BAGHDADI R, NOWATZKI T, et al. Hardware acceleration of sparse and irregular tensor computations of ML models: A survey and insights[J]. The IEEE, 2021, 109(10): 1706–1752. doi: 10.1109/JPROC.2021.3098483.
    [23]
    ISAAC-CHASSANDE V, EVANS A, DURAND Y, et al. Dedicated hardware accelerators for processing of sparse matrices and vectors: A survey[J]. ACM Transactions on Architecture and Code Optimization, 2024, 21(2): 27. doi: 10.1145/3640542.
    [24]
    ANDRADE J, FALCAO G, SILVA V, et al. A survey on programmable LDPC decoders[J]. IEEE Access, 2016, 4: 6704–6718. doi: 10.1109/ACCESS.2016.2594265.
    [25]
    WANG Yinuo, SONG Zeyu, WAN Wubing, et al. Accelerating half-precision seismic simulation on neural processing unit[J]. IEEE Transactions on Parallel and Distributed Systems, 2025, 36(10): 1998–2013. doi: 10.1109/TPDS.2025.3584773.
    [26]
    LIAO Heng, TU Jiajin, XIA Jing, et al. DaVinci: A scalable architecture for neural network computing[C]. 2019 IEEE Hot Chips 31 Symposium, Cupertino, USA, 2019: 1–44. doi: 10.1109/HOTCHIPS.2019.8875654.
    [27]
    梁晓峣. 昇腾AI处理器架构与编程: 深入理解CANN技术原理及应用[M]. 北京: 清华大学出版社, 2019.

    LIANG Xiaoyao. Ascend AI Processor Architecture and Programming: Principles and Applications of CANN[M]. Beijing: Tsinghua University Press, 2019.
    [28]
    AI Xin, ZHANG Bing, WANG Qiange, et al. NeutronAscend: Optimizing GNN training with Ascend AI processors[J]. ACM Transactions on Architecture and Code Optimization, 2025, 22(4): 123. doi: 10.1145/3762662.
  • 加载中

Catalog

    通讯作者: 陈斌, bchen63@163.com
    • 1. 

      沈阳化工大学材料科学与工程学院 沈阳 110142

    1. 本站搜索
    2. 百度学术搜索
    3. 万方数据库搜索
    4. CNKI搜索

    Figures(5)  / Tables(2)

    Article Metrics

    Article views (56) PDF downloads(6) Cited by()
    Proportional views
    Related

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return