Search papers, labs, and topics across Lattice.
This paper introduces TreeGRNG, a binary tree Gaussian Random Number Generator designed to enhance the efficiency of Bayesian Neural Networks (BNNs) in edge computing environments. By replacing traditional arithmetic operations with ultra-low-cost constant comparators, TreeGRNG achieves a 3.7脳 reduction in energy consumption per sample and a 5.8脳 increase in throughput per unit area, while maintaining superior distribution accuracy. Additionally, its flexible design allows for easy adjustments to the sampled probability distribution, paving the way for more adaptable probabilistic AI hardware solutions.
TreeGRNG achieves a 3.7脳 reduction in energy usage while enhancing distribution accuracy, revolutionizing the implementation of Bayesian Neural Networks in ultra-low power hardware.
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