LogicNets: Co-Designed Neural Networks and Circuits for Extreme-Throughput Applications
Authors:
- 1 August 2020
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 291-297
Abstract
Deployment of deep neural networks for applications that require very high throughput or extremely low latency is a severe computational challenge, further exacerbated by inefficiencies in mapping the computation to hardware. We present a novel method for designing neural network topologies that directly map to a highly efficient FPGA implementation. By exploiting the equivalence of artificial neurons with quantized inputs/outputs and truth tables, we can train quantized neural networks that can be directly converted to a netlist of truth tables, and subsequently deployed as a highly pipelinable, massively parallel FPGA circuit. However, the neural network topology requires careful consideration since the hardware cost of truth tables grows exponentially with neuron fan-in. To obtain smaller networks where the whole netlist can be placed-and-routed onto a single FPGA, we derive a fan-in driven hardware cost model to guide topology design, and combine high sparsity with few-bit activation quantization to limit the neuron fan-in. We evaluate our approach on two tasks with very high intrinsic throughput requirements in high-energy physics and network intrusion detection. We show that the combination of sparsity and few-bit activation quantization results in high-speed circuits with small logic depth and low LUT cost, demonstrating competitive accuracy with less than 15 ns of inference latency and throughput in the hundreds of millions of inferences per second.Keywords
All Related Versions
This publication has 12 references indexed in Scilit:
- Unrolling Ternary Neural NetworksACM Transactions on Reconfigurable Technology and Systems, 2019
- LUTNet: Rethinking Inference in FPGA Soft Logic2019
- Deep Expander Networks: Efficient Deep Networks from Graph Theory2018
- POLYBiNN: A Scalable and Efficient Combinatorial Inference Engine for Neural Networks on FPGA2018
- Hardware Compilation of Deep Neural Networks: An Overview2018
- Fast inference of deep neural networks in FPGAs for particle physicsJournal of Instrumentation, 2018
- ReBNet: Residual Binarized Neural Network2018
- Efficient Processing of Deep Neural Networks: A Tutorial and SurveyProceedings of the IEEE, 2017
- FINN2017
- UNSW-NB15: a comprehensive data set for network intrusion detection systems (UNSW-NB15 network data set)2015