Adaptive Gradient-Aligned Aggregation for Federated Learning under Non-IID Data
Abstract
Federated learning (FL) is a distributed training paradigm with privacy-preserving capabilities and has attracted considerable attention in recent years. But the heterogeneity of client statistics still limits its performance. In a non-IID environment, inconsistent local optimization directions can lead to client drift, unstable convergence, and a decrease in the accuracy of the global model. So this paper proposes a multi-factor adaptive aggregation strategy for non-IID scenarios, which comprehensively evaluates clients from three aspects: data volume, consistency of gradient directions, and local training quality, and allocates adaptive aggregation weights. A gradient direction filtering mechanism is also introduced to alleviate the impact of conflicting local updates before global aggregation. Experiments are set based on the MNIST and CIFAR-10 datasets to construct two scenarios, compared with FedAvg, FedProx, and SCAFFOLD as baselines. The results show the method of this paper has stable performance under IID conditions and better performance under non-IID conditions. Subsequent ablation experiments further validate the effectiveness of gradient consistency modeling, training quality weighting, and the update filtering mechanism.The main contribution of this work is to improve convergence stability and enhance the robustness of federated optimization in heterogeneous environments.
References
- McMahan, B., Moore, E., Ramage, D., Hampson, S., & y Arcas, B. A. (2017). Communication-efficient learning of deep networks from decentralized data. In Artificial intelligence and statistics (pp. 1273-1282). Pmlr.
- Kairouz, P., & McMahan, H. B. (2021). Advances and open problems in federated learning. Foundations and trends in machine learning, 14(1-2), 1-210.
- Zhao, Y., Li, M., Lai, L., Suda, N., Civin, D., & Chandra, V. (2018). Federated learning with non-iid data. arXiv preprint arXiv: 1806.00582.
- Hsu, T. M. H., Qi, H., & Brown, M. (2019). Measuring the effects of non-identical data distribution for federated visual classification. arXiv preprint arXiv: 1909.06335.
- Karimireddy, S. P., Kale, S., Mohri, M., Reddi, S., Stich, S., & Suresh, A. T. (2020). Scaffold: Stochastic controlled averaging for federated learning. In International conference on machine learning (pp. 5132-5143). PMLR.
- Li, T., Sahu, A. K., Zaheer, M., Sanjabi, M., Talwalkar, A., & Smith, V. (2020). Federated optimization in heterogeneous networks. Proceedings of Machine learning and systems, 2, 429-450.
- Wang, J., Liu, Q., Liang, H., Joshi, G., & Poor, H. V. (2020). Tackling the objective inconsistency problem in heterogeneous federated optimization. Advances in neural information processing systems, 33, 7611-7623.
- Li, X., Jiang, M., Zhang, X., Kamp, M., & Dou, Q. (2021). Fedbn: Federated learning on non-iid features via local batch normalization. arXiv preprint arXiv: 2102.07623.
- Acar, D. A. E., Zhao, Y., Navarro, R. M., Mattina, M., Whatmough, P. N., & Saligrama, V. (2021). Federated learning based on dynamic regularization. arXiv preprint arXiv: 2111.04263.
- Reddi, S. J., Charles, Z., Zaheer, M., Garrett, Z., Rush, K., Konečný, J., ... & McMahan, H. B. (2021). Adaptive federated optimization. Proceedings of the International Conference on Learning Representations (ICLR).
- Paszke, A., Gross, S., Massa, F., Lerer, A., Bradbury, J., Chanan, G., ... & Chintala, S. (2019). Pytorch: An imperative style, high-performance deep learning library. Advances in neural information processing systems, 32.