Blockchain and Federated Edge Learning for Privacy-Preserving Mobile Crowdsensing

Qin Hu, Zhilin Wang, Minghui Xu, Xiuzhen ChengIEEE Internet of Things Journal 2021 · OpenReview

TL;DR

This paper introduces a novel framework for mobile crowdsensing (MCS) that combines blockchain and federated edge learning to address issues of resource constraints for requesters and privacy concerns for participants. By leveraging these technologies, the system enables efficient, privacy-preserving data analysis and incentivizes participation.

What Problem Does This Paper Address?

Mobile crowdsensing (MCS) relies on a large number of mobile devices to collect data for various tasks, offering flexibility and cost savings. However, traditional MCS faces significant hurdles: the immense communication overhead for raw data transmission and the substantial storage and computational demands placed on requesters. These limitations prevent resource-constrained users from utilizing MCS, hindering its widespread adoption. Furthermore, privacy concerns arise from the involvement of both requesters and workers in the learning process, and the potential for malicious actors (edge servers or requesters) to disrupt the system.

Methods

The proposed solution integrates blockchain technology with federated edge learning (FL) into a four-entity framework: requesters, a consortium blockchain, edge servers, and mobile devices (workers). The system operates through four key procedures:

  1. Task Publication: Requesters submit MCS learning tasks to the blockchain via a smart contract, which then recruits workers.
  2. Data Sensing and Submission: Mobile devices collect data and send it to nearby edge servers. This localizes data processing, enhancing privacy by preventing raw data from reaching a central platform. Edge servers also provide immediate rewards to devices.
  3. Learning to Return Final Results: Edge servers collaboratively train a machine learning model using federated learning on their local datasets. This process is secured by a consortium blockchain, which acts as a decentralized coordinator, replacing a central aggregator and mitigating single points of failure.
  4. Payment Settlement and Allocation: Once the learning task is complete, the requester is charged, and incentives are distributed to all participants (mobile devices, edge servers, and blockchain nodes). A zero-determinant (ZD) game theory-based payment enforcement scheme is employed to ensure requesters pay the full amount.

Key novelties include:

  • Mechanism Design for Data Submission: A game rule is devised to incentivize edge servers to protect the privacy of submitted data, preventing leakage.
  • Consortium Blockchain-based FL: This secures the distributed learning process, with blockchain nodes coordinating and validating updates.
  • ZD Game Theory for Payment Enforcement: This strategy ensures requesters fulfill their payment obligations, safeguarding participant incentives.

Datasets

The paper mentions using a benchmark named LEAF [52] for simulating the federated learning process, specifically with the FEMNIST dataset. This dataset is used to train a 2-layer convolutional neural network (CNN) classifier.

Key Insights and Ideas

  • Decentralization is Key: By using a consortium blockchain, the system avoids the single point of failure associated with centralized aggregators in traditional FL and MCS.
  • Privacy at the Edge: Localizing data processing to edge servers, rather than sending raw data to a central entity, significantly enhances the privacy of mobile device users.
  • Incentive Compatibility is Crucial: The mechanism design for data submission and the ZD game theory for payment settlement are critical for ensuring all participants are motivated and fairly compensated, making the system sustainable.
  • Trade-offs in FL: The experiments highlight that while more data generally leads to better accuracy, increasing the number of participants (edge servers) can slow down convergence due to smaller local datasets per participant.

Key Results

  • Data Submission Mechanism: The proposed mechanism design is proven to be incentive-compatible, ensuring edge servers report their true data leakage degree to maximize their utility.
  • Federated Learning Performance: Experiments show that higher dataset fractions improve testing accuracy, while more edge servers lead to slower convergence.
  • Blockchain Consensus Efficiency: The time cost for blockchain consensus increases linearly with the number of edge servers and near-exponentially with the number of blockchain nodes.
  • Payment Settlement: The ZD-based payment settlement strategy effectively drives the requestor towards full cooperation (paying the full incentive), outperforming traditional strategies like Tit-for-Tat and Win-Stay-Lose-Shift. The system achieves a stable state of mutual cooperation.

Limitations and Future Work

  • Scalability of Blockchain: While a consortium blockchain is used, the paper acknowledges that further work is needed to improve its efficiency, scalability, and reliability.
  • Security Challenges: The authors plan to investigate security challenges in blockchain-based distributed learning during the model training process.
  • Parameter Sensitivity: The paper notes that while various parameter settings were evaluated, some are omitted for brevity. Future work could explore these more extensively.
  • Real-world Deployment: The current work is based on simulations. Future research could focus on real-world deployment and testing.

Summary updated

Abstract

Mobile crowdsensing (MCS) counting on the mobility of massive workers helps the requestor accomplish various sensing tasks with more flexibility and lower cost. However, for the conventional MCS, the large consumption of communication resources for raw data transmission and high requirements on data storage and computing capability hinder potential requestors with limited resources from using MCS. To facilitate the widespread application of MCS, we propose a novel MCS learning framework leveraging on blockchain technology and the new concept of edge intelligence based on federated learning (FL), which involves four major entities, including requestors, blockchain, edge servers and mobile devices as workers. Even though there exist several studies on blockchain-based MCS and blockchain-based FL, they cannot solve the essential challenges of MCS with respect to accommodating resource-constrained requestors or deal with the privacy concerns brought by the involvement of requestors and workers in the learning process. To fill the gaps, four main procedures, i.e., task publication, data sensing and submission, learning to return final results, and payment settlement and allocation, are designed to address major challenges brought by both internal and external threats, such as malicious edge servers and dishonest requestors. Specifically, a mechanism design based data submission rule is proposed to guarantee the data privacy of mobile devices being truthfully preserved at edge servers; consortium blockchain based FL is elaborated to secure the distributed learning process; and a cooperation-enforcing control strategy is devised to elicit full payment from the requestor. Extensive simulations are carried out to evaluate the performance of our designed schemes.
BibTeX
@article{hu2021blockchain,
  author = {Qin Hu and Zhilin Wang and Minghui Xu and Xiuzhen Cheng},
  title = {{Blockchain and Federated Edge Learning for Privacy-Preserving Mobile Crowdsensing}},
  journal = {IEEE Internet of Things Journal},
  year = {2021},
  url = {https://openreview.net/forum?id=_dHOfq-CmJ9},
}
Figure