[Paper Review] Blockchain as a Service for Multi-Access Edge Computing: A Deep Reinforcement Learning Approach
This paper proposes a Blockchain-as-a-Service (BaaS) architecture for Multi-access Edge Computing (MEC) that integrates smart contracts for secure, transparent resource trading and a Deep Reinforcement Learning (DRL)-based joint optimization of computation offloading and blockchain mining. The proposed double DQN algorithm achieves higher system utility, lower execution cost, and reduced latency compared to baselines, with low smart contract operational costs, demonstrating feasibility and efficiency in real-world deployment.
Recently, blockchain has gained momentum in the academic community thanks to its decentralization, immutability, transparency and security. As an emerging paradigm, Multi-access Edge Computing (MEC) has been widely used to provide computation and storage resources to mobile user equipments (UE) at the edge of the network for improving the performance of mobile applications. In this paper, we propose a novel blockchain-based MEC architecture where UEs can offload their computation tasks to the MEC servers. In particular, a blockchain network is deployed and hosted on the MEC platform as Blockchain as a Service (BaaS) that supports smart contract-based resource trading and transaction mining services for mobile task offloading. To enhance the performance of the blockchain-empowered MEC system, we propose a joint scheme of computation offloading and blockchain mining. Accordingly, an optimization problem is formulated to maximize edge service revenue and blockchain mining reward while minimizing the service computation latency with respect to constraints of user service demands and hash power resource. We then propose a novel Deep Reinforcement Learning (DRL) approach using a double deep Q-network (DQN) algorithm to solve the proposed problem. Numerical results demonstrate that the proposed scheme outperforms the other baseline methods in terms of better system utility with computational efficiency. Experiment results also verify that the trading contract design is efficient with low operation cost, showing the feasibility of the proposed scheme.
Motivation & Objective
- To address security and trust issues in MEC offloading by replacing centralized intermediaries with a decentralized blockchain-based system.
- To resolve unfair resource allocation and low service availability in MEC by enabling transparent, smart contract-driven resource trading.
- To jointly optimize computation offloading and blockchain mining to maximize edge service revenue and mining rewards while minimizing latency.
- To reduce computational complexity and operational costs in dynamic multi-user MEC environments through a novel DRL-based decision-making framework.
Proposed method
- A blockchain network is deployed on the MEC platform as Blockchain-as-a-Service (BaaS), enabling decentralized transaction management and ledger services.
- Smart contracts are implemented to automate and secure resource trading between UEs and MEC servers, with functions for contract creation and payment execution.
- A joint optimization problem is formulated to maximize system utility by balancing edge service revenue, mining rewards, and computation latency under user demand and hash power constraints.
- A double deep Q-network (DQN) algorithm is designed to solve the high-dimensional, dynamic decision space of user selection and resource allocation in real time.
- The DRL agent learns from state observations including user demands, available MEC resources, and blockchain mining progress to make optimal offloading and mining decisions.
- A reputation mechanism is integrated to accelerate mining by incentivizing reliable miner participation and improving transaction confirmation speed.
Experimental results
Research questions
- RQ1How can blockchain-based smart contracts enable secure, transparent, and automated resource trading in a multi-access edge computing environment?
- RQ2What is the optimal joint strategy for computation offloading and blockchain mining that maximizes system utility under resource and latency constraints?
- RQ3Can a deep reinforcement learning approach effectively handle the high-dimensional, dynamic decision space of user selection and resource allocation in a multi-user MEC setting?
- RQ4How does the proposed DRL scheme compare in performance and computational efficiency to traditional optimization and baseline RL methods?
- RQ5What is the real-world operational cost of deploying smart contracts for resource trading in a blockchain-empowered MEC system?
Key findings
- The proposed DRL scheme achieves significantly higher system utility than GA, classic DRL, and RL baselines, with a 15–20% improvement in utility under varying user loads.
- The proposed DRL algorithm reduces execution cost (ECL) by up to 18% and execution latency by up to 25% compared to the classic DRL approach, demonstrating lower computational complexity.
- The system achieves minimal computational overhead, with ECL values of 53.42, 74.09, and 99.05 for 10, 20, and 30 users respectively, outperforming all baselines.
- Smart contract operations incur low operational costs: total cost of 0.0815 ether (~$15.90 USD) for 5 users, or ~$3.17 per user, proving practical feasibility.
- The system utility increases with block size, and the proposed DRL scheme maintains superior performance across all tested block sizes, as shown in Figure 7.
- The reputation mechanism enhances mining efficiency, reducing confirmation delays and improving transaction throughput in the blockchain layer.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.