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 capacity. To overcome the above problems, this paper proposes HydraChain for IoT scenarios, the first multi-agent reinforcement learning based sharding blockchain system with account graph relationships, for a throughput improvement of shards under realtime 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 integrated with an embedded graph encoder. Concurrently, we propose a SG-MAPPO multiagent model with decoder, which enables agents to cooperatively learn to optimize account allocation strategies based on real-time shard load and global system information. When implementing HydraChain, we address two technical challenges: (i) to extract granular behavioral features from accounts with diverse and time-varying patterns, we design a graph data encoder, which constructs a graph network based on transactional relationship; and (ii) to ensure real-time load balancing under the constraints of dynamic transaction patterns, we propose a multi-agent model (SG-MAPPO), which matches graph encoding features within the environment. Our approach leverages the ability of multi-agent 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 125GB of memory. Our comprehensive experiments, comparing HydraChain with DQN-Based, SAC-Based and SPRING, reveal that our solution outperforms state-of-theart solutions by achieving a notable 22% increase in transaction throughput and a 5.2% reduction in workload imbalance across shards.

Authors

Institutions

Publication Details

Journal
IEEE Internet of Things Journal
Published
2025-05-05
DOI
https://doi.org/10.1109/jiot.2025.3567146
Citations
1
Primary Topic
Blockchain Technology Applications and Security
Type
article
Field-Weighted Citation Impact
3.25
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

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

Xiulong Liu, Keqiu Li, Juncheng Ma, Dengcheng Hu et al.
1 citations
IEEE Internet of Things Journal
Blockchain Technology Applications and Security
3.25
article

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

Xiulong Liu, Keqiu Li, Juncheng Ma, Dengcheng Hu, Hao Xu, Liyuan Ma, Gaowei Shi
article en
1 citations

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 capacity. To overcome the above problems, this paper proposes HydraChain for IoT scenarios, the first multi-agent reinforcement learning based sharding blockchain system with account graph relationships, for a throughput improvement of shards under realtime 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 integrated with an embedded graph encoder. Concurrently, we propose a SG-MAPPO multiagent model with decoder, which enables agents to cooperatively learn to optimize account allocation strategies based on real-time shard load and global system information. When implementing HydraChain, we address two technical challenges: (i) to extract granular behavioral features from accounts with diverse and time-varying patterns, we design a graph data encoder, which constructs a graph network based on transactional relationship; and (ii) to ensure real-time load balancing under the constraints of dynamic transaction patterns, we propose a multi-agent model (SG-MAPPO), which matches graph encoding features within the environment. Our approach leverages the ability of multi-agent 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 125GB of memory. Our comprehensive experiments, comparing HydraChain with DQN-Based, SAC-Based and SPRING, reveal that our solution outperforms state-of-theart solutions by achieving a notable 22% increase in transaction throughput and a 5.2% reduction in workload imbalance across shards.

IEEE Internet of Things JournalVol. 12(15)
Tianjin University (CN)
Industry, innovation and infrastructure
Openalex Percentile: Top 9%
Blockchain Technology Applications and Security
3.25
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.