Skip to main content
QUICK REVIEW

[Paper Review] BAFFLE : Blockchain Based Aggregator Free Federated Learning

Paritosh Ramanan, Kiyoshi Nakayama|arXiv (Cornell University)|Sep 16, 2019
Privacy-Preserving Technologies in DataComputer Science26 references23 citations
TL;DR

BAFFLE proposes a blockchain-based, aggregator-free federated learning framework that uses smart contracts to decentralize model aggregation and round coordination. By partitioning global model parameters into chunks and employing a score-and-bid mechanism, BAFFLE reduces gas costs by over 50% and achieves comparable accuracy to centralized FL, enabling scalable, low-cost FL for small organizations on private or public blockchains.

ABSTRACT

A key aspect of Federated Learning (FL) is the requirement of a centralized aggregator to maintain and update the global model. However, in many cases orchestrating a centralized aggregator might be infeasible due to numerous operational constraints. In this paper, we introduce BAFFLE, an aggregator free, blockchain driven, FL environment that is inherently decentralized. BAFFLE leverages Smart Contracts (SC) to coordinate the round delineation, model aggregation and update tasks in FL. BAFFLE boosts computational performance by decomposing the global parameter space into distinct chunks followed by a score and bid strategy. In order to characterize the performance of BAFFLE, we conduct experiments on a private Ethereum network and use the centralized and aggregator driven methods as our benchmark. We show that BAFFLE significantly reduces the gas costs for FL on the blockchain as compared to a direct adaptation of the aggregator based method. Our results also show that BAFFLE achieves high scalability and computational efficiency while delivering similar accuracy as the benchmark methods.

Motivation & Objective

  • To address the operational and scalability limitations of centralized aggregators in federated learning (FL), especially for small organizations.
  • To eliminate single points of failure and trust dependencies inherent in centralized aggregator models.
  • To design a computationally efficient, decentralized FL framework compatible with blockchain constraints such as transaction size and gas costs.
  • To enable micro-scale enterprises to collaboratively train robust global models without cloud infrastructure or technical expertise.
  • To demonstrate that aggregator-free FL can match the performance of classical FL while significantly reducing costs.

Proposed method

  • BAFFLE leverages Ethereum smart contracts (SCs) to manage global model state, round delineation, and user selection without a central coordinator.
  • The framework partitions the global model into discrete parameter chunks to enable parallel and independent updates on the blockchain.
  • A score-and-bid strategy selects high-quality local model updates based on performance metrics, minimizing redundant transactions and gas usage.
  • Round boundaries are dynamically determined by user-reported computational states, ensuring consistency and fairness.
  • Model updates are serialized and pushed to the blockchain only for the highest-scoring chunks, reducing transaction volume.
  • The system is implemented on a private Ethereum network using Solidity smart contracts, with real-world validation using a deep reinforcement learning model in ride-sharing.

Experimental results

Research questions

  • RQ1Can a fully decentralized federated learning system be built without a central aggregator while maintaining model accuracy?
  • RQ2How can blockchain constraints—such as gas costs and transaction size—be effectively mitigated in a decentralized FL setting?
  • RQ3What impact does participant participation level have on convergence speed, gas cost, and model quality in an aggregator-free FL system?
  • RQ4Can a smart contract-based approach achieve comparable performance to classical FL with centralized aggregation?
  • RQ5How does the score-and-bid mechanism improve efficiency and reduce redundant updates in decentralized model aggregation?

Key findings

  • BAFFLE reduces gas costs by more than 50% compared to a random, decentralized FL baseline (RandomDFL), even with low participation levels.
  • With a 5% participation level, BAFFLE achieves convergence speed comparable to RandomDFL while incurring significantly lower gas costs and push times.
  • Model quality in BAFFLE closely mirrors that of classical centralized FL, demonstrating that aggregator-free FL can maintain high accuracy.
  • The score-and-bid mechanism effectively eliminates redundant updates, reducing transaction collisions and improving computational efficiency.
  • BAFFLE enables micro-scale organizations to deploy FL on private or public blockchains without requiring cloud infrastructure or specialized expertise.
  • In a real-world ride-sharing case study, BAFFLE improved driver revenue by approximately 40% compared to non-FL approaches, validating its practical impact.

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.