CBin-NN: An Inference Engine for Binarized Neural Networks

22Citations
Citations of this article
8Readers
Mendeley users who have this article in their library.

Abstract

Binarization is an extreme quantization technique that is attracting research in the Internet of Things (IoT) field, as it radically reduces the memory footprint of deep neural networks without a correspondingly significant accuracy drop. To support the effective deployment of Binarized Neural Networks (BNNs), we propose CBin-NN, a library of layer operators that allows the building of simple yet flexible convolutional neural networks (CNNs) with binary weights and activations. CBin-NN is platform-independent and is thus portable to virtually any software-programmable device. Experimental analysis on the CIFAR-10 dataset shows that our library, compared to a set of state-of-the-art inference engines, speeds up inference by 3.6 times and reduces the memory required to store model weights and activations by 7.5 times and 28 times, respectively, at the cost of slightly lower accuracy (2.5%). An ablation study stresses the importance of a Quantized Input Quantized Kernel Convolution layer to improve accuracy and reduce latency at the cost of a slight increase in model size.

Cite

CITATION STYLE

APA

Sakr, F., Berta, R., Doyle, J., Capello, A., Dabbous, A., Lazzaroni, L., & Bellotti, F. (2024). CBin-NN: An Inference Engine for Binarized Neural Networks. Electronics (Switzerland), 13(9). https://doi.org/10.3390/electronics13091624

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free