English

FINN: A Framework for Fast, Scalable Binarized Neural Network Inference

Computer Vision and Pattern Recognition 2016-12-22 v1 Hardware Architecture Machine Learning

Abstract

Research has shown that convolutional neural networks contain significant redundancy, and high classification accuracy can be obtained even when weights and activations are reduced from floating point to binary values. In this paper, we present FINN, a framework for building fast and flexible FPGA accelerators using a flexible heterogeneous streaming architecture. By utilizing a novel set of optimizations that enable efficient mapping of binarized neural networks to hardware, we implement fully connected, convolutional and pooling layers, with per-layer compute resources being tailored to user-provided throughput requirements. On a ZC706 embedded FPGA platform drawing less than 25 W total system power, we demonstrate up to 12.3 million image classifications per second with 0.31 {\mu}s latency on the MNIST dataset with 95.8% accuracy, and 21906 image classifications per second with 283 {\mu}s latency on the CIFAR-10 and SVHN datasets with respectively 80.1% and 94.9% accuracy. To the best of our knowledge, ours are the fastest classification rates reported to date on these benchmarks.

Keywords

Cite

@article{arxiv.1612.07119,
  title  = {FINN: A Framework for Fast, Scalable Binarized Neural Network Inference},
  author = {Yaman Umuroglu and Nicholas J. Fraser and Giulio Gambardella and Michaela Blott and Philip Leong and Magnus Jahre and Kees Vissers},
  journal= {arXiv preprint arXiv:1612.07119},
  year   = {2016}
}

Comments

To appear in the 25th International Symposium on Field-Programmable Gate Arrays, February 2017

R2 v1 2026-06-22T17:30:47.423Z