FedEdge: Federated Learning with Docker and Kubernetes forScalable and Efficient Edge Computing
EWSN '23: Proceedings of the 2023 INTERNATIONAL CONFERENCE ON EMBEDDED WIRELESS SYSTEMS AND NETWORKS
Pages 339 - 344
Abstract
This paper introduces a novel framework that integrates Docker and Kubernetes to address well-known challenges in federated learning. Federated learning has gained significant attention as a privacy-preserving and scalable machine learning paradigm. However, existing frameworks often lack portability, scalability, resource efficiency, fault tolerance, standardization, and ecosystem integration. To overcome these limitations, we propose a conceptual framework that combines Tensorflow FL with Docker’s containerization capabilities and Kubernetes’ orchestration capabilities. Our approach fills all the gaps in existing FL frameworks. By leveraging Docker containers, our model achieves efficient resource allocation, maximizing computing resources while maintaining portability and scalability. Kubernetes further enhances resource allocation by orchestrating the deployment of these containers, minimizing resource consumption. Our proposed framework provides opportunities for large-scale distributed machine learning applications, enabling the widespread use of federated learning methodologies.
References
[1]
Federated Learning | TensorFlow Federated. https://www.tensorflow.org/federated/federated_learning.
[2]
Yu, R., & Li, P. Toward resource-efficient federated learning in mobile edge computing. IEEE Network, 35(1):148–155, 2021.
[3]
Nguyen, Q.-M., Phan, L.-A., & Kim, T. Load-balancing of Kubernetes-based edge computing infrastructure using resource adaptive proxy. Sensors, 22(8):2869, 2022.
[4]
Kim, J., Kim, D., & Lee, J. Design and Implementation of Kubernetes enabled Federated Learning Platform. In International Conference on Information and Communication Technology Convergence, pages 410–412, 2021.
[5]
Park, J., & Woo Kum, S. Design and Development of Server-Client Cooperation Framework for Federated Learning. In International Conference on Ubiquitous and Future Networks, pages 271–273, 2022.
[6]
Chahoud, M., Otoum, S., & Mourad, A. On the feasibility of Federated Learning towards on-demand client deployment at the edge. Information Processing & Management, 60(1):103150, 2023.
[7]
Chahoud, M., Sami, H., Mourad, A., Otoum, S., Otrok, H., Bentahar, J., & Guizani, M. On-demand-fl: A dynamic and efficient multi-criteria federated learning client deployment scheme. IEEE Internet of Things Journal, 2023.
[8]
Karanika, A., Soula, M., Anagnostopoulos, C., Kolomvatsos, K., & Stamoulis, G. Optimized analytics query allocation at the edge of the network. In International Conference on Internet and Distributed Computing Systems, pages 181–190. Springer, 2019.
[9]
Bonomi, F., Milito, R., Natarajan, P., & Zhu, J. Fog computing: A platform for Internet of Things and analytics. In Big Data and Internet of Things: A roadmap for smart environments, pages 169–186, 2014.
[10]
Pham, Q.-V., Fang, F., Ha, V. N., Piran, M. J., Le, M., Le, L. B., Hwang, W.-J., & Ding, Z. A survey of multi-access edge computing in 5G and beyond: Fundamentals, technology integration, and state-of-the-art. IEEE Access, 8:116974–117017, 2020.
[11]
Pahl, C., & Lee, B. Containers and clusters for edge cloud architectures–a technology review. In International Conference on Future Internet of Things and Cloud, pages 379–386. IEEE, 2015.
[12]
Barr, K., Bungale, P., Deasy, S., Gyuris, V., Hung, P., Newell, C., Tuch, H., & Zopfis, B. The VMware mobile virtualization platform: is that a hypervisor in your pocket? ACM SIGOPS Operating Systems Review, 44(4):124–135, 2010.
[13]
Liu, S., Liu, L., Tang, J., Yu, B., Wang, Y., & Shi, W. Edge computing for autonomous driving: Opportunities and challenges. Proceedings of the IEEE, 107(8):1697–1716, 2019.
[14]
Phan, L.-A., & Kim, T. Traffic-aware horizontal pod autoscaler in Kubernetes-based edge computing infrastructure. IEEE Access, 10:18966–18977, 2022.
[15]
Duan, Q., Huang, J., Hu, S., Deng, R., Lu, Z., & Yu, S. Combining Federated Learning and Edge Computing toward Ubiquitous Intelligence: Challenges, Recent Advances, and Future Directions, 2022.
[16]
Park, J., & Kum, S. W. Design and Development of Server-Client Cooperation Framework for Federated Learning. In International Conference on Ubiquitous and Future Networks, pages 271–273. IEEE, 2022.
[17]
Paszke, A., Gross, S., Massa, F., Lerer, A., Bradbury, J., Chanan, G., Killeen, T., Lin, Z., Gimelshein, N., Antiga, L., Desmaison, A., Kopf, A., Yang, E., DeVito, Z., Raison, M., Tejani, A., Chilamkurthy, S., Steiner, B., Fang, L., Bai, J., & Chintala, S. Pytorch: An imperative style, high-performance deep learning library. In Advances in Neural Information Processing Systems 32, pages 8024–8035. Curran Associates, Inc., 2019.
[18]
Abadi, M., Barham, P., Chen, J., Chen, Z., Davis, A., Dean, J., Devin, M., Ghemawat, S., Irving, G., Isard, M., et al. Tensorflow: A system for large-scale machine learning. In 12th USENIX Symposium on Operating Systems Design and Implementation (OSDI 16), pages 265–283, 2016.
[19]
Pedregosa, F., Varoquaux, G., Gramfort, A., Michel, V., Thirion, B., Grisel, O., Blondel, M., Prettenhofer, P., Weiss, R., Dubourg, V., Vanderplas, J., Passos, A., Cournapeau, D., Brucher, M., Perrot, M., & Duchesnay, E. Scikit-learn: Machine learning in Python. Journal of Machine Learning Research, 12:2825–2830, 2011.
Information & Contributors
Information
Published In
December 2023
426 pages
Sponsors
In-Cooperation
Publisher
Association for Computing Machinery
New York, NY, United States
Publication History
Published: 15 December 2023
Check for updates
Qualifiers
- Article
Conference
EWSN '23
Acceptance Rates
EWSN '23 Paper Acceptance Rate 31 of 56 submissions, 55%;
Overall Acceptance Rate 81 of 195 submissions, 42%
Contributors
Other Metrics
Bibliometrics & Citations
Bibliometrics
Article Metrics
- 0Total Citations
- 0Total Downloads
- Downloads (Last 12 months)0
- Downloads (Last 6 weeks)0
Reflects downloads up to 01 Feb 2025