The experiment of federated learning algorithm
Abstract
As technology advances, concerns regarding data privacy and security have become prominent challenges in machine learning applications. Nevertheless, the introduction of federated learning technology has effectively tackled this concern by concurrently enhancing model performance and preserving data privacy, thereby presenting a more secure and efficient solution within our digital realm. Utilizing discussions about the background of federated learning technology, coupled with pertinent algorithmic procedures and logic, this paper proficiently implements the FedMA algorithm. Additionally, the study performs a comparative analysis of the accuracy and efficiency of the FedMA, FedAvg, FedDyn, and MOON algorithms utilizing the Fashion-MNIST dataset. Moreover, the investigation not only optimizes parameter tuning for the MOON algorithm but also extends experiments to the CIFAR-10 and AGNews datasets, thereby providing additional comparisons of performance and strengths among various federated learning algorithms. In conclusion, the paper provides a comprehensive summary and outlines potential avenues for future research. These insights enhance the comprehension of federated learning and offer valuable guidance to advance and refine its practical applications.
References
- McMahan, B., Moore, E., Ramage, D., Hampson, S., &Arcas, B. A.: Communication-efficient learning of deep networks from decentralized data. In: Artificial Intelligence and Statistics (AISTATS), pp. 1273-1282. PMLR (2017).
- Kairouz, P., McMahan, H. B., Avent, B., Bellet, A., Bennis, M., Bhagoji, A. N., ... &Zhao, S.: Advances and open problems in federated learning. Foundations and Trends® in Machine Learning, 14(1–2), 1-210 (2021).
- Abadi, M., Chu, A., Goodfellow, I., McMahan, H. B., Mironov, I., Talwar, K., & Zhang, L.: Deep learning with differential privacy. In Proceedings of the 2016 ACM SIGSAC Conference on Computer and Communications Security, pp. 308-318 (2016).
- Bonawitz, K., Ivanov, V., Kreuter, B., Marcedone, A., McMahan, H. B., Patel, S., & Seth, K.: Practical secure aggregation for privacy-preserving machine learning. In Proceedings of the 2017 ACM SIGSAC Conference on Computer and Communications Security, pp. 1175-1191 (2017).
- Yang, Q., Liu, Y., Chen, T., & Tong, Y.: Federated machine learning: Concept and applications. ACM Transactions on Intelligent Systems and Technology (TIST), 10(2), 1-19 (2019).
- Cui, J., Zhu, H., Deng, H., Chen, Z., & Liu, D.: FeARH: Federated machine learning with anonymous random hybridization on electronic medical records. Journal of Biomedical Informatics, 117, 103735 (2021).
- Chen, S., Duan, B., Zhu, C., Tang, C., Wang, S., Gao, Y., & Liu, Q.: Privacy-preserving integration of multiple institutional data for single-cell type identification with scPrivacy. Science China Life Sciences, 66(5), 1183-1195 (2023).
- Yu, F., Xu, Z., Qin, Z., & Chen, X.: Privacy-preserving federated learning for transportation mode prediction based on personal mobility data. High-Confidence Computing, 2(4), 100082 (2022).
- Liu, Y., James, J. Q., Kang, J., Niyato, D., & Zhang, S.: Privacy-preserving traffic flow prediction: A federated learning approach. IEEE Internet of Things Journal, 7(8), 7751-7763 (2020).
- Wang, H., Yurochkin, M., Sun, Y., Papailiopoulos, D., & Khazaeni, Y.: Federated learning with matched averaging. arXiv preprint arXiv:2002.06440 (2020).
- Acar, D. A. E., Zhao, Y., Navarro, R. M., Mattina, M., Whatmough, P. N., & Saligrama, V.: Federated learning based on dynamic regularization. arXiv preprint arXiv:2111.04263 (2021).
- Tan, Y., Long, G., Ma, J., Liu, L., Zhou, T., & Jiang, J.: Federated learning from pre-trained models: A contrastive learning approach. Advances in Neural Information Processing Systems, 35, 19332-19344 (2022).
- PFL-Non-IID Homepage, https://github.com/TsingZ0/PFL-Non-IID, last accessed 2023/8/15
- Xiao, H., Rasul, K., & Vollgraf, R.: “Fashion-mnist: a novel image dataset for benchmarking machine learning algorithms.” arXiv preprint arXiv:1708.07747 (2017).
- LeCun, Y., Bottou, L., Bengio, Y., & Haffner, P.: Gradient-based learning applied to document recognition. Proceedings of the IEEE, 86(11), 2278-2324 (1998).
- He, K., Zhang, X., Ren, S., & Sun, J.: Deep residual learning for image recognition. In Proceedings of the IEEE Conference on computer vision and pattern recognition, pp. 770-778. Publisher, Location (2016).
- Hochreiter, S., & Schmidhuber, J.: Long short-term memory. Neural Computation, 9(8), 1735-1780 (1997).
- Graves, A., & Graves, A.: Long short-term memory. Supervised sequence labeling with recurrent neural networks, 37-45 (2012).