LB-CNN: An Open Source Framework for Fast Training of Light Binary Convolutional Neural Networks using Chainer and Cupy

Radu Dogaru, Ioana Dogaru
6/25/2021
cs.LGcs.CVeess.IV

Official code: radu-dogaru/LB-CNN-compact-and-fast-binary-including-very-fast-ELM (3 stars, Jupyter Notebook, MIT, last commit 2021-10-28).

Abstract

Light binary convolutional neural networks (LB-CNN) are particularly useful when implemented in low-energy computing platforms as required in many industrial applications. Herein, a framework for optimizing compact LB-CNN is introduced and its effectiveness is evaluated.

Show full abstract

The framework is freely available and may run on free-access cloud platforms, thus requiring no major investments. The optimized model is saved in the standardized .h5 format and can be used as input to specialized tools for further deployment into specific technologies, thus enabling the rapid development of various intelligent image sensors. The main ingredient in accelerating the optimization of our model, particularly the selection of binary convolution kernels, is the Chainer/Cupy machine learning library offering significant speed-ups for training the output layer as an extreme-learning machine. Additional training of the output layer using Keras/Tensorflow is included, as it allows an increase in accuracy. Results for widely used datasets including MNIST, GTSRB, ORL, VGG show very good compromise between accuracy and complexity. Particularly, for face recognition problems a carefully optimized LB-CNN model provides up to 100% accuracies. Such TinyML solutions are well suited for industrial applications requiring image recognition with low energy consumption.

View on arXivView PDF

Code Implementations(1)

MIT

A framework to train and optimize light convolutional networks, also includes a very fast Chainer/Cupy training using extreme learning machine as output layer

30Jupyter NotebookJun 3, 20215 years agoMIT

Similar Papers

Cite this paper

@article{dogaru2021lbcnn,
  title  = {LB-CNN: An Open Source Framework for Fast Training of Light Binary Convolutional Neural Networks using Chainer and Cupy},
  author = {Radu Dogaru and Ioana Dogaru},
  year   = {2021},
  eprint = {2106.15350},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.15350}
}

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

Discussion