计算机科学
参数化复杂度
马尔可夫决策过程
块(置换群论)
离散化
可扩展性
强化学习
块链
算法
数学优化
分布式计算
并行计算
马尔可夫过程
人工智能
数学
数学分析
统计
几何学
计算机安全
数据库
作者
Chuyi Liu,Jianxiong Wan,Leixiao Li,Bingbing Yao
出处
期刊:Electronics
[Multidisciplinary Digital Publishing Institute]
日期:2023-12-06
卷期号:12 (24): 4915-4915
被引量:9
标识
DOI:10.3390/electronics12244915
摘要
Sharding technology, which divides a network into multiple disjoint groups so that transactions can be processed in parallel, is applied to blockchain systems as a promising solution to improve Transactions Per Second (TPS). This paper considers the Optimal Blockchain Sharding (OBCS) problem as a Markov Decision Process (MDP) where the decision variables are the number of shards, block size and block interval. Previous works solved the OBCS problem via Deep Reinforcement Learning (DRL)-based methods, where the action space must be discretized to increase processability. However, the discretization degrades the quality of the solution since the optimal solution usually lies between discrete values. In this paper, we treat the block size and block interval as continuous decision variables and provide dynamic sharding strategies based on them. The Branching Dueling Q-Network Blockchain Sharding (BDQBS) algorithm is designed for discrete action spaces. Compared with traditional DRL algorithms, the BDQBS overcomes the drawbacks of high action space dimensions and difficulty in training neural networks. And it improves the performance of the blockchain system by 1.25 times. We also propose a sharding control algorithm based on the Parameterized Deep Q-Networks (P-DQN) algorithm, i.e., the Parameterized Deep Q-Networks Blockchain Sharding (P-DQNBS) algorithm, to efficiently handle the discrete–continuous hybrid action space without the scalability issues. Also, the method can effectively improve the TPS by up to 28%.
科研通智能强力驱动
Strongly Powered by AbleSci AI