MemOpt: a memory optimization method for deep learning model training based on dual intelligent reinforcement learning

Abstract In recent years, with the rapid growth in the scale of datasets and neural network models, there has been a significant imbalance between the memory requirements during model training and the memory resources available on training devices. Existing memory optimization techniques like recomputation, memory swapping, and their adaptive combinations do not fully consider the structural information of the model and overlook the impact of application costs and timing on training efficiency. Addressing this issue, this paper proposes a memory optimization method called MemOpt, which uses dual-agent reinforcement learning to dynamically search for appropriate memory optimization strategies and execution timing based on model structure and device information. It can optimize memory without compromising accuracy while minimizing additional overhead. Experimental results show that the MemOpt method significantly increases the maximum batch size for model training by up to 8.7% and training throughput by up to 42.3% compared with baseline methods. In the future, this method may find better applications in large-scale neural networks.

Authors

Institutions

Publication Details

Journal
The Computer Journal
Published
2026-01-28
DOI
https://doi.org/10.1093/comjnl/bxag014
Primary Topic
Big Data and Digital Economy
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

MemOpt: a memory optimization method for deep learning model training based on dual intelligent reinforcement learning

Changhui Jiang, Ying Zhu, Xiaofei Lu, Chengchuang Huang et al.
The Computer Journal
Big Data and Digital Economy
article

MemOpt: a memory optimization method for deep learning model training based on dual intelligent reinforcement learning

Changhui Jiang, Ying Zhu, Xiaofei Lu, Chengchuang Huang, Yan Zeng, Jilin Zhang, Junfeng Yuan
article en

Abstract

Abstract In recent years, with the rapid growth in the scale of datasets and neural network models, there has been a significant imbalance between the memory requirements during model training and the memory resources available on training devices. Existing memory optimization techniques like recomputation, memory swapping, and their adaptive combinations do not fully consider the structural information of the model and overlook the impact of application costs and timing on training efficiency. Addressing this issue, this paper proposes a memory optimization method called MemOpt, which uses dual-agent reinforcement learning to dynamically search for appropriate memory optimization strategies and execution timing based on model structure and device information. It can optimize memory without compromising accuracy while minimizing additional overhead. Experimental results show that the MemOpt method significantly increases the maximum batch size for model training by up to 8.7% and training throughput by up to 42.3% compared with baseline methods. In the future, this method may find better applications in large-scale neural networks.

The Computer Journal
Zen-Noh (Japan) (JP), Tiandi Science & Technology (China) (CN), Hangzhou Dianzi University (CN)
Openalex Percentile: Top 71%
Big Data and Digital Economy
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.