arrow
Return

RAMS: Runtime Adaptive Memory Scaling for Tiny Deep Learning on IoT Devices

delete2026-01-12
delete0
PRE
AI
H
Haolin Chu
H
Haiteng Xin
X
Xiaolong Zheng
L
Liang Liu
H
Huadóng Ma
DOI:10.1109/TMC.2026.3651722delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Deploying Tiny Deep Learning (TinyDL) on Internet of Things (IoT) devices is gaining popularity. To accommodate the limited memory, recent methods split tensors into fine-grained parts and plan memory offline to minimize its footprint. However, they fail to adapt to dynamic memory, missing the opportunity to utilize temporarily available memory for faster inference. Additionally, existing approaches focus solely on minimizing memory size while neglecting cache usage characteristics, resulting in frequent cache misses and increased latency. In this paper, we propose RAMS, an efficient framework supporting runtime adaptive memory scaling to fully utilize the dynamic memory. We design a size-controllable tensor generation method, thereby enabling memory scaling at runtime. We also propose a cache-friendly memory management approach that minimizes cache miss times. RAMS includes an offline planner to minimize the memory footprint essential for inference and an online manager to determine memory sizes and generate layouts for size-controllable tensors based on available memory. RAMS significantly reduces inference latency while maintaining a compact memory footprint. Extensive experiments on commercial devices running RTOS and Android systems demonstrate that, compared to the state-of-the-art methods, RAMS can efficiently reduce latency by up to 1.57× and 1.48× compared to TFLM and TinyTS, respectively using a comparable memory footprint, while reducing power consumption by 67.74% and 15.97%.
Keywords:
TinyDL
inference acceleration
memory adaptation
runtime scheduling

Journal

IEEE Transactions on Mobile Computing cover
IEEE Transactions on Mobile Computing
IF:
9.2
Papers:
5.9K
Citations:
1.8W

Organization

B
beijing university of posts and telecommunications
Scholars:
2.3K
Papers: 861
Citations: 0
Cited Papers

Cited Papers

CoDL
err2022-06-27
err0
PREAI
errFucheng Jia; Deyu Zhang; Ting Cao; Shiqi Jiang; Yunxin Liu; Ju Ren; Yaoxue Zhang
errShare
errSave
errShare
errSave
A comprehensive survey on model compression and acceleration
err2020-02-08
err260
PREAI
errChoudhary, Tejalal; Mishra, Vipul; Goswami, Anurag; Sarangapani, Jagannathan
errShare
errSave
Every pixel counts: Fine-grained UI rendering analysis for mobile applications
err2017-05-01
err0
PREAI
errYi Gao; Yang Luo; Daqing Chen; Haocheng Huang; Wei Dong; Mingyuan Xia; Xue Liu; Jiajun Bu
errShare
errSave
researcher View more