paperbot · PL 论文追踪

全部论文 待读 收藏

P2 VIBNN

VIBNN:面向贝叶斯神经网络变分推断的 FPGA 加速器
ASPLOS Proceedings of the Twenty-Third International Conference on Architectural Support for Programming Languages and Operating Systems2018匹配度 1/10 · 用户关注静态分析/程序分析、Agentic 程序、浮点程序分析以及贝叶斯程序分析与 LLM 的交叉;本文是 FPGA 上贝叶斯神经网络变分推断的硬件加速器,属于神经网络硬件体系结构,不涉及程序分析、静态分析或 LLM/Agent。引用 75 inbox
Ruizhe Cai, Ao Ren, Ning Liu, Caiwen Ding, Luhao Wang, Xuehai Qian, Massoud Pedram, Yanzhi Wang
crossref: 2026-09-12

AI 速览

一句话:提出 FPGA 加速器 VIBNN,通过定制高斯随机数生成与深度流水线架构加速 BNN 变分推断。

贝叶斯神经网络(BNN)通过条件概率分布权重和变分推断缓解过拟合并支持小数据训练,但推断过程中频繁采样高斯随机变量,传统高斯随机数生成器(GRNG)硬件开销高,使 FPGA 实现面临挑战。本文提出 VIBNN,一种面向 BNN 变分推断的 FPGA 硬件加速器。方法上设计两种高斯随机数生成器:基于 RAM 的线性反馈高斯随机数生成器(RLF-GRNG)和面向 BNN 的 Wallace 高斯随机数生成器,并采用深度流水线架构提升可扩展性与内存访问效率。实验表明,VIBNN 在 FPGA 上达到 321,543.4 Images/s 吞吐率和最高 52,694.8 Images/J 能效,同时保持与软件实现相近的精度。

问题
BNN 变分推断需大量高斯随机变量采样,传统 GRNG 硬件成本高,导致 BNN 的 FPGA 实现困难。
方法
提出 VIBNN FPGA 加速器,设计 RLF-GRNG 与面向 BNN 的 Wallace GRNG,并采用深度流水线架构优化可扩展性和内存访问。
评估
在 FPGA 上评估吞吐率、能效和精度,达到 321,543.4 Images/s 与最高 52,694.8 Images/J,精度与软件实现相近。
原文摘要(Abstract)

Bayesian Neural Networks (BNNs) have been proposed to address the problem of model uncertainty in training and inference. By introducing weights associated with conditioned probability distributions, BNNs are capable of resolving the overfitting issue commonly seen in conventional neural networks and allow for small-data training, through the variational inference process. Frequent usage of Gaussian random variables in this process requires a properly optimized Gaussian Random Number Generator (GRNG). The high hardware cost of conventional GRNG makes the hardware implementation of BNNs challenging. In this paper, we propose VIBNN, an FPGA-based hardware accelerator design for variational inference on BNNs. We explore the design space for massive amount of Gaussian variable sampling tasks in BNNs. Specifically, we introduce two high performance Gaussian (pseudo) random number generators: 1) the RAM-based Linear Feedback Gaussian Random Number Generator (RLF-GRNG), which is inspired by the properties of binomial distribution and linear feedback logics; and 2) the Bayesian Neural Network-oriented Wallace Gaussian Random Number Generator. To achieve high scalability and efficient memory access, we propose a deep pipelined accelerator architecture with fast execution and good hardware utilization. Experimental results demonstrate that the proposed VIBNN implementations on an FPGA can achieve throughput of 321,543.4 Images/s and energy efficiency upto 52,694.8 Images/J while maintaining similar accuracy as its software counterpart.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot4230,
  title = {VIBNN},
  author = {Ruizhe Cai and Ao Ren and Ning Liu and Caiwen Ding and Luhao Wang and Xuehai Qian and Massoud Pedram and Yanzhi Wang},
  booktitle = {ASPLOS},
  year = {2018},
  doi = {10.1145/3173162.3173212}
}