Saved in:
Bibliographic Details
Main Authors: Gong, Taesik, Kawsar, Fahim, Min, Chulhong
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2412.06566
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912149462319104
author Gong, Taesik
Kawsar, Fahim
Min, Chulhong
author_facet Gong, Taesik
Kawsar, Fahim
Min, Chulhong
contents Tiny machine learning (TinyML) aims to run ML models on small devices and is increasingly favored for its enhanced privacy, reduced latency, and low cost. Recently, the advent of tiny AI accelerators has revolutionized the TinyML field by significantly enhancing hardware processing power. These accelerators, equipped with multiple parallel processors and dedicated per-processor memory instances, offer substantial performance improvements over traditional microcontroller units (MCUs). However, their limited data memory often necessitates downsampling input images, resulting in accuracy degradation. To address this challenge, we propose Data channel EXtension (DEX), a novel approach for efficient CNN execution on tiny AI accelerators. DEX incorporates additional spatial information from original images into input images through patch-wise even sampling and channel-wise stacking, effectively extending data across input channels. By leveraging underutilized processors and data memory for channel extension, DEX facilitates parallel execution without increasing inference latency. Our evaluation with four models and four datasets on tiny AI accelerators demonstrates that this simple idea improves accuracy on average by 3.5%p while keeping the inference latency the same on the AI accelerator. The source code is available at https://github.com/Nokia-Bell-Labs/data-channel-extension.
format Preprint
id arxiv_https___arxiv_org_abs_2412_06566
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle DEX: Data Channel Extension for Efficient CNN Inference on Tiny AI Accelerators
Gong, Taesik
Kawsar, Fahim
Min, Chulhong
Machine Learning
Tiny machine learning (TinyML) aims to run ML models on small devices and is increasingly favored for its enhanced privacy, reduced latency, and low cost. Recently, the advent of tiny AI accelerators has revolutionized the TinyML field by significantly enhancing hardware processing power. These accelerators, equipped with multiple parallel processors and dedicated per-processor memory instances, offer substantial performance improvements over traditional microcontroller units (MCUs). However, their limited data memory often necessitates downsampling input images, resulting in accuracy degradation. To address this challenge, we propose Data channel EXtension (DEX), a novel approach for efficient CNN execution on tiny AI accelerators. DEX incorporates additional spatial information from original images into input images through patch-wise even sampling and channel-wise stacking, effectively extending data across input channels. By leveraging underutilized processors and data memory for channel extension, DEX facilitates parallel execution without increasing inference latency. Our evaluation with four models and four datasets on tiny AI accelerators demonstrates that this simple idea improves accuracy on average by 3.5%p while keeping the inference latency the same on the AI accelerator. The source code is available at https://github.com/Nokia-Bell-Labs/data-channel-extension.
title DEX: Data Channel Extension for Efficient CNN Inference on Tiny AI Accelerators
topic Machine Learning
url https://arxiv.org/abs/2412.06566