Introduction
Federated Learning (FL) has emerged as a powerful paradigm for collaborative model training without centralizing raw data. However, its practical deployment is hindered by two significant challenges: data heterogeneity (non-IID data distributions across clients) and vulnerability to poisoning attacks from malicious participants. Traditional methods like FedAvg often fail to converge to an optimal global model under high heterogeneity, and robust aggregators designed to mitigate attacks often struggle to distinguish between malicious updates and legitimate but diverse data from honest clients.
Methodology: SmartFL
This paper introduces SmartFL, a unified framework that addresses both heterogeneity and poisoning through Aggregation Optimization. Unlike standard FL which uses fixed or heuristic weights for averaging client models, SmartFL optimizes these weights ($p_m$) on the server side using a small amount of clean proxy data.
Subspace Training
To prevent the server from overfitting to the tiny proxy dataset, SmartFL employs Subspace Training. Instead of fine-tuning the entire high-dimensional model parameter space, the optimization is restricted to the convex hull spanned by the received client models. This reduces the number of parameters to tune from millions to just the number of clients (e.g., 80), acting as a powerful natural regularizer.
Handling Unlabelled Data (SmartFL-U)
For scenarios where the server lacks ground-truth labels for its proxy data, the authors propose SmartFL-U. This variant utilizes an ensemble of client predictions to generate pseudo-labels, allowing the server to optimize aggregation weights even in unsupervised settings.
Experimental Evaluation
The framework was evaluated on several benchmarks, including MNIST, CIFAR-10, and CIFAR-100, with heterogeneity simulated via Dirichlet distributions. The authors also tested robustness against various poisoning strategies, such as Label Flip, Omniscient, and Fang attacks, with malicious client ratios up to 70%.
Results and Discussion
SmartFL demonstrates significant performance gains over state-of-the-art baselines. On CIFAR-10 with extreme heterogeneity ($\alpha=0.01$), SmartFL achieved 52.96% accuracy, compared to 33.94% for FedAvg.
Robustness to Heterogeneity and Attacks
A key strength of SmartFL is its inherent defense mechanism. Malicious or highly divergent updates naturally receive lower weights during optimization because they perform poorly on the server's clean proxy data. This data-driven approach proves more effective than handcrafted statistical filters.
Efficiency and Generalization
SmartFL exhibits remarkably fast convergence, reaching target accuracies in significantly fewer communication rounds than FedAvg. For example, on CIFAR-10, it reached baseline accuracy in 34.7 rounds, compared to 196.3 rounds for FedAvg. Theoretical analysis further supports these findings, showing that the generalization error of SmartFL is independent of the model's total parameter count, explaining its success with proxy datasets as small as 128 samples.
Conclusion
SmartFL provides a robust and efficient solution for federated learning in adversarial and heterogeneous environments. By shifting the focus to aggregation optimization within a low-dimensional subspace, it achieves superior accuracy and stability without the risks of traditional fine-tuning.
Summary updated