Juncheng Ma;Xiulong Liu;Hao Xu;Dengcheng Hu;Gaowei Shi;Liyuan Ma;Keqiu Li
{"title":"hyachain:一种用于物联网分片负载均衡的协同MAPPO架构[j]","authors":"Juncheng Ma;Xiulong Liu;Hao Xu;Dengcheng Hu;Gaowei Shi;Liyuan Ma;Keqiu Li","doi":"10.1109/JIOT.2025.3567146","DOIUrl":null,"url":null,"abstract":"Sharding has become a significant approach to enhance blockchain scalability. However, existing sharding techniques applied in IoT scenarios suffer from transaction congestion due to imbalanced distribution of transactions across shards, which hinders intra-shard transaction processing. To overcome the above problems, this article proposes HydraChain in IoT scenarios, the first multiagent reinforcement learning based sharding blockchain system with account graph, for a throughput improvement of shards under real-time load balancing. Agents collaborate by sharing information and jointly optimizing decisions, enhancing the accuracy and efficiency of the decision-making process. We first construct a sharding blockchain environment embedding with a graph encoder. Concurrently, we propose a multiagent model with decoder, which enables agents to cooperative learning to optimize account allocation strategies based on real-time shard load and global system information. When implementing HydraChain, we address two technical challenges: 1) to extract granular behavioral features from accounts with diverse and time-varying patterns, we construct a sharding blockchain that embeds a graph encoder to build a transaction graph; and 2) to ensure real-time load balancing under the constraints of dynamic transaction patterns, we propose SG-MAPPO, which matches graph encoding features within the environment. Our approach leverages the ability of multiagent model to collaborate and adapt to the changing environment, enabling efficient resource allocation and improved system performance. Moreover, we implement HydraChain and conduct experiments on a high-performance server equipped with 48 cores and 125 GB of memory. Our comprehensive experiments, comparing HydraChain with DQN-Based, SAC-Based and SPRING, reveal that our solution outperforms the state-of-the-art methods by achieving a notable 22% increase in transaction throughput and a 5.2% reduction in workload imbalance across shards.","PeriodicalId":54347,"journal":{"name":"IEEE Internet of Things Journal","volume":"12 15","pages":"29397-29410"},"PeriodicalIF":8.9000,"publicationDate":"2025-03-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"HydraChain: A Cooperative MAPPO Architecture for Load Balancing in IoT Sharding Blockchain\",\"authors\":\"Juncheng Ma;Xiulong Liu;Hao Xu;Dengcheng Hu;Gaowei Shi;Liyuan Ma;Keqiu Li\",\"doi\":\"10.1109/JIOT.2025.3567146\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Sharding has become a significant approach to enhance blockchain scalability. However, existing sharding techniques applied in IoT scenarios suffer from transaction congestion due to imbalanced distribution of transactions across shards, which hinders intra-shard transaction processing. To overcome the above problems, this article proposes HydraChain in IoT scenarios, the first multiagent reinforcement learning based sharding blockchain system with account graph, for a throughput improvement of shards under real-time load balancing. Agents collaborate by sharing information and jointly optimizing decisions, enhancing the accuracy and efficiency of the decision-making process. We first construct a sharding blockchain environment embedding with a graph encoder. Concurrently, we propose a multiagent model with decoder, which enables agents to cooperative learning to optimize account allocation strategies based on real-time shard load and global system information. When implementing HydraChain, we address two technical challenges: 1) to extract granular behavioral features from accounts with diverse and time-varying patterns, we construct a sharding blockchain that embeds a graph encoder to build a transaction graph; and 2) to ensure real-time load balancing under the constraints of dynamic transaction patterns, we propose SG-MAPPO, which matches graph encoding features within the environment. Our approach leverages the ability of multiagent model to collaborate and adapt to the changing environment, enabling efficient resource allocation and improved system performance. Moreover, we implement HydraChain and conduct experiments on a high-performance server equipped with 48 cores and 125 GB of memory. Our comprehensive experiments, comparing HydraChain with DQN-Based, SAC-Based and SPRING, reveal that our solution outperforms the state-of-the-art methods by achieving a notable 22% increase in transaction throughput and a 5.2% reduction in workload imbalance across shards.\",\"PeriodicalId\":54347,\"journal\":{\"name\":\"IEEE Internet of Things Journal\",\"volume\":\"12 15\",\"pages\":\"29397-29410\"},\"PeriodicalIF\":8.9000,\"publicationDate\":\"2025-03-05\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"IEEE Internet of Things Journal\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://ieeexplore.ieee.org/document/10988622/\",\"RegionNum\":1,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"COMPUTER SCIENCE, INFORMATION SYSTEMS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Internet of Things Journal","FirstCategoryId":"94","ListUrlMain":"https://ieeexplore.ieee.org/document/10988622/","RegionNum":1,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INFORMATION SYSTEMS","Score":null,"Total":0}
HydraChain: A Cooperative MAPPO Architecture for Load Balancing in IoT Sharding Blockchain
Sharding has become a significant approach to enhance blockchain scalability. However, existing sharding techniques applied in IoT scenarios suffer from transaction congestion due to imbalanced distribution of transactions across shards, which hinders intra-shard transaction processing. To overcome the above problems, this article proposes HydraChain in IoT scenarios, the first multiagent reinforcement learning based sharding blockchain system with account graph, for a throughput improvement of shards under real-time load balancing. Agents collaborate by sharing information and jointly optimizing decisions, enhancing the accuracy and efficiency of the decision-making process. We first construct a sharding blockchain environment embedding with a graph encoder. Concurrently, we propose a multiagent model with decoder, which enables agents to cooperative learning to optimize account allocation strategies based on real-time shard load and global system information. When implementing HydraChain, we address two technical challenges: 1) to extract granular behavioral features from accounts with diverse and time-varying patterns, we construct a sharding blockchain that embeds a graph encoder to build a transaction graph; and 2) to ensure real-time load balancing under the constraints of dynamic transaction patterns, we propose SG-MAPPO, which matches graph encoding features within the environment. Our approach leverages the ability of multiagent model to collaborate and adapt to the changing environment, enabling efficient resource allocation and improved system performance. Moreover, we implement HydraChain and conduct experiments on a high-performance server equipped with 48 cores and 125 GB of memory. Our comprehensive experiments, comparing HydraChain with DQN-Based, SAC-Based and SPRING, reveal that our solution outperforms the state-of-the-art methods by achieving a notable 22% increase in transaction throughput and a 5.2% reduction in workload imbalance across shards.
期刊介绍:
The EEE Internet of Things (IoT) Journal publishes articles and review articles covering various aspects of IoT, including IoT system architecture, IoT enabling technologies, IoT communication and networking protocols such as network coding, and IoT services and applications. Topics encompass IoT's impacts on sensor technologies, big data management, and future internet design for applications like smart cities and smart homes. Fields of interest include IoT architecture such as things-centric, data-centric, service-oriented IoT architecture; IoT enabling technologies and systematic integration such as sensor technologies, big sensor data management, and future Internet design for IoT; IoT services, applications, and test-beds such as IoT service middleware, IoT application programming interface (API), IoT application design, and IoT trials/experiments; IoT standardization activities and technology development in different standard development organizations (SDO) such as IEEE, IETF, ITU, 3GPP, ETSI, etc.