daBNN: A Super Fast Inference Framework for Binary Neural Networks on ARM devices

Jianhao Zhang, Yingwei Pan, Ting Yao, He Zhao, Tao Mei
8/16/2019
cs.CVcs.MMeess.IV

Official code: JDAI-CV/dabnn (775 stars, C++, last commit 2019-11-12).

Abstract

It is always well believed that Binary Neural Networks (BNNs) could drastically accelerate the inference efficiency by replacing the arithmetic operations in float-valued Deep Neural Networks (DNNs) with bit-wise operations. Nevertheless, there has not been open-source implementation in support of this idea on low-end ARM devices (e.g., mobile phones and embedded devices).

Show full abstract

In this work, we propose daBNN --- a super fast inference framework that implements BNNs on ARM devices. Several speed-up and memory refinement strategies for bit-packing, binarized convolution, and memory layout are uniquely devised to enhance inference efficiency. Compared to the recent open-source BNN inference framework, BMXNet, our daBNN is $7\times$$\sim$$23\times$ faster on a single binary convolution, and about $6\times$ faster on Bi-Real Net 18 (a BNN variant of ResNet-18). The daBNN is a BSD-licensed inference framework, and its source code, sample projects and pre-trained models are available on-line: https://github.com/JDAI-CV/dabnn.

View on arXivView PDF

Code Implementations(1)

JDAI-CV/dabnnOfficial100%

dabnn is an accelerated binary neural networks inference framework for mobile platform

775100C++, CMay 2, 20197 years agoNOASSERTION

Similar Papers

Cite this paper

@article{zhang2019dabnn,
  title  = {daBNN: A Super Fast Inference Framework for Binary Neural Networks on ARM devices},
  author = {Jianhao Zhang and Yingwei Pan and Ting Yao and He Zhao and Tao Mei},
  year   = {2019},
  eprint = {1908.05858},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1908.05858}
}

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/1908.05858.svg)](https://codeofpaper.com/paper/1908.05858)

Discussion