Skip to main content
QUICK REVIEW

[Paper Review] 2CP: Decentralized Protocols to Transparently Evaluate Contributivity in Blockchain Federated Learning Environments

Harry Cai, Daniel Rueckert|arXiv (Cornell University)|Nov 15, 2020
Privacy-Preserving Technologies in DataComputer Science13 references10 citations
TL;DR

This paper proposes 2CP, a decentralized framework using Ethereum smart contracts to fairly evaluate and reward participants in blockchain-integrated federated learning based on their data contributivity. It introduces two protocols—Crowdsource and Consortium—that use step-by-step evaluation to assign model ownership shares proportional to dataset size and quality, ensuring fair, transparent, and trustless rewards even in the absence of a central authority.

ABSTRACT

Federated Learning harnesses data from multiple sources to build a single model. While the initial model might belong solely to the actor bringing it to the network for training, determining the ownership of the trained model resulting from Federated Learning remains an open question. In this paper we explore how Blockchains (in particular Ethereum) can be used to determine the evolving ownership of a model trained with Federated Learning. Firstly, we use the step-by-step evaluation metric to assess the relative contributivities of participants in a Federated Learning process. Next, we introduce 2CP, a framework comprising two novel protocols for Blockchained Federated Learning, which both reward contributors with shares in the final model based on their relative contributivity. The Crowdsource Protocol allows an actor to bring a model forward for training, and use their own data to evaluate the contributions made to it. Potential trainers are guaranteed a fair share of the resulting model, even in a trustless setting. The Consortium Protocol gives trainers the same guarantee even when no party owns the initial model and no evaluator is available. We conduct experiments with the MNIST dataset that reveal sound contributivity scores resulting from both Protocols by rewarding larger datasets with greater shares in the model. Our experiments also showed the necessity to pair 2CP with a robust model aggregation mechanism to discard low quality inputs coming from model poisoning attacks.

Motivation & Objective

  • To address the challenge of fair model ownership allocation in federated learning when data contributors cannot be trusted or verified centrally.
  • To design a decentralized, trustless protocol that fairly rewards participants based on the actual contributivity of their data.
  • To integrate blockchain technology (specifically Ethereum) with federated learning to enable verifiable, transparent, and automated reward distribution.
  • To evaluate the robustness of contributivity scoring under model poisoning attacks and data quality variations.
  • To develop a framework that supports both crowdsource and consortium settings in federated learning without requiring a central coordinator.

Proposed method

  • The paper introduces step-by-step evaluation as a contributivity metric to measure each participant’s relative contribution to model performance.
  • The Crowdsource Protocol enables a model owner to initiate training and use their own data to evaluate contributions, ensuring fair reward distribution in a trustless setting.
  • The Consortium Protocol allows decentralized training without a model owner or evaluator, guaranteeing fair shares based on contributivity using blockchain-based smart contracts.
  • Both protocols use Ethereum smart contracts to enforce reward allocation based on computed contributivity scores, ensuring transparency and immutability.
  • The framework relies on a holdout test set to evaluate model performance after each round, enabling dynamic contributivity scoring.
  • The system is designed to be paired with robust aggregation mechanisms to resist model poisoning attacks, as shown in experimental validation.

Experimental results

Research questions

  • RQ1How can contributivity be fairly and transparently measured in a decentralized federated learning environment without revealing private data?
  • RQ2Can blockchain-based smart contracts be used to automate and enforce fair reward distribution based on data contributivity in federated learning?
  • RQ3How do the Crowdsource and Consortium protocols compare in terms of fairness and resilience to data quality variations?
  • RQ4What are the vulnerabilities of the contributivity scoring mechanism under model poisoning attacks, and how can they be mitigated?
  • RQ5To what extent do dataset size and quality influence the final reward distribution in the 2CP framework?

Key findings

  • The Crowdsource Protocol produced sound contributivity scores on the MNIST dataset, with larger datasets receiving proportionally higher rewards.
  • The Consortium Protocol correctly rewarded larger datasets but overvalued clients with slightly corrupted data (0.2 < p < 0.3), indicating a vulnerability to untargeted model poisoning.
  • Clients with higher label-flipping rates (p > 0.5) saw their rewards drop to zero, while moderate corruption (p ≈ 0.25) led to inflated rewards, suggesting a Sybil-like attack vector.
  • The early training rounds in the Consortium Protocol matched the token shares from the Crowdsource Protocol, supporting the hypothesis that corrupted clients diverted the model to a sub-optimal local minimum.
  • The results highlight the necessity of pairing 2CP with a robust aggregation mechanism to filter out malicious or low-quality model updates.
  • The framework demonstrates that contributivity-based reward allocation is feasible and fair under honest or semi-honest participation, but remains vulnerable to malicious behavior without additional verification.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.