FedRDF: A Robust and Dynamic Aggregation Function against Poisoning Attacks in Federated Learning
Enrique Mármol Campos, Aurora González Vidal, José Luis Hernández Ramos, Antonio Skarmeta
TL;DR
The paper tackles poisoning attacks in federated learning by introducing FedRDF, an FFT-based robust aggregation that does not require prior knowledge of the number of attackers. Client updates are projected into the frequency domain via the discrete Fourier transform, and the high-density (high-frequency) components are used to form the aggregated model, effectively excluding malicious updates. A dynamic strategy uses a Kolmogorov–Smirnov test to decide whether to apply FedAvg or FFT in each round, enabling resilience across varying attack scenarios. Evaluations on FEMNIST show FedRDF outperforms standard robust aggregations (FedMedian, Trimmed Mean, Krumm) under random weights and min-max attacks, while maintaining FedAvg performance in clean settings; the dynamic approach with a 0.02 KS-threshold further improves robustness. The approach provides practical implications for secure FL by offering attacker-number agnosticism and adaptive defense with modest computational overhead from FFT.
Abstract
Federated Learning (FL) represents a promising approach to typical privacy concerns associated with centralized Machine Learning (ML) deployments. Despite its well-known advantages, FL is vulnerable to security attacks such as Byzantine behaviors and poisoning attacks, which can significantly degrade model performance and hinder convergence. The effectiveness of existing approaches to mitigate complex attacks, such as median, trimmed mean, or Krum aggregation functions, has been only partially demonstrated in the case of specific attacks. Our study introduces a novel robust aggregation mechanism utilizing the Fourier Transform (FT), which is able to effectively handling sophisticated attacks without prior knowledge of the number of attackers. Employing this data technique, weights generated by FL clients are projected into the frequency domain to ascertain their density function, selecting the one exhibiting the highest frequency. Consequently, malicious clients' weights are excluded. Our proposed approach was tested against various model poisoning attacks, demonstrating superior performance over state-of-the-art aggregation methods.
