RAMS: Runtime Adaptive Memory Scaling for Tiny Deep Learning on IoT Devices
Haolin Chu, Haiteng Xin, Xiaolong Zheng, Liang Liu, Huadong Ma
Beijing University of Posts and Telecommunications
Key points
From the paper's conclusion- We also propose a cache-friendly memory management approach that minimizes cache miss times.
Abstract
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 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%.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Memory Efficiency and Scalability Trade-Offs Between Bare-Metal and FreeRTOS on Arm Cortex-M Microcontrollers for IoT and TinyML Applications: A Systematic Literature ReviewElectronics · 2026
- Energy Measurement and Optimization of TinyML in Resource-Constrained Embedded Systems: A Systematic Mapping StudyarXiv · 2026
- Tiny Transformers for TinyML: A Systematic Review of Deployment Readiness, Trustworthiness, and BenchmarkingFuture Internet · 2026
- Deployment-Oriented Evaluation of Lightweight IMU-Based Human Activity Recognition: On-Device Efficiency and Streaming Feasibility.Sensors (Basel, Switzerland) · 2026
- OMNIS+: Semantic RAN Slicing and Quantization for Dynamic Split Neural NetworksarXiv · 2026
- Integration of TinyML and LargeML: A Survey of 6G and BeyondIEEE Internet of Things Journal · 2026