FedBGS: A Blockchain Approach to Segment Gossip Learning in Decentralized Systems
Fabio Turazza, Marcello Pietri, Marco Picone, Marco Mamei
TL;DR
This work addresses privacy-preserving decentralized learning in the presence of non-IID data and the single-point-of-failure risk of centralized federated setups. It introduces FedBGS, a two-phase framework that combines One-Shot Federated K-Means clustering (Federated Analytics) with blockchain-powered segmented gossip learning, storing weights off-chain on IPFS and centroids on-chain. It employs Differential Privacy, Paillier partial homomorphic encryption, and trimmed-mean aggregation to ensure privacy, security, and Byzantine resilience, while Phase 2 enables asynchronous, segment-based updates and leader-driven global aggregation. The approach demonstrates convergence and robustness on standard datasets and discusses practical aspects like Ethereum gas costs and deployment considerations, highlighting potential for scalable, transparent, and secure decentralized learning.
Abstract
Privacy-Preserving Federated Learning (PPFL) is a Decentralized machine learning paradigm that enables multiple participants to collaboratively train a global model without sharing their data with the integration of cryptographic and privacy-based techniques to enhance the security of the global system. This privacy-oriented approach makes PPFL a highly suitable solution for training shared models in sectors where data privacy is a critical concern. In traditional FL, local models are trained on edge devices, and only model updates are shared with a central server, which aggregates them to improve the global model. However, despite the presence of the aforementioned privacy techniques, in the classical Federated structure, the issue of the server as a single-point-of-failure remains, leading to limitations both in terms of security and scalability. This paper introduces FedBGS, a fully Decentralized Blockchain-based framework that leverages Segmented Gossip Learning through Federated Analytics. The proposed system aims to optimize blockchain usage while providing comprehensive protection against all types of attacks, ensuring both privacy, security and non-IID data handling in Federated environments.
