arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1807.06966eess.SP
收藏

用于随机计算的高效最大/最小电路的设计与分析

Design and Analysis of Efficient Maximum/Minimum Circuits for Stochastic Computing

Michael Lunglmayr, Daniel Wiesinger, Werner Haselmayr

摘要:

在随机计算(SC)中,一个实值数由一个随机比特流表示,并以获得1的概率对其值进行编码。这导致用于各种功能的显著更低的硬件工作量并且提供更高的误差容限(例如,位翻转)。随机最大/最小函数的实现对于SC已经成功应用的许多领域是重要的,例如图像处理或机器学习(例如,神经网络中的最大池化)。在这项工作中,我们提出了一种新的移位寄存器为基础的体系结构的随机最大/最小函数。我们表明,所提出的电路有一个显着更高的精度比国家的最先进的架构在可比的硬件成本。此外,我们分析证明了所提出的电路的正确性,并提供了一个新的错误分析,基于随机流的各个比特。有趣的是,分析表明,对于一定的实际比特流长度,存在有限的最佳移位寄存器长度,它允许确定最佳长度。

英文摘要:

In stochastic computing (SC), a real-valued number is represented by a stochastic bit stream, encoding its value in the probability of obtaining a one. This leads to a significantly lower hardware effort for various functions and provides a higher tolerance to errors (e.g., bit flips) compared to binary radix representation. The implementation of a stochastic max/min function is important for many areas where SC has been successfully applied, such as image processing or machine learning (e.g., max pooling in neural networks). In this work, we propose a novel shift-register-based architecture for a stochastic max/min function. We show that the proposed circuit has a significantly higher accuracy than state-of-the-art architectures at comparable hardware cost. Moreover, we analytically proof the correctness of the proposed circuit and provide a new error analysis, based on the individual bits of the stochastic streams. Interestingly, the analysis reveals that for a certain practical bit stream length a finite optimal shift register length exists and it allows to determine the optimal length.

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

↑