Ning Ma , Angjun Tang , Zifeng Xiong , Fuxin Jiang
{"title":"A deep multi-agent reinforcement learning approach for the micro-service migration problem with affinity in the cloud","authors":"Ning Ma , Angjun Tang , Zifeng Xiong , Fuxin Jiang","doi":"10.1016/j.eswa.2025.126856","DOIUrl":null,"url":null,"abstract":"<div><div>This paper focuses on the micro-service migration problem with affinity, stemming from the cloud computing industry. Because of periodically creating and deleting micro-services to satisfy users’ demands, the deployment of micro-services in the cloud needs to be regularly adjusted, which is referred to as a micro-service migration. An optimal migration schedule should minimize the number of activated physical machines as well as maximize total internal invoking traffic (affinity). A cooperative multi-agent reinforcement learning (MARL) is proposed, which is enhanced by integrating Hindsight Reward Shaping and by fine-tuning the state encoder using a pre-trained ResNet model. The proposed MARL is validated on both synthetic datasets and real cloud traces of ByteDance and Alibaba, compared with four baseline algorithms: Migration Ant Colony Optimization, Migration Neighborhood Search, Single-Agent Reinforcement Learning, and the optimization solver CPLEX. Finally, an evaluation mechanism called Matching Score is proposed to explain the superior performance of MARL.</div></div>","PeriodicalId":50461,"journal":{"name":"Expert Systems with Applications","volume":"273 ","pages":"Article 126856"},"PeriodicalIF":7.5000,"publicationDate":"2025-02-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Expert Systems with Applications","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0957417425004786","RegionNum":1,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0
Abstract
This paper focuses on the micro-service migration problem with affinity, stemming from the cloud computing industry. Because of periodically creating and deleting micro-services to satisfy users’ demands, the deployment of micro-services in the cloud needs to be regularly adjusted, which is referred to as a micro-service migration. An optimal migration schedule should minimize the number of activated physical machines as well as maximize total internal invoking traffic (affinity). A cooperative multi-agent reinforcement learning (MARL) is proposed, which is enhanced by integrating Hindsight Reward Shaping and by fine-tuning the state encoder using a pre-trained ResNet model. The proposed MARL is validated on both synthetic datasets and real cloud traces of ByteDance and Alibaba, compared with four baseline algorithms: Migration Ant Colony Optimization, Migration Neighborhood Search, Single-Agent Reinforcement Learning, and the optimization solver CPLEX. Finally, an evaluation mechanism called Matching Score is proposed to explain the superior performance of MARL.
期刊介绍:
Expert Systems With Applications is an international journal dedicated to the exchange of information on expert and intelligent systems used globally in industry, government, and universities. The journal emphasizes original papers covering the design, development, testing, implementation, and management of these systems, offering practical guidelines. It spans various sectors such as finance, engineering, marketing, law, project management, information management, medicine, and more. The journal also welcomes papers on multi-agent systems, knowledge management, neural networks, knowledge discovery, data mining, and other related areas, excluding applications to military/defense systems.