Binarized Neural Network (BNN) removes bitwidth redundancy in classical CNN by using a single bit (-1/+1) for network parameters and intermediate representations, which has greatly reduced the off-chip data transfer and storage overhead. However, a large amount of computation redundancy still exists in BNN inference. By analyzing local properties of images and the learned BNN kernel weights, we observe an average of $\sim$78% input similarity and $\sim$59% weight similarity among weight kernels, measured by our proposed metric in common network architectures. Thus there does exist redundancy that can be exploited to further reduce the amount of on-chip computations.
Motivated by the observation, in this paper, we proposed two types of fast and energy-efficient architectures for BNN inference. We also provide analysis and insights to pick the better strategy of these two for different datasets and network models. By reusing the results from previous computation, much cycles for data buffer access and computations can be skipped. By experiments, we demonstrate that 80% of the computation and 40% of the buffer access can be skipped by exploiting BNN similarity. Thus, our design can achieve 17% reduction in total power consumption, 54% reduction in on-chip power consumption and 2.4$\times$ maximum speedup, compared to the baseline without applying our reuse technique. Our design also shows 1.9$\times$ more area-efficiency compared to state-of-the-art BNN inference design. We believe our deployment of BNN on FPGA leads to a promising future of running deep learning models on mobile devices.
Osaka University(大阪大学);Panasonic Corporation(松下公司);National Institute of Advanced Industrial Science and Technology(国立先进工业科学技术研究所)
一种隐私保护框架,其中计算资源提供者从客户端接收加密数据并返回预测结果而不解密数据,即,不经意神经网络或加密预测已经在提供预测服务的机器学习中被研究。在这项工作中,我们提出了MOBIUS(模型不经意二进制神经网络),一个新的系统,结合了二进制神经网络(BNN)和基于秘密共享的安全计算作为可扩展和快速隐私保护机器学习的工具。BNN通过将训练中的值二进制化为$-1$和$+1$来提高计算性能,而基于秘密共享的安全计算通过具有短比特长度的模运算在加密形式下提供快速和各种计算。然而,组合这些工具并不简单,因为它们的运算具有不同的代数结构,并且BNN的使用通常会降低预测精度。MOBIUS使用改进的BNN程序和安全计算,具有兼容的代数结构,而不会降低预测精度。我们使用ABY库(NDSS 2015)在C++中创建了MOBIUS的实现。然后,我们使用MNIST数据集进行了实验,结果显示MOBIUS可以在0.76秒内返回预测,比SecureML快6倍(IEEE S\& P 2017)。MOBIUS允许客户端请求加密预测,并允许训练者将加密模型不经意地发布到由计算资源提供商提供的云,即,而不向提供者揭示原始模型本身。
Binary Complex Neural Network Acceleration on FPGA
University of Connecticut(康涅狄格大学);Stevens Institute of Technology(史蒂文斯理工学院);University of Texas at San Antonio(德克萨斯大学圣安东尼奥分校);Pacific Northwest National Laboratory(太平洋西北国家实验室)
QubitHD: A Stochastic Acceleration Method for HD Computing-Based Machine Learning
Massachusetts Institute of Technology(麻省理工学院);Harvard University(哈佛大学);University of California Irvine(加州大学欧文分校);University of California San Diego(加州大学圣地亚哥分校);École polytechnique fédérale de Lausanne(洛桑联邦理工学院)
Fast convolutional neural networks on FPGAs with hls4ml
European Organization for Nuclear Research (CERN)(欧洲核子研究组织);Institute of Physics Belgrade(贝尔格莱德物理研究所);Politecnico di Milano(米兰理工大学);California Institute of Technology(加州理工学院);Chalmers University of Technology(查尔姆斯理工大学);Zenseact(Zenseact公司);ICEPP, University of Tokyo(东京大学国际基本粒子物理研究所);Columbia University(哥伦比亚大学);University of California San Diego(加州大学圣地亚哥分校);Massachusetts Institute of Technology(麻省理工学院);Fermi National Accelerator Laboratory(费米国家加速器实验室);Purdue University(普渡大学);HawkEye360(鹰眼360公司);University of Illinois at Chicago(伊利诺伊大学芝加哥分校);Rhodes College(罗德学院)
Fast inference of Boosted Decision Trees in FPGAs for particle physics
European Organization for Nuclear Research (CERN)(欧洲核子研究组织(CERN));Columbia University(哥伦比亚大学);University of California San Diego(加利福尼亚大学圣迭戈分校);Massachusetts Institute of Technology(麻省理工学院);Rhodes College(罗德学院);Fermi National Accelerator Laboratory(费米国家加速器实验室);Institute of Physics Belgrade(贝尔格莱德物理研究所);University of Illinois at Chicago(伊利诺伊大学芝加哥分校)
California Institute of Technology, Pasadena, CA, USA(加利福尼亚技术研究所);Fermi National Accelerator Laboratory, Batavia, IL, USA(费米国家加速器实验室);European Organization for Nuclear Research (CERN), Geneva, Switzerland(欧洲核子研究中心)
A GPU-Outperforming FPGA Accelerator Architecture for Binary Convolutional Neural Networks
Arizona State University(亚利桑那州立大学);Nanyang Technological University(南洋理工大学)
基于FPGA的卷积神经网络(CNN)硬件加速器由于其比GPU更高的能量效率而受到广泛关注。然而,基于FPGA的解决方案要实现比GPU更高的吞吐量是具有挑战性的。在本文中,我们证明了当CNN在权重和激活的二进制约束下进行训练时,FPGA加速在吞吐量和能效方面都是一种优越的解决方案。具体来说,我们提出了一种优化的FPGA加速器架构,专为逐位卷积和归一化而设计,具有大规模的空间并行性和深流水线阶段。FPGA加速器的一个关键优势是其性能对数据批量大小不敏感,而GPU加速的性能在很大程度上取决于数据的批量大小。实验结果表明,在Virtex-7 FPGA上运行的二进制CNN的加速器架构比Titan X GPU快8.3倍,能效高75倍,可以处理小批量的在线个人请求。对于处理大批量静态数据,该解决方案在吞吐量方面与Titan X GPU不相上下,同时提供9.5倍的能效。
Symbolic Regression on FPGAs for Fast Machine Learning Inference
University of Wisconsin-Madison(威斯康星大学麦迪逊分校);Princeton University(普林斯顿大学);Massachusetts Institute of Technology(麻省理工学院);Institute of Physics Belgrade(贝尔格莱德物理研究所);Flatiron Institute(弗拉蒂伦研究所);European Organization for Nuclear Research (CERN)(欧洲核子研究组织(CERN))