LightLayers: Parameter Efficient Dense and Convolutional Layers for Image Classification

Debesh Jha, Anis Yazidi, Michael A. Riegler, Dag Johansen, Håvard D. Johansen +1 more
1/6/2021
cs.CV

Official code: DebeshJha/LightLayers (6 stars, Python, TensorFlow, last commit 2023-10-18).

Abstract

Deep Neural Networks (DNNs) have become the de-facto standard in computer vision, as well as in many other pattern recognition tasks. A key drawback of DNNs is that the training phase can be very computationally expensive.

Show full abstract

Organizations or individuals that cannot afford purchasing state-of-the-art hardware or tapping into cloud-hosted infrastructures may face a long waiting time before the training completes or might not be able to train a model at all. Investigating novel ways to reduce the training time could be a potential solution to alleviate this drawback, and thus enabling more rapid development of new algorithms and models. In this paper, we propose LightLayers, a method for reducing the number of trainable parameters in deep neural networks (DNN). The proposed LightLayers consists of LightDense andLightConv2D layer that are as efficient as regular Conv2D and Dense layers, but uses less parameters. We resort to Matrix Factorization to reduce the complexity of the DNN models resulting into lightweight DNNmodels that require less computational power, without much loss in the accuracy. We have tested LightLayers on MNIST, Fashion MNIST, CI-FAR 10, and CIFAR 100 datasets. Promising results are obtained for MNIST, Fashion MNIST, CIFAR-10 datasets whereas CIFAR 100 shows acceptable performance by using fewer parameters.

View on arXivView PDF

Code Implementations(1)

TensorFlow

LightLayers: Parameter Efficient Dense and convolutional Layers for Image Classification (PDCAT-PAAP)

62PythonMay 29, 20203 years ago
cnn-classificationdnn-modelsfashion-mnistimage-classificationlightweight+3 more

Similar Papers

Cite this paper

@article{jha2021lightlayers,
  title  = {LightLayers: Parameter Efficient Dense and Convolutional Layers for Image Classification},
  author = {Debesh Jha and Anis Yazidi and Michael A. Riegler and Dag Johansen and Håvard D. Johansen and Pål Halvorsen},
  year   = {2021},
  eprint = {2101.02268},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2101.02268}
}

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

Discussion