A Memory Management Method for DNN Inference for Aerospace Embedded Systems

Currently, deep neural networks(DNN) are widely used in aerospace field, however, due to the embedded system in aerospace field, it is often difficult to support large-scale in-orbit inference calculation of deep neural networks due to the resource constraints in memory and power consumption. In order to effectively reduce the memory space occupied by deep neural networks during inference computation, we propose a memory management method for deep neural network inference computation by establishing a two-dimensional model of size and lifetime for memory allocation, and by fusing three strategies of time-first, size-first, and area-first in the consideration of both depth traversal and breadth traversal of the computational graph. In order to reduce the memory consumption of intermediate computation results by deep neural networks during inference computation, we determine the optimal memory reuse scheme between different intermediate computation result tensors by arranging the intermediate computation result tensors in the two-dimensional plane without overlapping. We also tested typical deep neural network algorithms based on the self-developed TIANJI NPU, and the test results show that our method has achieved a large improvement compared with the original method of TIANJI NPU software toolchain, and the maximum reduction in memory usage reaches 85.51%, and the minimum reduction is 21.31%.

Authors

Institutions

Publication Details

Published
2024-08-15
DOI
https://doi.org/10.1109/prai62207.2024.10826660
Primary Topic
Real-Time Systems Scheduling
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Memory Management Method for DNN Inference for Aerospace Embedded Systems

Zhong Ma, Shen Li, Shugang Zhang, Tianxing Wang et al.
Real-Time Systems Scheduling
article

A Memory Management Method for DNN Inference for Aerospace Embedded Systems

Zhong Ma, Shen Li, Shugang Zhang, Tianxing Wang, Feng Liang, Fei‐Yue Wang
article en

Abstract

Currently, deep neural networks(DNN) are widely used in aerospace field, however, due to the embedded system in aerospace field, it is often difficult to support large-scale in-orbit inference calculation of deep neural networks due to the resource constraints in memory and power consumption. In order to effectively reduce the memory space occupied by deep neural networks during inference computation, we propose a memory management method for deep neural network inference computation by establishing a two-dimensional model of size and lifetime for memory allocation, and by fusing three strategies of time-first, size-first, and area-first in the consideration of both depth traversal and breadth traversal of the computational graph. In order to reduce the memory consumption of intermediate computation results by deep neural networks during inference computation, we determine the optimal memory reuse scheme between different intermediate computation result tensors by arranging the intermediate computation result tensors in the two-dimensional plane without overlapping. We also tested typical deep neural network algorithms based on the self-developed TIANJI NPU, and the test results show that our method has achieved a large improvement compared with the original method of TIANJI NPU software toolchain, and the maximum reduction in memory usage reaches 85.51%, and the minimum reduction is 21.31%.

Beijing Microelectronics Technology Institute (CN), Xi'an Jiaotong University (CN)
Openalex Percentile: Top 72%
Real-Time Systems Scheduling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

A Memory Management Method for DNN Inference for Aerospace Embedded Systems — Zhong Ma, Shen Li, et al. · (2024) | TGRS Research Map | TGRS