Bc²FL: Double-Layer Blockchain-Driven Federated Learning Framework for Agricultural IoT

Published: 01 Jan 2025, Last Modified: 13 May 2025IEEE Internet Things J. 2025EveryoneRevisionsBibTeXCC BY-SA 4.0
Abstract: With the flourishing of the Agricultural Internet of Things (AIoT), analyzing large-volume sensor data has become a regular requirement for agricultural decision-making. Federated learning (FL), which facilitates scattered AIoT devices to train models collaboratively, has gained significant attention. However, traditional FL poses challenges in AIoT scenarios, such as wide geo-distribution, heterogeneous data distribution, and high-device risks. Existing works tend to be one-sided and remain unclear on how to tackle these issues thoroughly in AIoT. To fill the gap, we present Bc2FL, a double-layer blockchain-based FL framework, which enhances both learning efficiency and security for AIoT. The double-layer blockchain, coupled with a two-stage consensus algorithm, drives the hierarchical FL process to enable efficient and reliable agricultural knowledge-sharing. In addition, Bc2FL adopts an adaptive model aggregation algorithm to dynamically tune noise levels based on the model quality, further improving the learning security and model credibility. Finally, the extensive experimental results demonstrate that Bc2FL not only improves the model accuracy by up to 21.17% compared with the state-of-the-art baselines, but also enhances the privacy protection within an additional error of only 2.1%.
Loading