Federated Learning (FL) has emerged as a powerful paradigm for training machine learning models in a decentralized manner, preserving data privacy by keeping local data on clients. However, evaluating the robustness of these models against data perturbations on clients remains a significant challenge. Previous studies have assessed the effectiveness of models in centralized training based on certified accuracy, which guarantees that a certain percentage of the model's predictions will remain correct even if the input data is perturbed. However, the challenge of extending these evaluations to FL remains unresolved due to the unknown client's local data. To tackle this challenge, this study proposed a method named FedCert to take the first step toward evaluating the robustness of FL systems. The proposed method is designed to approximate the certified accuracy of a global model based on the certified accuracy and class distribution of each client. Additionally, considering the Non-Independent and Identically Distributed (Non-IID) nature of data in real-world scenarios, we introduce the client grouping algorithm to ensure reliable certified accuracy during the aggregation step of the approximation algorithm. Through theoretical analysis, we demonstrate the effectiveness of FedCert in assessing the robustness and reliability of FL systems. Moreover, experimental results on the CIFAR-10 and CIFAR-100 datasets under various scenarios show that FedCert consistently reduces the estimation error compared to baseline methods. This study offers a solution for evaluating the robustness of FL systems and lays the groundwork for future research to enhance the dependability of decentralized learning.
FedCert is a method developed to assess the robustness of a federated learning (FL) system by approximating the certified accuracy of the global model. The certified accuracy represents the portion of predictions that remain robust under small perturbations in the input data. The main contributions of FedCert include:
Figure 1 illustrates the main components of the FedCert method, including the certified accuracy approximation and client grouping algorithm.
Figure 1. Overview of FedCert. The method combines local certified accuracies and uses convex optimization to estimate the global model's certified accuracy.
We evaluated FedCert on two widely used image classification datasets: CIFAR-10 and CIFAR-100. The experiments were conducted across different FL settings, including non-IID data distributions. The results show that FedCert consistently reduces the estimation error of certified accuracy compared to baseline methods such as Volume-based Weighted-sum (VW).
The following figures present the experimental results, highlighting the significant reduction in RMSE and MAPE achieved by FedCert in various scenarios.
Figure 2. Experimental results showing the performance of FedCert compared to baseline methods. FedCert achieves lower RMSE and MAPE across all settings.
@inproceedings{nguyen2024fedcert,
author={Nguyen, Minh Hieu and Nguyen, Huu Tien and Nguyen, Trung Thanh and Nguyen, Manh Duong and Hoang, Trong Nghia and Nguyen, Truong Thao and Nguyen, Phi Le},
title={FedCert: Federated Accuracy Certification},
booktitle={Proceedings of the 22nd International Symposium on Network Computing and Applications (NCA 2024)},
year={2024},
}