TinyMo: Graph-Level Memory Optimizer for Tiny Machine Learning

IF 2 4区 计算机科学 Q3 COMPUTER SCIENCE, HARDWARE & ARCHITECTURE
Byungchul Chae;Seonyeong Heo
{"title":"TinyMo: Graph-Level Memory Optimizer for Tiny Machine Learning","authors":"Byungchul Chae;Seonyeong Heo","doi":"10.1109/LES.2024.3485630","DOIUrl":null,"url":null,"abstract":"Effective memory optimization is essential for tiny machine learning because tiny embedded systems generally have limited memory for model execution. Previous research has proposed various model compression methods to reduce the memory usage of machine learning models. However, the methods often entail accuracy loss resulting from altering model weights. This letter proposes a graph-level memory optimizer for tiny embedded systems, TinyMo, which optimizes the memory usage of an input model by changing the structure of the model graph. TinyMo mainly uses two optimization methods: 1) tensor spilling and 2) tensor splitting, to reduce unnecessary memory usage from long skip connections and large separable convolutions. In the evaluation, this letter shows that the proposed optimizer can successfully reduce the peak memory usage of various neural network models for commercial embedded systems with little runtime overhead.","PeriodicalId":56143,"journal":{"name":"IEEE Embedded Systems Letters","volume":"17 3","pages":"196-199"},"PeriodicalIF":2.0000,"publicationDate":"2024-10-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Embedded Systems Letters","FirstCategoryId":"94","ListUrlMain":"https://ieeexplore.ieee.org/document/10734316/","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, HARDWARE & ARCHITECTURE","Score":null,"Total":0}
引用次数: 0

Abstract

Effective memory optimization is essential for tiny machine learning because tiny embedded systems generally have limited memory for model execution. Previous research has proposed various model compression methods to reduce the memory usage of machine learning models. However, the methods often entail accuracy loss resulting from altering model weights. This letter proposes a graph-level memory optimizer for tiny embedded systems, TinyMo, which optimizes the memory usage of an input model by changing the structure of the model graph. TinyMo mainly uses two optimization methods: 1) tensor spilling and 2) tensor splitting, to reduce unnecessary memory usage from long skip connections and large separable convolutions. In the evaluation, this letter shows that the proposed optimizer can successfully reduce the peak memory usage of various neural network models for commercial embedded systems with little runtime overhead.
TinyMo:微型机器学习的图形级内存优化器
有效的内存优化对于微型机器学习至关重要,因为微型嵌入式系统通常只有有限的内存来执行模型。以前的研究提出了各种模型压缩方法来减少机器学习模型的内存使用。然而,这些方法往往会由于模型权重的改变而导致精度损失。这封信提出了一个用于微型嵌入式系统的图级内存优化器TinyMo,它通过改变模型图的结构来优化输入模型的内存使用。TinyMo主要使用两种优化方法:1)张量溢出和2)张量分裂,以减少长跳跃连接和大可分离卷积的不必要内存使用。在评估中,这封信表明,所提出的优化器可以成功地降低商业嵌入式系统中各种神经网络模型的峰值内存使用,并且运行时开销很小。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
IEEE Embedded Systems Letters
IEEE Embedded Systems Letters Engineering-Control and Systems Engineering
CiteScore
3.30
自引率
0.00%
发文量
65
期刊介绍: The IEEE Embedded Systems Letters (ESL), provides a forum for rapid dissemination of latest technical advances in embedded systems and related areas in embedded software. The emphasis is on models, methods, and tools that ensure secure, correct, efficient and robust design of embedded systems and their applications.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信