LUTNet: Learning FPGA Configurations for Highly Efficient Neural Network Inference

Erwei Wang, James J. Davis, Peter Y. K. Cheung, George A. Constantinides
10/24/2019
cs.LGcs.CVeess.SP

Official code: awai54st/LUTNet (69 stars, BSD-2-Clause, last commit 2020-05-06).

Abstract

Research has shown that deep neural networks contain significant redundancy, and thus that high classification accuracy can be achieved even when weights and activations are quantized down to binary values. Network binarization on FPGAs greatly increases area efficiency by replacing resource-hungry multipliers with lightweight XNOR gates. However, an FPGA's fundamental building block, the K-LUT, is capable of implementing far more than an XNOR: it can perform any K-input Boolean operation. Inspired by this observation, we propose LUTNet, an end-to-end hardware-software framework for the construction of area-efficient FPGA-based neural network accelerators using the native LUTs as inference operators. We describe the realization of both unrolled and tiled LUTNet architectures, with the latter facilitating smaller, less power-hungry deployment over the former while sacrificing area and energy efficiency along with throughput. For both varieties, we demonstrate that the exploitation of LUT flexibility allows for far heavier pruning than possible in prior works, resulting in significant area savings while achieving comparable accuracy. Against the state-of-the-art binarized neural network implementation, we achieve up to twice the area efficiency for several standard network models when inferencing popular datasets. We also demonstrate that even greater energy efficiency improvements are obtainable.

View on arXivView PDF

Code Implementations(1)

awai54st/LUTNetOfficial100%
BSD-2-Clause
6917C, C++Jun 17, 20196 years agoBSD-2-Clause

Similar Papers

Cite this paper

@article{wang2019lutnet,
  title  = {LUTNet: Learning FPGA Configurations for Highly Efficient Neural Network Inference},
  author = {Erwei Wang and James J. Davis and Peter Y. K. Cheung and George A. Constantinides},
  year   = {2019},
  eprint = {1910.12625},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1910.12625}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1910.12625.svg)](https://codeofpaper.com/paper/1910.12625)

Discussion