Trust and Resilience in Federated Learning Through Smart Contracts Enabled Decentralized Systems
Lorenzo Cassano, Jacopo D'Abramo, Siraj Munir, Stefano Ferretti
TL;DR
This paper addresses trust, reliability, and privacy in federated learning by integrating IPFS-based storage and a smart contract-driven coordination layer on a permissioned blockchain. It evaluates two weight update schemes, FedAvg and FedProx, under varying collaborator participation and failure scenarios on two healthcare imaging datasets (Alzheimer and Brain Tumor), and measures model accuracy, F1, ROC, as well as system metrics. The results show that FedProx is close to centralized performance and more robust to nonuniform participation, while IPFS and the smart contract introduce manageable overheads in gas and delays, enabling auditable and tamper-resistant training. The work demonstrates a viable path toward trustworthy FL in privacy-sensitive domains and outlines future directions such as LoRA, MPC, and decentralized leadership.
Abstract
In this paper, we present a study of a Federated Learning (FL) system, based on the use of decentralized architectures to ensure trust and increase reliability. The system is based on the idea that the FL collaborators upload the (ciphered) model parameters on the Inter-Planetary File System (IPFS) and interact with a dedicated smart contract to track their behavior. Thank to this smart contract, the phases of parameter updates are managed efficiently, thereby strengthening data security. We have carried out an experimental study that exploits two different methods of weight aggregation, i.e., a classic averaging scheme and a federated proximal aggregation. The results confirm the feasibility of the proposal.
