{"title":"Decentralized federated learning using validation loss for model sharing in crop disease classification","authors":"Denis Mamba Kabala , Adel Hafiane , Laurent Bobelin , Raphaël Canals","doi":"10.1016/j.ecoinf.2025.103205","DOIUrl":null,"url":null,"abstract":"<div><div>Agriculture plays an essential role in the economies of many countries, as it provides numerous livelihoods. However, managing crop diseases is one of the major challenges in modern agriculture. Using artificial intelligence (AI) for the early detection and diagnosis of crop diseases is an interesting approach to tackle this problem. Several AI methods have been employed for this purpose, but despite achieving good results, many challenges remain, such as protecting farmers’ data, using machine learning on edge devices, and employing collaborative learning. In this context, federated learning (FL) has emerged as a promising machine learning approach that enables to build efficient models with a collaborative manner, while preserving data privacy and security. There exist two types of FL: centralized and decentralized. In this paper we employ the approach of decentralized FL for crop disease image classification that utilizes peer-to-peer communication for updating models for each client. To address the problem of the robustness of shared models, we propose a new strategy based on validation loss, where the aggregated models should satisfy a certain criterion of performances. We implemented and tested two types of deep learning architectures, convolutional neural networks (CNNs) and vision transformers (ViTs). The evaluation of model performance was based on four metrics: Accuracy, F1-Score, Precision, and Recall. However, for the presentation of results in this paper, we focus on Accuracy and F1-Score to highlight key aspects of model performance. We evaluated the impact of the number of shared models, communication cycles, number of clients involved, local iterations, and training data size on model performance. The results show that decentralized FL offers significant advantages over centralized FL approaches, improving rapid convergence to high and stable performance. These results highlight the potential of decentralized FL to advance crop disease management, thereby contributing to agricultural resilience and productivity.</div></div>","PeriodicalId":51024,"journal":{"name":"Ecological Informatics","volume":"90 ","pages":"Article 103205"},"PeriodicalIF":7.3000,"publicationDate":"2025-06-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Ecological Informatics","FirstCategoryId":"93","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1574954125002146","RegionNum":2,"RegionCategory":"环境科学与生态学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"ECOLOGY","Score":null,"Total":0}
引用次数: 0
Abstract
Agriculture plays an essential role in the economies of many countries, as it provides numerous livelihoods. However, managing crop diseases is one of the major challenges in modern agriculture. Using artificial intelligence (AI) for the early detection and diagnosis of crop diseases is an interesting approach to tackle this problem. Several AI methods have been employed for this purpose, but despite achieving good results, many challenges remain, such as protecting farmers’ data, using machine learning on edge devices, and employing collaborative learning. In this context, federated learning (FL) has emerged as a promising machine learning approach that enables to build efficient models with a collaborative manner, while preserving data privacy and security. There exist two types of FL: centralized and decentralized. In this paper we employ the approach of decentralized FL for crop disease image classification that utilizes peer-to-peer communication for updating models for each client. To address the problem of the robustness of shared models, we propose a new strategy based on validation loss, where the aggregated models should satisfy a certain criterion of performances. We implemented and tested two types of deep learning architectures, convolutional neural networks (CNNs) and vision transformers (ViTs). The evaluation of model performance was based on four metrics: Accuracy, F1-Score, Precision, and Recall. However, for the presentation of results in this paper, we focus on Accuracy and F1-Score to highlight key aspects of model performance. We evaluated the impact of the number of shared models, communication cycles, number of clients involved, local iterations, and training data size on model performance. The results show that decentralized FL offers significant advantages over centralized FL approaches, improving rapid convergence to high and stable performance. These results highlight the potential of decentralized FL to advance crop disease management, thereby contributing to agricultural resilience and productivity.
期刊介绍:
The journal Ecological Informatics is devoted to the publication of high quality, peer-reviewed articles on all aspects of computational ecology, data science and biogeography. The scope of the journal takes into account the data-intensive nature of ecology, the growing capacity of information technology to access, harness and leverage complex data as well as the critical need for informing sustainable management in view of global environmental and climate change.
The nature of the journal is interdisciplinary at the crossover between ecology and informatics. It focuses on novel concepts and techniques for image- and genome-based monitoring and interpretation, sensor- and multimedia-based data acquisition, internet-based data archiving and sharing, data assimilation, modelling and prediction of ecological data.