Title: How to learn collaboratively - Federated learning to peer-to-peer learning and what's at stake.
Standard ML relies on training using a centrally collected dataset, while collaborative learning techniques such as Federated Learning (FL) enable data to remain decentralized at client locations. In FL, a central server coordinates the training process, reducing computation and communication expenses for clients. However, this centralization can lead to server congestion and heightened risk of malicious activity or data privacy breaches. In contrast, Peer-to-Peer Learning (P2PL) is a fully decentralized system where nodes manage both local training and aggregation tasks. While P2PL promotes privacy by eliminating the need to trust a single node, it also results in increased computation and communication costs, along with potential difficulties in achieving consensus among nodes. To address the limitations of both FL and P2PL, we propose a hybrid approach called Hubs-and-Spokes Learning (HSL). In HSL, hubs function similarly to FL servers, maintaining consensus but exerting less control over spokes. This paper argues that HSL’s design allows for greater availability and privacy than FL, while reducing computation and communication costs compared to P2PL. Additionally, HSL maintains consensus and integrity in the learning process.  more » « less
Award ID(s):
2146449
PAR ID:
10492608
Author(s) / Creator(s):
; ; ; ; ;
Publisher / Repository:
IEEE/IFIP
Date Published:
Journal Name:
53rd Annual IEEE/IFIP International Conference on Dependable Systems and Networks (DSN), “Disrupt 23: Disruptive Ideas and New Interdisciplinary Results” Track
Subject(s) / Keyword(s):
Federated learning, peer-to-peer learning, mixing matrix, gossip learning, availability, integrity, privacy.
Sponsoring Org:
National Science Foundation
More Like this
  1. Federated learning (FL) enables multiple participants to train a global machine learning model without sharing their private training data. Peer-to-peer (P2P) FL advances existing centralized FL paradigms by eliminating the server that aggregates local models from participants and then updates the global model. However, P2P FL is vulnerable to (i) honest-but-curious participants whose objective is to infer private training data of other participants, and (ii) Byzantine participants who can transmit arbitrarily manipulated local models to corrupt the learning process. P2P FL schemes that simultaneously guarantee Byzantine resilience and preserve privacy have been less studied. In this paper, we develop Brave, a protocol that ensures Byzantine Resilience And priVacy-prEserving property for P2P FL in the presence of both types of adversaries. We show that Brave preserves privacy by establishing that any honest-but-curious adversary cannot infer other participants’ private data by observing their models. We further prove that Brave is Byzantine-resilient, which guarantees that all benign participants converge to an identical model that deviates from a global model trained without Byzantine adversaries by a bounded distance. We evaluate Brave against three state-of-the-art adversaries on a P2P FL for image classification tasks on benchmark datasets CIFAR10 and MNIST. Our results show that global models learned with Brave in the presence of adversaries achieve comparable classification accuracy to global models trained in the absence of any adversary. 
    more » « less
  2. We present P2PL, a practical multi-device peer-to-peer deep learning algorithm that, unlike the federated learning paradigm, does not require coordination from edge servers or the cloud. This makes P2PL well-suited for the sheer scale of beyond-5G computing environments like smart cities that otherwise create range, latency, bandwidth, and single point of failure issues for federated approaches. P2PL introduces max norm synchronization to catalyze training, preserves on-device deep model training to preserve privacy, and leverages local inter-device communication to implement distributed consensus. Each device iteratively alternates between two phases: 1) on-device learning and 2) peer-to-peer cooperation where they combine model parameters with nearby devices. We empirically show that all participating devices achieve the same test performance attained by federated and centralized training – even with 100 devices and relaxed singly stochastic consensus weights. We extend results to experimental settings with diverse network topologies, sparse and intermittent communication, and non-IID data distributions. 
    more » « less
  3. Peer-to-peer learning is an increasingly popular framework that enables beyond-5G distributed edge devices to collaboratively train deep neural networks in a privacy-preserving manner without the aid of a central server. Neural network training algorithms for emerging environments, e.g., smart cities, have many design considerations that are difficult to tune in deployment settings – such as neural network architectures and hyperparameters. This presents a critical need for characterizing the training dynamics of distributed optimization algorithms used to train highly nonconvex neural networks in peer-to-peer learning environments. In this work, we provide an explicit characterization of the learning dynamics of wide neural networks trained using popular distributed gradient descent (DGD) algorithms. Our results leverage both recent advancements in neural tangent kernel (NTK) theory and extensive previous work on distributed learning and consensus. We validate our analytical results by accurately predicting the parameter and error dynamics of wide neural networks trained for classification tasks. 
    more » « less
  4. Federated Learning (FL) has emerged as a powerful paradigm for distributed model training that preserves data privacy while aggregating model updates through a central server. However, efficiently implementing federated learning in resource-constrained and heterogeneous edge environments remains challenging due to the trade-off between convergence performance and computation/communication costs. Most of the existing approaches only heuristically tune the compression and computation parameters without directly minimizing the theoretical convergence bound. In this paper, we propose the first FL framework, Convergence-driven Federated learning (ConFed), that explicitly formulates and minimizes the non-convex convergence error upper bound under time-averaged expected resource constraints, providing a principled foundation for joint optimization of computation and compression. ConFed supports diverse compression mechanisms, including Top-k sparsification, random quantization, and their combinations. Extensive experiments on Fashion-MNIST (FMNIST) and CIFAR-10 demonstrate that our method achieves faster convergence and lower resource costs compared to state-of-the-art approaches. 
    more » « less
  5. Structural Health Monitoring (SHM) systems play a critical role in maintaining the safety and operational efficiency of infrastructure such as miter gates managed by the United States Army Corps of Engineers (USACE). These gates, integral to navigation and flood control systems, demand robust and efficient monitoring techniques to predict failures and thus optimize maintenance schedules. Any unexpected shutdown costs nearly three million dollars per day to the US economy. The existing traditional data centralized machine learning approaches for SHM often face challenges, including data privacy concerns, high communication costs, and computational limitations. This study mainly explores the application of Federated Learning (FL) techniques to SHM systems using three finite element miter gate models for the loss-of-contact damage detection problem. This approach addresses these challenges by enabling decentralized training of machine learning models across multiple assets. FL ensures data privacy by keeping sensitive information local while leveraging shared global models through aggregation methods. Our results demonstrate that FL can achieve comparable prediction accuracy to centralized methods while maintaining data privacy and reducing communication overhead. This framework improves model accuracy by incorporating diverse data distributions from different gates and their operational conditions. The study also highlights the scalability of FL in handling large-scale SHM systems, making it a viable solution for USACE to extend the lifespan of their critical assets. 
    more » « less