arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2206.12191eess.SPcs.CCcs.LG
收藏

神经网络在信号处理中应用的计算复杂度评估

Computational Complexity Evaluation of Neural Network Applications in Signal Processing

Aston Institute of Photonic Technologies, Aston University(阿斯顿大学阿斯顿光子技术研究所);Infinera R&D(Infinera研发中心);Infinera Unipessoal, Lda(Infinera独资有限责任公司)

Pedro Freire, Sasipim Srivallapanondh, Antonio Napoli, Jaroslaw E. Prilepsky, Sergei K. Turitsyn

AI总结:

本研究提出评估数字信号处理中神经网络层计算复杂度的系统方法,关联四项软硬件复杂度指标,新增面向异构量化的NABS指标,为实时信号处理场景的复杂度估算提供统一基准。

摘要:

本文提出了一种系统性方法,用于评估和比较数字信号处理中神经网络层的计算复杂度。我们提出并关联了四种从软件到硬件的复杂度度量指标,明确了不同复杂度指标与层超参数之间的关联。本文阐释了如何针对前馈层和循环层计算这四项指标,并定义了根据应用更偏向软件导向还是硬件导向,应在何种情况下使用特定指标。四项指标中的“加法与位移次数(number of additions and bit shifts, NABS)”是针对异构量化新提出的指标。NABS不仅能表征运算中所用位宽的影响,还能表征算术运算中所用量化类型的影响。本研究旨在作为神经网络在实时数字信号处理中应用相关的不同层级(用途)复杂度估算的基准,以统一计算复杂度估算工作。

英文摘要:

In this paper, we provide a systematic approach for assessing and comparing the computational complexity of neural network layers in digital signal processing. We provide and link four software-to-hardware complexity measures, defining how the different complexity metrics relate to the layers' hyper-parameters. This paper explains how to compute these four metrics for feed-forward and recurrent layers, and defines in which case we ought to use a particular metric depending on whether we characterize a more soft- or hardware-oriented application. One of the four metrics, called `the number of additions and bit shifts (NABS)', is newly introduced for heterogeneous quantization. NABS characterizes the impact of not only the bitwidth used in the operation but also the type of quantization used in the arithmetical operations. We intend this work to serve as a baseline for the different levels (purposes) of complexity estimation related to the neural networks' application in real-time digital signal processing, aiming at unifying the computational complexity estimation.

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

↑