A Smart Contract based Crowdfunding Mechanism for Hierarchical Federated Learning

Hongze Liu, Jie Li, Shijing Yuan, Wenqi Cao, Bowen LiarXiv 2022 · DOI

Abstract

Federated Learning (FL) faces significant challenges regarding communication bandwidth and high training costs. While Hierarchical Federated Learning (HFL) mitigates bandwidth issues through intermediate aggregation, the financial burden of large-scale training remains a barrier. This paper introduces Hierarchy Chained Federated Learning (HCFL), a crowdfunding framework that utilizes a smart contract-based Vickrey-Clarke-Groves (VCG) mechanism to incentivize truthful participation and fair cost-sharing among multiple model owners.

Introduction

Federated Learning allows for collaborative model training on decentralized data, but the high costs of deployment often exceed the resources of a single organization. Crowdfunding a shared model is a potential solution, yet it introduces trust issues regarding valuation and cost reporting. Participants may attempt to "free-ride" or manipulate bids to minimize their contribution. This research proposes a blockchain-integrated mechanism to ensure social utility maximization and incentive compatibility in HFL environments.

System Architecture

The Hierarchy Chained Federated Learning (HCFL) framework is structured into two distinct levels to optimize both training efficiency and economic fairness.

The two-level HCFL architecture integrating aggregation and the VCG mechanism.

As illustrated in Figure 1, Level 1 focuses on the aggregation process, where clients (e.g., mobile devices, vehicles) perform local training and upload updates to intermediate aggregators. Level 2 introduces the VCG mechanism managed by a smart contract. This contract acts as a neutral operator, collecting bids from model owners and cost claims from aggregators to select the optimal model for training without compromising participant privacy.

The VCG Mechanism and Clarke Tax

To ensure that all participants report their true valuations, the system implements the VCG mechanism. A key component is the Clarke Tax, which requires a participant to pay a fee if their presence changes the outcome of the auction in a way that reduces the utility of others. This mathematical framework makes truth-telling a weak dominant strategy, aligning individual incentives with the collective goal of maximizing social welfare. Additionally, a punishment mechanism is integrated into the smart contract to penalize irresponsible behavior, such as proposing models that fail to meet performance expectations.

Experimental Evaluation

The HCFL framework was evaluated using the CIFAR-10 dataset and a ResNet-50 architecture. The evaluation focused on the incentive compatibility of the VCG mechanism and the resulting model performance.

Accumulated utility comparison between truthful and dishonest participants over 100 auction rounds.

Experimental results demonstrate the effectiveness of the incentive structure. As shown in Figure 3, "Honest" participants who report their true valuations consistently achieve higher accumulated utility over 100 auction rounds compared to those who employ dishonest bidding strategies (30% or 50% dishonest). This confirms that the VCG mechanism successfully discourages manipulation. Furthermore, models selected via this mechanism achieved significantly higher accuracy on target tasks compared to random selection baselines, as the mechanism prioritizes models with higher collective value.

Conclusion

The proposed HCFL framework effectively addresses the economic challenges of Hierarchical Federated Learning. By leveraging blockchain and the VCG mechanism, it provides a transparent and fair environment for model crowdfunding. Future research will focus on improving cost estimation techniques and extending the mechanism to Vertical Federated Learning scenarios.

Summary updated

BibTeX
@misc{liu2022smart,
  author = {Hongze Liu and Jie Li and Shijing Yuan and Wenqi Cao and Bowen Li},
  title = {{A Smart Contract based Crowdfunding Mechanism for Hierarchical Federated Learning}},
  year = {2022},
  eprint = {2205.06101},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2205.06101},
}
Figure