TinySeg: Model Optimizing Framework for Image Segmentation on Tiny Embedded Systems

Byungchul Chae, Jiae Kim, Seonyeong Heo
5/3/2024
cs.NEcs.CV

No official code found. Best implementation: coslab-kr/tinyseg (7 stars, Apache-2.0, last commit 2024-06-03).

Abstract

Image segmentation is one of the major computer vision tasks, which is applicable in a variety of domains, such as autonomous navigation of an unmanned aerial vehicle. However, image segmentation cannot easily materialize on tiny embedded systems because image segmentation models generally have high peak memory usage due to their architectural characteristics. This work finds that image segmentation models unnecessarily require large memory space with an existing tiny machine learning framework. That is, the existing framework cannot effectively manage the memory space for the image segmentation models. This work proposes TinySeg, a new model optimizing framework that enables memory-efficient image segmentation for tiny embedded systems. TinySeg analyzes the lifetimes of tensors in the target model and identifies long-living tensors. Then, TinySeg optimizes the memory usage of the target model mainly with two methods: (i) tensor spilling into local or remote storage and (ii) fused fetching of spilled tensors. This work implements TinySeg on top of the existing tiny machine learning framework and demonstrates that TinySeg can reduce the peak memory usage of an image segmentation model by 39.3% for tiny embedded systems.

View on arXivView PDF

Code Implementations(1)

coslab-kr/tinysegCommunity100%
Apache-2.0

Official implementation of the prototype TinySeg framework presented in the paper "TinySeg: Model Optimizing Framework for Image Segmentation on Tiny Embedded Systems".

71Apr 9, 20242 years agoApache-2.0

Similar Papers

Cite this paper

@article{chae2024tinyseg,
  title  = {TinySeg: Model Optimizing Framework for Image Segmentation on Tiny Embedded Systems},
  author = {Byungchul Chae and Jiae Kim and Seonyeong Heo},
  year   = {2024},
  eprint = {2405.01857},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.01857v1}
}

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

Discussion