Skip to main navigation Skip to search Skip to main content

Blockchain sharding over wireless channels: dynamic resource allocation with sparse reward

  • Zhangjun Ren
  • , Long Shi
  • , Zhe Wang*
  • , Jun Li
  • , Zehui Xiong
  • *Corresponding author for this work

Research output: Contribution to journal › Article › peer-review

Abstract

Blockchain sharding over wireless channels (BSoW) is a promising technology to enhance the throughput of blockchain systems by parallelly processing the transactions over multiple shards. Nonetheless, the time-varying characteristic of wireless fading channels may result in unequal transaction processing rates across different shards, which limits the overall system delay. In this letter, we formulate the dynamic resource allocation as a Markov decision process (MDP) that jointly optimizes the bandwidth allocation and block sizes, aiming to minimize the cumulative transaction completion latency for the BSoW network. Each transaction undergoes a two-stage consensus, where it first waits in the transaction queue for member-PBFT consensus, and then waits in the block queue for final-PBFT consensus before being appended to the main chain. Therefore, the reward feedback from the environment is delayed and sparse. Due to the lack of intermediate feedback, the conventional temporal-difference based reinforcement learning algorithms such as Proximal Policy Optimization (PPO) may not be able to identify the impact of each action on the final reward, which suffers from low learning efficiency. To address this issue, we propose an Hindsight Distribution Correction Estimation (HDICE)-PPO algorithm to effectively learn the credit assignment of sparse reward over intermediate actions for the policy optimization. The simulation results show that the proposed algorithm reduces the average transaction latency by 46% compared with Hindsight Credit Assignment (HCA)-PPO algorithm, and by 72.4% compared with PPO algorithm.

Original languageEnglish
Pages (from-to)63-67
Number of pages5
JournalIEEE Wireless Communications Letters
Volume14
Issue number1
Early online date04 Nov 2024
DOIs
Publication statusPublished - Jan 2025
Externally publishedYes

Bibliographical note

Publisher Copyright:
© 2024 IEEE.

Keywords

  • Blockchain sharding
  • dynamic wireless channels
  • mixed action space
  • reinforcement learning
  • resource allocation
  • sparse reward

ASJC Scopus subject areas

  • Control and Systems Engineering
  • Electrical and Electronic Engineering

Fingerprint

Dive into the research topics of 'Blockchain sharding over wireless channels: dynamic resource allocation with sparse reward'. Together they form a unique fingerprint.

Cite this