DeepTM: Efficient Tensor Management in Heterogeneous Memory for DNN Training

计算机科学 培训(气象学) 内存管理 张量(固有定义) 人工智能 并行计算 操作系统 覆盖 数学 物理 气象学 纯数学
作者
Haoran Zhou,Wei Rang,Hongyang Chen,Xiaobo Zhou,Dazhao Cheng
出处
期刊:IEEE Transactions on Parallel and Distributed Systems [Institute of Electrical and Electronics Engineers]
卷期号:35 (11): 1920-1935
标识
DOI:10.1109/tpds.2024.3431910
摘要

Deep Neural Networks (DNNs) have gained widespread adoption in diverse fields, including image classification, object detection, and natural language processing. However, training large-scale DNN models often encounters significant memory bottlenecks, which ask for efficient management of extensive tensors. Heterogeneous memory system, which combines persistent memory (PM) modules with traditional DRAM, offers an economically viable solution to address tensor management challenges during DNN training. However, existing memory management methods on heterogeneous memory systems often lead to low PM access efficiency, low bandwidth utilization, and incomplete analysis of model characteristics. To overcome these hurdles, we introduce an efficient tensor management approach, DeepTM, tailored for heterogeneous memory to alleviate memory bottlenecks during DNN training. DeepTM employs page-level tensor aggregation to enhance PM read and write performance and executes contiguous page migration to increase memory bandwidth. Through an analysis of tensor access patterns and model characteristics, we quantify the overall performance and transform the performance optimization problem into the framework of Integer Linear Programming. Additionally, we achieve tensor heat recognition by dynamically adjusting the weights of four key tensor characteristics and develop a global optimization strategy using Deep Reinforcement Learning. To validate the efficacy of our approach, we implement and evaluate DeepTM, utilizing the TensorFlow framework running on a PM-based heterogeneous memory system. The experimental results demonstrate that DeepTM achieves performance improvements of up to 36% and 49% compared to the current state-of-the-art memory management strategies AutoTM and Sentinel, respectively. Furthermore, our solution reduces the overhead by 18 times and achieves up to 29% cost reduction compared to AutoTM.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
PDF的下载单位、IP信息已删除 (2025-6-4)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
1秒前
3秒前
3秒前
聪慧的怀绿完成签到,获得积分10
4秒前
4秒前
英姑应助逢流采纳,获得10
5秒前
活力思枫完成签到,获得积分10
5秒前
张甜完成签到,获得积分10
6秒前
towanda发布了新的文献求助10
6秒前
7秒前
CAOHOU应助Cici采纳,获得10
7秒前
Rondab应助Cici采纳,获得10
7秒前
大个应助Cici采纳,获得10
7秒前
谦让傲菡完成签到,获得积分10
8秒前
Leoling发布了新的文献求助10
9秒前
陈陈发布了新的文献求助10
11秒前
anyelengxin完成签到,获得积分20
11秒前
11秒前
天天快乐应助cijing采纳,获得10
12秒前
黎小静发布了新的文献求助10
12秒前
天天快乐应助猪猪hero采纳,获得10
12秒前
可飞完成签到,获得积分10
12秒前
徐逊发布了新的文献求助10
14秒前
17818521677完成签到,获得积分10
15秒前
16秒前
乐乐应助ssx采纳,获得20
16秒前
16秒前
量子星尘发布了新的文献求助150
17秒前
UNICORN完成签到,获得积分10
17秒前
zy完成签到,获得积分10
19秒前
菠萝蜜发布了新的文献求助10
21秒前
orixero应助UNICORN采纳,获得10
21秒前
坦率的匪应助冷静的斑马采纳,获得10
22秒前
黎小静完成签到,获得积分10
22秒前
Lucas应助lily采纳,获得10
23秒前
不秃头完成签到,获得积分10
23秒前
orixero应助lily采纳,获得10
23秒前
123关闭了123文献求助
23秒前
HH完成签到,获得积分10
23秒前
24秒前
高分求助中
Picture Books with Same-sex Parented Families: Unintentional Censorship 1000
A new approach to the extrapolation of accelerated life test data 1000
ACSM’s Guidelines for Exercise Testing and Prescription, 12th edition 500
Nucleophilic substitution in azasydnone-modified dinitroanisoles 500
Indomethacinのヒトにおける経皮吸収 400
Phylogenetic study of the order Polydesmida (Myriapoda: Diplopoda) 370
基于可调谐半导体激光吸收光谱技术泄漏气体检测系统的研究 310
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 内科学 纳米技术 计算机科学 化学工程 复合材料 遗传学 基因 物理化学 催化作用 冶金 细胞生物学 免疫学
热门帖子
关注 科研通微信公众号,转发送积分 3979479
求助须知:如何正确求助?哪些是违规求助? 3523421
关于积分的说明 11217607
捐赠科研通 3260944
什么是DOI,文献DOI怎么找? 1800264
邀请新用户注册赠送积分活动 879017
科研通“疑难数据库(出版商)”最低求助积分说明 807126