• Home
  • Search
  • Arithmetic Coding-Based 5-Bit Weight Encoding and Hardware Decoder for CNN Inference in Edge Devices
  • Cite Icon7
  • https://doi.org/10.1109/access.2021.3136888Copy DOI Icon

Arithmetic Coding-Based 5-Bit Weight Encoding and Hardware Decoder for CNN Inference in Edge Devices

Show More
  • Abstract
  • Highlights & Summary
  • PDF
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Convolutional neural networks (CNNs) have gained a huge attention for real-world artificial intelligence (AI) applications such as image classification and object detection. On the other hand, for better accuracy, the size of the CNNs’ parameters (weights) has been increasing, which in turn makes it difficult to enable on-device CNN inferences in resource-constrained edge devices. Though weight pruning and 5-bit quantization methods have shown promising results, it is still challenging to deploy large CNN models in edge devices. In this paper, we propose an encoding and hardware-based decoding technique which can be applied to 5-bit quantized weight data for on-device CNN inferences in resource-constrained edge devices. Given 5-bit quantized weight data, we employ arithmetic coding with range scaling for lossless weight compression, which is performed offline. When executing on-device inferences with underlying CNN accelerators, our hardware decoder enables a fast in-situ weight decompression with small latency overhead. According to our evaluation results with five widely used CNN models, our arithmetic coding-based encoding method applied to 5-bit quantized weights shows a better compression ratio by 9.6× while also reducing the memory data transfer energy consumption by 89.2%, on average, as compared to the case of uncompressed 32-bit floating-point weights. When applying our technique to pruned weights, we obtain better compression ratios by 57.5×–112.2× while reducing energy consumption by 98.3%–99.1% as compared to the case of 32-bit floating-point weights. In addition, by pipelining the weight decoding and transfer with the CNN execution, the latency overhead of our weight decoding with 16 decoding unit (DU) hardware is only 0.16%–5.48% and 0.16%–0.91% for non-pruned and pruned weights, respectively. Moreover, our proposed technique with 4-DU decoder hardware reduces system-level energy consumption by 1.1%–9.3%.

Loading PDF

Similar Papers
  • Conference Article
  • Citations6

TinyHAR: Benchmarking Human Activity Recognition Systems in Resource Constrained Devices

  • Oct 26, 2022
  • Sheikh Nooruddin +2
  • Research Article
  • Citations39

Automated Exploration and Implementation of Distributed CNN Inference at the Edge

  • Apr 01, 2023
  • IEEE Internet of Things Journal
  • Xiaotian Guo +2
  • Dissertation
  • Citations1

FPGA acceleration of continual learning at the edge

  • Jan 01, 2021
  • Gane Pathirannahelage Duvindu Piyasena
  • Research Article
  • Citations10

Compressed lightweight deep learning models for resource‐constrained Internet of things devices in the healthcare sector

  • Mar 14, 2023
  • Expert Systems
  • Gousia Habib +1
  • Conference Article
  • Citations90

Morph: Flexible Acceleration for 3D CNN-Based Video Understanding

  • Oct 01, 2018
  • Kartik Hegde +3
  • PDF
  • Research Article
  • Citations19

Fast Convolutional Neural Networks in Low Density FPGAs Using Zero-Skipping and Weight Pruning

  • Nov 09, 2019
  • Electronics
  • Mário P Véstias +3
  • PDF
  • Research Article
  • Citations16

The Real-Time Mobile Application for Classifying of Endangered Parrot Species Using the CNN Models Based on Transfer Learning

  • Mar 09, 2020
  • Mobile Information Systems
  • Daegyu Choe +2
  • Conference Article
  • Citations5

Comparing Optimization Methods of Neural Networks for Real-time Inference

  • Sep 01, 2019
  • Mir Khan +3
  • Research Article
  • Citations43

Evaluation of CNN model by comparing with convolutional autoencoder and deep neural network for crop classification on hyperspectral imagery

  • Mar 18, 2020
  • Geocarto International
  • Kavita Bhosle +1
  • Research Article
  • Citations140

Understanding the learning mechanism of convolutional neural networks in spectral analysis

  • Apr 08, 2020
  • Analytica Chimica Acta
  • Xiaolei Zhang +8
  • PDF
  • Research Article
  • Citations5

Identification of Epileptogenic and Non-epileptogenic High-Frequency Oscillations Using a Multi-Feature Convolutional Neural Network Model.

  • Oct 15, 2021
  • Frontiers in Neurology
  • Guoping Ren +10
  • PDF
  • Research Article
  • Citations18

TinyML Olive Fruit Variety Classification by Means of Convolutional Neural Networks on IoT Edge Devices

  • Dec 01, 2023
  • AgriEngineering
  • Ali M Hayajneh +3
  • Conference Article
  • Citations3

Evaluation of visualization performance of CNN models using driver model

  • Jan 11, 2021
  • Chenkai Zhang +2
  • Research Article
  • Citations26

Ensemble genetic and CNN model-based image classification by enhancing hyperparameter tuning

  • Jan 06, 2025
  • Scientific Reports
  • Wajahat Hussain +7
  • Research Article
  • Citations4

FMSNet: A Multi-Stream CNN for Multi-Stereo Image Classification by Feature Map Sharing

  • Jan 01, 2024
  • IEEE Access
  • Ferit Can +1
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.