TreeGRNG:用于高效概率AI硬件的二叉树高斯随机数生成器
TreeGRNG: Binary Tree Gaussian Random Number Generator for Efficient Probabilistic AI Hardware
AI总结:
提出TreeGRNG,一种基于二叉树的GRNG,用低成本常数比较器替代算术单元,在保持分布精度的同时实现每样本能耗降低3.7倍、单位面积吞吐量提升5.8倍,并支持灵活调整采样分布形状。
摘要:
贝叶斯神经网络(BNN)通过监控决策中的不确定性,为增强传统神经网络的可信度提供了机会。然而,在极端边缘进行BNN推理的一个显著缺点是在每个神经元中必须集成高斯随机数生成器(GRNG)。最先进的GRNG算法严重依赖多种算术运算和大型查找表的使用,给超低功耗硬件实现带来了重大挑战。为了克服这一问题,本文提出了一种创新的二叉树随机数生成器(TreeGRNG),允许使用超低成本的常数比较器代替算术单元。我们进一步利用高斯特性对TreeGRNG方案进行了一系列硬件感知优化。优化后的TreeGRNG在分布精度上超越了最先进技术(SoTA),同时每样本能耗降低了3.7倍,单位面积吞吐量提升了5.8倍。此外,我们的TreeGRNG方案在灵活性方面比当前SoTA具有明显优势,因为它使设计者能够轻松调整采样概率分布的形状,超越了传统GRNG的能力,为未来概率AI设计开辟了前景。TreeGRNG设计已在链接中开源。
英文摘要:
Bayesian Neural Networks (BNNs) offer opportunities for greatly enhancing the trustworthiness of conventional neural networks by monitoring the uncertainties in decision-making. A significant drawback for BNN inference at the extreme edge, however, is the imperative need to incorporate Gaussian Random Number Generators (GRNG) within each neuron. State-of-the-art GRNG algorithms heavily depend on multiple arithmetic operations and the use of extensive look-up tables, posing significant implementation challenges for ultra-low power hardware implementations. To overcome this, this paper presents an innovative binary tree random number generator (TreeGRNG) allowing the use of ultra-low-cost constant comparators instead of arithmetic units. We further enhance the TreeGRNG proposal with a set of hardware-aware optimizations exploiting the Gaussian properties. The optimized TreeGRNG surpasses the State-of-the-Art (SoTA) in terms of distribution accuracy while achieving a 3.7$\times$ reduction in energy per sample and boosting the throughput per unit area by 5.8$\times$. Moreover, our TreeGRNG proposal possesses a distinct advantage over the current SoTA in terms of flexibility, as it easily enables designers to adjust the shape of the sampled probability distribution, extending beyond the capabilities of traditional GRNGs, opening the horizon towards future probabilistic AI designs. The TreeGRNG design is available open-source in the link
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。