arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2112.02263cs.AReess.SP
收藏

基于定点指数函数的机器学习与信号处理加速器的实现

On the Implementation of Fixed-point Exponential Function for Machine Learning and Signal Processing Accelerators

Mahesh Chandra

摘要:

自然指数函数被广泛用于许多工程和科学系统的建模。它也是许多神经网络激活函数的组成部分,如sigmoid,tanh,ELU,RBF等专用硬件加速器和处理器设计用于更快地执行这些应用程序。这样的加速器可以极大地受益于指数函数的最佳实现。对于大多数应用来说,这可以通过以下知识来实现:负域的指数函数比正域的指数函数使用得更广泛。本文提出了一种变精度定点负输入的指数函数的优化实现方法。这里提出的实现方式显著减少了乘法器和加法器的数量。这是进一步优化使用混合世界长度实现的系列扩展。该方法比原等效方法面积减少30%以上,功耗减少50%以上。

英文摘要:

The natural exponential function is widely used in modeling many engineering and scientific systems. It is also an integral part of many neural network activation function such as sigmoid, tanh, ELU, RBF etc. Dedicated hardware accelerator and processors are designed for faster execution of such applications. Such accelerators can immensely benefit from an optimal implementation of exponential function. This can be achieved for most applications with the knowledge that the exponential function for a negative domain is more widely used than the positive domain. This paper presents an optimized implementation of exponential function for variable precision fixed point negative input. The implementation presented here significantly reduces the number of multipliers and adders. This is further optimized using mixed world-length implementation for the series expansion. The reduction in area and power consumption is more than 30% and 50% respectively over previous equivalent method.

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

↑