CoCFL: A Lightweight Blockchain-Based Federated Learning Framework for Large-Scale IoT Cluster
Abstract
Blockchain-based Federated Learning (BCFL) has attracted considerable attention in the intelligent IoT domain for its privacy-preserving and decentralized characteristics. Depending on their applicable scenarios, BCFL frameworks are categorized into two types: synchronous and asynchronous. However, synchronous BCFL struggles with low efficiency in heterogeneous IoT environments, while asynchronous BCFL suffers from slow convergence speed. In additional, Both BCFL incur significant resource consumption from blockchain consensus mechanisms which is unrelated to federated learning tasks, leading to resource wastage and poor scalability, making them unsuitable for large-scale IoT networks. To address these challenges, we propose CoCFL, a novel BCFL framework utilizing multi-chain collaboration. CoCFL introduces two lightweight sub-chains: PoCFL-CChain and PC-CChain, based on different FL strategy. PoCFL-CChain uses a synchronous FL strategy for learning devices with similar performance to generate high-accuracy models, while PC-CChain adopts an asynchronous strategy for heterogeneous devices, which can improving training efficiency. CoCFL assigns devices to suitable sub-chains based on their performance to carry out FL tasks and aggregates the sub-chain models into a global model. This multi-chain collaboration strategy enhances model accuracy and convergence speed and significantly improves the scalability of BCFL. In additional, the consensus mechanisms in CoCFL sub-chains not only maintain the blockchain ledger but also handle FL-related tasks such as detecting poisoning attacks, assigning roles, and distributing incentives. This design not only improving the efficiency of BCFL, but also enhances learning security and ensuring fair incentives. Experiments show that CoCFL improves learning accuracy by 6% and efficiency by 18% over existing BCFL frameworks. It also demonstrates excellent scalability, with time consumption liner decreasing as sub-chains increase, and can withstand up to 40% of poisoning attacks while ensuring fair incentives.
Community
0 commentsNo discussion yet
Be the first to share a question or observation.