Post Quantum Secure Blockchain-based Federated Learning for Mobile Edge Computing

Rongxin Xu, Shiva Raj Pokhrel, Qiujun Lan, Gang LiarXiv 2023 · DOI

Abstract

This paper introduces BFL-MEC, a decentralized federated learning framework tailored for mobile edge computing (MEC). BFL-MEC addresses the critical challenges of single points of failure, intermittent connectivity, and emerging quantum threats by combining blockchain technology, a fully asynchronous architecture, and lattice-based cryptography. Furthermore, it implements a contribution-based incentive mechanism using DBSCAN clustering to defend against model poisoning attacks. Experimental results demonstrate that BFL-MEC achieves superior accuracy in non-IID settings and offers significant cryptographic performance gains over traditional standards.

Introduction

Traditional Federated Learning (FL) typically relies on a central server for model aggregation, which creates a "single point of failure" and poses significant privacy risks. Integrating blockchain (BFL) can decentralize this process, but existing frameworks struggle with three major hurdles in Mobile Edge Computing (MEC):

  1. Synchronicity Constraints: Constant movement and intermittent connectivity of edge devices make synchronous updates impossible.
  2. The Quantum Threat: Current security protocols like RSA are vulnerable to Shor’s algorithm on future quantum computers.
  3. Incentive Alignment: Rewarding high-quality contributors while filtering malicious "poisoning" attacks is difficult without exposing private data.

Methodology: The BFL-MEC Framework

BFL-MEC is designed to operate efficiently in dynamic edge environments through several key innovations involving clients, edge nodes, and a blockchain ledger.

BFL-MEC System Architecture

Fully Asynchronous Design

To handle the "straggler" problem and intermittent connections, BFL-MEC uses a fully asynchronous architecture. Clients employ an "Anchor Jump" strategy to quickly identify the latest global model on the blockchain without scanning the entire ledger history, allowing them to train and upload updates whenever they have a stable connection.

Post-Quantum Security

The framework replaces standard encryption with a lattice-based digital signature scheme based on a simplified version of Dilithium. This ensures that even a quantum-equipped attacker cannot forge signatures or tamper with gradients.

Post-Quantum Signature Process

Contribution-based Incentives and Defense

Instead of just rewarding miners, BFL-MEC rewards clients based on data quality. It utilizes the DBSCAN clustering algorithm to group similar gradient updates. Updates that fall outside the "main cluster" are identified as malicious or low-quality and are discarded. This allows the system to detect poisoning attacks without ever viewing the users' raw, private data.

Experimental Evaluation

The researchers evaluated BFL-MEC using the MNIST benchmark dataset in a non-IID (Independent and Identically Distributed) fashion to simulate the data diversity found in real-world edge devices.

Key Results

  • Cryptographic Speed: BFL-MEC’s lattice-based signature scheme is 8x faster than RSA for generating key pairs and 3x faster for signing local gradients.
  • Model Accuracy: In non-IID settings, BFL-MEC reached convergence faster and with higher accuracy than standard algorithms like FedAvg and FedProx.
  • Security Robustness: The system achieved a malicious node detection rate of 66% to 80%, significantly mitigating the impact of model poisoning.
  • Fair Incentives: Cumulative reward curves demonstrated that honest nodes received increasing rewards while malicious nodes' rewards plateaued at zero.

Conclusion

BFL-MEC offers a robust, decentralized, and future-proof solution for federated learning at the mobile edge. While the current implementation shows strong performance, future work will address the computational overhead of clustering as client numbers scale and optimize communication costs for congested 6G environments.

Summary updated

BibTeX
@misc{xu2023post,
  author = {Rongxin Xu and Shiva Raj Pokhrel and Qiujun Lan and Gang Li},
  title = {{Post Quantum Secure Blockchain-based Federated Learning for Mobile Edge Computing}},
  year = {2023},
  eprint = {2302.13258},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2302.13258},
}
Figure