arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.22151cs.LGcs.SYeess.SY
收藏

边缘计算中将神经网络转换为逻辑流的最新研究成果

Late Breaking Results: Conversion of Neural Networks into Logic Flows for Edge Computing

Daniel Stein, Shaoyi Huang, Rolf Drechsler, Bing Li, Grace Li Zhang

AI总结:

本文提出将神经网络转换为逻辑流以提升CPU在边缘计算中的计算效率,通过决策树压缩实现低延迟与高精度的平衡。

摘要:

神经网络已成功应用于各种资源受限的边缘设备,其中通常使用中央处理单元(CPU)而不是图形处理单元,这是由于电力供应有限。最先进的研究仍然集中在高效执行大量乘法-累加(MAC)操作上。然而,CPU本身并不擅长大规模执行此类数学运算,因为它们更适合执行控制流逻辑,即计算机算法。为了提高神经网络在CPU上的计算效率,本文提出将它们转换为逻辑流进行执行。具体来说,神经网络首先被转换为等效的决策树,然后从其中选择具有恒定叶子的决策路径并压缩成逻辑流。此类逻辑流由if和else结构以及较少的MAC操作组成。实验结果表明,在模拟的RISC-V CPU上,延迟可减少高达14.9%,且没有精度下降。代码在https://github.com/TUDa-HWAI/NN2Logic上开源。

英文摘要:

Neural networks have been successfully applied in various resource-constrained edge devices, where usually central processing units (CPUs) instead of graphics processing units exist due to limited power availability. State-of-the-art research still focuses on efficiently executing enormous numbers of multiply-accumulate (MAC) operations. However, CPUs themselves are not good at executing such mathematical operations on a large scale, since they are more suited to execute control flow logic, i.e., computer algorithms. To enhance the computation efficiency of neural networks on CPUs, in this paper, we propose to convert them into logic flows for execution. Specifically, neural networks are first converted into equivalent decision trees, from which decision paths with constant leaves are then selected and compressed into logic flows. Such logic flows consist of if and else structures and a reduced number of MAC operations. Experimental results demonstrate that the latency can be reduced by up to 14.9 % on a simulated RISC-V CPU without any accuracy degradation. The code is open source at https://github.com/TUDa-HWAI/NN2Logic

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑