The computational complexity of neural networks for large scale or real-time applications necessitates hardware acceleration. Most approaches assume that the network architecture and parameters are unknown at design time, permitting usage in a large number of applications. This paper demonstrates, for the case where the neural network architecture and ternary weight values are known a priori, that extremely high throughput implementations of neural network inference can be made by customising the datapath and routing to remove unnecessary computations and data movement. This approach is ideally suited to FPGA implementations as a specialized implementation of a trained network improves efficiency while still retaining generality with the reconfigurability of an FPGA. A VGG style network with ternary weights and fixed point activations is implemented for the CIFAR10 dataset on Amazon's AWS F1 instance. This paper demonstrates how to remove 90% of the operations in convolutional layers by exploiting sparsity and compile-time optimizations. The implementation in hardware achieves 90.9 +/- 0.1% accuracy and 122 k frames per second, with a latency of only 29 us, which is the fastest CNN inference implementation reported so far on an FPGA.
Algorithm Unrolling for Massive Access via Deep Neural Network with Theoretical Guarantee
ShanghaiTech University(上海科技大学);Shanghai Institute of Microsystem and Information Technology, Chinese Academy of Sciences(中国科学院上海微系统与信息技术研究所);University of Chinese Academy of Sciences(中国科学院大学);Kyungpook National University(庆北国立大学);Yoke Intelligence(约客智能)
Graph Signal Restoration Using Nested Deep Algorithm Unrolling
Tokyo University of Agriculture and Technology(东京农工大学);Tokyo University of Science(东京理科大学);Purdue University(普渡大学);The Weizmann Institute of Science(魏茨曼科学研究所)
Compressing deep neural networks on FPGAs to binary and ternary precision with HLS4ML
European Organization for Nuclear Research (CERN)(欧洲核子研究组织(CERN));Institute of Physics Belgrade(贝尔格莱德物理研究所);Columbia University(哥伦比亚大学);University of California San Diego(加州大学圣地亚哥分校);Massachusetts Institute of Technology(麻省理工学院);Fermi National Accelerator Laboratory(费米国家加速器实验室);HawkEye360;Boston University(波士顿大学);University of Illinois at Chicago(伊利诺伊大学芝加哥分校);Rhodes College(罗德学院)
Arbitrary Precision Printed Ternary Neural Networks with Holistic Evolutionary Approximation
Faculty of Information Technology, Brno University of Technology(信息科技学院,布拉格技术大学);Department of Computer Science, Karlsruhe Institute of Technology(计算机科学系,卡尔斯鲁厄理工学院);Computer Engineering & Informatics Dept., University of Patras(计算机工程与信息系,帕特拉大学)
NativeTernary: A Self-Delimiting Binary Encoding with Unary Run-Length Hierarchy Markers for Ternary Neural Network Weights, Structured Data, and General Computing Infrastructure
Indian Institute of Technology Bombay(印度理工学院孟买分校);IIM Udaipur(印度管理学院乌代浦尔分校)
University of Electronic Science and Technology of China(电子科技大学);Harvard University(哈佛大学);The Chinese University of Hong Kong(香港中文大学);National University of Singapore(新加坡国立大学)
为了在资源有限的设备上部署深度神经网络,量化已经被广泛探索。在这项工作中,我们研究了极低比特网络,它具有巨大的加速,量化激活和权重的内存节省。我们首先提出了三个在极低比特网络中被忽略的问题:量化值的压缩范围;反向传播过程中的梯度消失和三进制网络未开发的硬件加速。通过对量化后的激活向量和权值向量重新进行参数化,对固定的三进制向量进行全精度的尺度和偏移,将幅度和幅度从方向上解耦,从而减轻了这三个问题。可学习的尺度和偏移量可以自动调整量化值的范围和稀疏度,而不会使梯度消失。设计了一种新的编码和计算模式,以支持我们重新参数化的三元网络(RTN)的高效计算。在ResNet-18 for ImageNet上的实验表明,所提出的RTN在位宽和精度之间找到了更好的效率,与现有方法相比,相对精度提高了26.76%。在现场可编程门阵列(FPGA)上验证了本文提出的计算模式,与全精度卷积相比,功耗和面积分别节省了46.46倍和89.17倍。