TY - JOUR
T1 - A Distributed and Privacy-Aware High-Throughput Transaction Scheduling Approach for Scaling Blockchain
AU - Qiu, Xiaoyu
AU - Chen, Wuhui
AU - Tang, Bingxin
AU - Liang, Junyuan
AU - Dai, Hong Ning
AU - Zheng, Zibin
N1 - Funding Information:
This work was supported in part by National Key Research and Development Plan under Grant 2021YFB2700302, in part by the National Natural Science Foundation of China under Grant 62172453, in part by the Key-Area Research and Development Program of Shandong Province under Grant 2021CXGC010108, in part by the National Natural Science Foundation of Guangdong province under Grants 2022A1515010154, 6142006200403, and XM2021XT1084, in part by the Major Key Project of PCL under Grant PCL2021A06, and in part by Pearl River Talent Recruitment Program under Grant 2019QN01X130.
Publisher Copyright:
© 2022 IEEE.
PY - 2023/9/1
Y1 - 2023/9/1
N2 - Payment channel networks (PCNs) are considered as a prominent solution for scaling blockchain, where users can establish payment channels and complete transactions in an off-chain manner. However, it is non-trivial to schedule transactions in PCNs and most existing routing algorithms suffer from the following challenges: 1) one-shot optimization, 2) privacy-invasive channel probing, 3) vulnerability to DoS attacks. To address these challenges, we propose a privacy-aware transaction scheduling algorithm with defence against DoS attacks based on deep reinforcement learning (DRL), namely PTRD. Specifically, considering both the privacy preservation and long-term throughput into the optimization criteria, we formulate the transaction-scheduling problem as a Constrained Markov Decision Process. We then design PTRD, which extends off-the-shelf DRL algorithms to constrained optimization with an additional cost critic-network and an adaptive Lagrangian multiplier. Moreover, considering the distribution nature of PCNs, in which each user schedules transactions independently, we develop a distributed training framework to collect the knowledge learned by each agent so as to enhance learning effectiveness. With the customized network design and the distributed training framework, PTRD achieves a good balance between the optimization of the throughput and the minimization of privacy risks. Evaluations show that PTRD outperforms the state-of-the-art PCN routing algorithms by 2.7%–62.5% in terms of the long-term throughput while satisfying privacy constraints.
AB - Payment channel networks (PCNs) are considered as a prominent solution for scaling blockchain, where users can establish payment channels and complete transactions in an off-chain manner. However, it is non-trivial to schedule transactions in PCNs and most existing routing algorithms suffer from the following challenges: 1) one-shot optimization, 2) privacy-invasive channel probing, 3) vulnerability to DoS attacks. To address these challenges, we propose a privacy-aware transaction scheduling algorithm with defence against DoS attacks based on deep reinforcement learning (DRL), namely PTRD. Specifically, considering both the privacy preservation and long-term throughput into the optimization criteria, we formulate the transaction-scheduling problem as a Constrained Markov Decision Process. We then design PTRD, which extends off-the-shelf DRL algorithms to constrained optimization with an additional cost critic-network and an adaptive Lagrangian multiplier. Moreover, considering the distribution nature of PCNs, in which each user schedules transactions independently, we develop a distributed training framework to collect the knowledge learned by each agent so as to enhance learning effectiveness. With the customized network design and the distributed training framework, PTRD achieves a good balance between the optimization of the throughput and the minimization of privacy risks. Evaluations show that PTRD outperforms the state-of-the-art PCN routing algorithms by 2.7%–62.5% in terms of the long-term throughput while satisfying privacy constraints.
KW - Blockchain
KW - deep reinforcement learning
KW - distributed training
KW - privacy-aware
KW - transaction scheduling
UR - http://www.scopus.com/inward/record.url?scp=85141523519&partnerID=8YFLogxK
U2 - 10.1109/TDSC.2022.3216571
DO - 10.1109/TDSC.2022.3216571
M3 - Journal article
AN - SCOPUS:85141523519
SN - 1545-5971
VL - 20
SP - 4372
EP - 4386
JO - IEEE Transactions on Dependable and Secure Computing
JF - IEEE Transactions on Dependable and Secure Computing
IS - 5
ER -