Open Access iconOpen Access

ARTICLE

crossmark

WebFLex: A Framework for Web Browsers-Based Peer-to-Peer Federated Learning Systems Using WebRTC

Mai Alzamel1,*, Hamza Ali Rizvi2, Najwa Altwaijry1, Isra Al-Turaiki1

1 Department of Computer Science, College of Computer and Information Sciences, King Saud University, Riyadh, Kingdom of Saudi Arabia
2 Department of Computer Science and Engineering, Punjab Engineering College, Chandigarh, India

* Corresponding Author: Mai Alzamel. Email: email

Computers, Materials & Continua 2024, 78(3), 4177-4204. https://doi.org/10.32604/cmc.2024.048370

Abstract

Scalability and information personal privacy are vital for training and deploying large-scale deep learning models. Federated learning trains models on exclusive information by aggregating weights from various devices and taking advantage of the device-agnostic environment of web browsers. Nevertheless, relying on a main central server for internet browser-based federated systems can prohibit scalability and interfere with the training process as a result of growing client numbers. Additionally, information relating to the training dataset can possibly be extracted from the distributed weights, potentially reducing the privacy of the local data used for training. In this research paper, we aim to investigate the challenges of scalability and data privacy to increase the efficiency of distributed training models. As a result, we propose a web-federated learning exchange (WebFLex) framework, which intends to improve the decentralization of the federated learning process. WebFLex is additionally developed to secure distributed and scalable federated learning systems that operate in web browsers across heterogeneous devices. Furthermore, WebFLex utilizes peer-to-peer interactions and secure weight exchanges utilizing browser-to-browser web real-time communication (WebRTC), efficiently preventing the need for a main central server. WebFLex has actually been measured in various setups using the MNIST dataset. Experimental results show WebFLex’s ability to improve the scalability of federated learning systems, allowing a smooth increase in the number of participating devices without central data aggregation. In addition, WebFLex can maintain a durable federated learning procedure even when faced with device disconnections and network variability. Additionally, it improves data privacy by utilizing artificial noise, which accomplishes an appropriate balance between accuracy and privacy preservation.

Keywords


Cite This Article

APA Style
Alzamel, M., Rizvi, H.A., Altwaijry, N., Al-Turaiki, I. (2024). Webflex: A framework for web browsers-based peer-to-peer federated learning systems using webrtc. Computers, Materials & Continua, 78(3), 4177-4204. https://doi.org/10.32604/cmc.2024.048370
Vancouver Style
Alzamel M, Rizvi HA, Altwaijry N, Al-Turaiki I. Webflex: A framework for web browsers-based peer-to-peer federated learning systems using webrtc. Computers Materials Continua . 2024;78(3):4177-4204 https://doi.org/10.32604/cmc.2024.048370
IEEE Style
M. Alzamel, H.A. Rizvi, N. Altwaijry, and I. Al-Turaiki "WebFLex: A Framework for Web Browsers-Based Peer-to-Peer Federated Learning Systems Using WebRTC," Computers Materials Continua , vol. 78, no. 3, pp. 4177-4204. 2024. https://doi.org/10.32604/cmc.2024.048370



cc This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 437

    View

  • 113

    Download

  • 1

    Like

Share Link