EncoDeep: Realizing Bit-flexible Encoding for Deep Neural Networks.

Autor: SAMRAGH, MOHAMMAD, JAVAHERIPI, MOJAN, KOUSHANFAR, FARINAZ
Předmět:
Zdroj: ACM Transactions on Embedded Computing Systems; Oct2020, Vol. 19 Issue 6, p1-29, 29p
Abstrakt: This article proposes EncoDeep, an end-to-end framework that facilitates encoding, bitwidth customization, fine-tuning, and implementation of neural networks on FPGA platforms. EncoDeep incorporates nonlinear encoding to the computation flow of neural networks to save memory. The encoded features demand significantly lower storage compared to the raw full-precision activation values; therefore, the execution flow of EncoDeep hardware engine is completely performed within the FPGA using on-chip streaming buffers with no access to the off-chip DRAM.We further propose a fully automated optimization algorithm that determines the flexible encoding bitwidths across network layers. EncoDeep full-stack framework comprises a compiler that takes a high-level Python description of an arbitrary neural network. The compiler then instantiates the corresponding elements from EncoDeep Hardware library for FPGA implementation. Our evaluations on MNIST, SVHN, and CIFAR-10 datasets demonstrate an average of 4.65x throughput improvement compared to stand-alone weight encoding. We further compare EncoDeep with six FPGA accelerators on ImageNet, showing an average of 3.6x and 2.54x improvement in throughput and performance-per-watt, respectively. [ABSTRACT FROM AUTHOR]
Databáze: Complementary Index