HydraChain: A Cooperative MAPPO Architecture for Load Balancing in IoT Sharding Blockchain

IF 8.9 1区 计算机科学 Q1 COMPUTER SCIENCE, INFORMATION SYSTEMS
Juncheng Ma;Xiulong Liu;Hao Xu;Dengcheng Hu;Gaowei Shi;Liyuan Ma;Keqiu Li
{"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}
引用次数: 0

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.
hyachain:一种用于物联网分片负载均衡的协同MAPPO架构[j]
分片已经成为增强区块链可伸缩性的一种重要方法。然而,物联网场景中应用的现有分片技术由于分片间事务分布不平衡而导致事务拥塞,从而阻碍了分片内事务的处理。为了克服上述问题,本文提出了物联网场景下的HydraChain,这是第一个基于多智能体强化学习的带有账户图的分片区块链系统,用于实时负载均衡下分片的吞吐量提升。agent通过共享信息、共同优化决策进行协作,提高决策过程的准确性和效率。我们首先构建了一个嵌入图形编码器的分片区块链环境。同时,我们提出了一种带有解码器的多智能体模型,使智能体能够基于实时分片负载和全局系统信息进行合作学习,优化账户分配策略。在实现HydraChain时,我们解决了两个技术挑战:1)为了从具有多样化和时变模式的账户中提取粒度行为特征,我们构建了一个分片区块链,该区块链嵌入了一个图形编码器来构建交易图;2)为了保证动态事务模式约束下的实时负载均衡,我们提出了匹配环境内图形编码特征的SG-MAPPO算法。我们的方法利用多智能体模型协作和适应不断变化的环境的能力,实现有效的资源分配和改进的系统性能。此外,我们在一台配备48核、125 GB内存的高性能服务器上实现了HydraChain并进行了实验。我们的综合实验将HydraChain与基于dqn、基于sac和SPRING进行了比较,结果表明,我们的解决方案优于最先进的方法,交易吞吐量显著提高22%,分片间工作负载不平衡减少5.2%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
IEEE Internet of Things Journal
IEEE Internet of Things Journal Computer Science-Information Systems
CiteScore
17.60
自引率
13.20%
发文量
1982
期刊介绍: 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.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信