P2P Federated Learning Based on Node Segmentation with Privacy Protection for IoV
Abstract
:1. Introduction
- An F-Prim algorithm, derived from Prim’s algorithm and centrality algorithm, was devised to group nodes based on proximity while constraining the diameters of the subgraphs, thereby forming a P2P architecture.
- The propagation path of models within the P2P architecture is designed according to the node hierarchy, wherein nodes propagate from the periphery to the core of the subgraph for aggregation, facilitating the completion of the model aggregation process at the C-node (central node).
- A personalized differential privacy scheme was formulated, enabling each node to adjust the amount of noise added to the model parameters based on its distance from other nodes. This scheme aims to strike a balance between security and model quality.
2. Related Work
3. System Model
3.1. P2P-Based IoV Scenarios
3.2. Node Segmentation to Build P2P-Based Federated Learning Architecture
Algorithm 1: F-Prim Algorithm |
4. P2P-Based Federated Learning Process with Its Privacy Protection
4.1. P2P-Based Federated Learning Process
4.1.1. Path Selection
4.1.2. Aggregated Simultaneous Transmission
4.1.3. Model Weight Adjustment
4.2. Personalized Differential Privacy
Algorithm 2: Federated learning process |
5. Experimentation and Analysis
5.1. Node Segmentation
5.2. Aggregated Simultaneous Transmission
5.2.1. Communication Time
5.2.2. Number of Aggregations
5.3. Personalized Differential Privacy
6. Algorithm-Related Proofs
6.1. Proof of P2P Architecture
6.2. Aggregation Weight Proof
6.2.1. Calculation of Weight
6.2.2. Analysis and Solutions
6.3. Convergence Proof for Global Model
7. Conclusions
- The current design will limit the diameter of each subgraph; there is a better solution through implementing geolocation-based grouping.
- How other privacy-preserving algorithms should be implemented in this specific architecture.
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
Abbreviations
IoV | Internet of Vehicles |
C-S | Client–server |
P2P | Peer-to-peer |
C-node | Center node |
References
- Feng, Y.; Mao, G.; Chen, B.; Li, C.; Hui, Y.; Xu, Z.; Chen, J. MagMonitor: Vehicle speed estimation and vehicle classification through a magnetic sensor. IEEE Trans. Intell. Transp. Syst. 2020, 23, 1311–1322. [Google Scholar] [CrossRef]
- McMahan, B.; Moore, E.; Ramage, D.; Hampson, S.; Arcas, B.A. Communication-efficient learning of deep networks from decentralized data. In Proceedings of the Artificial Intelligence and Statistics, PMLR, Fort Lauderdale, FL, USA, 20–22 April 2017; pp. 1273–1282. [Google Scholar]
- Yang, Q.; Liu, Y.; Chen, T.; Tong, Y. Federated machine learning: Concept and applications. ACM Trans. Intell. Syst. Technol. (TIST) 2019, 10, 1–19. [Google Scholar] [CrossRef]
- Samarakoon, S.; Bennis, M.; Saad, W.; Debbah, M. Distributed federated learning for ultra-reliable low-latency vehicular communications. IEEE Trans. Commun. 2019, 68, 1146–1159. [Google Scholar] [CrossRef]
- Kong, X.; Gao, H.; Shen, G.; Duan, G.; Das, S.K. Fedvcp: A federated-learning-based cooperative positioning scheme for social internet of vehicles. IEEE Trans. Comput. Soc. Syst. 2021, 9, 197–206. [Google Scholar] [CrossRef]
- Yuan, L.; Ma, Y.; Su, L.; Wang, Z. Peer-to-peer federated continual learning for naturalistic driving action recognition. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Vancouver, BC, Canada, 17–24 June 2023; pp. 5249–5258. [Google Scholar]
- Barbieri, L.; Savazzi, S.; Brambilla, M.; Nicoli, M. Decentralized federated learning for extended sensing in 6G connected vehicles. Veh. Commun. 2022, 33, 100396. [Google Scholar] [CrossRef]
- Lu, Y.; Huang, X.; Dai, Y.; Maharjan, S.; Zhang, Y. Differentially private asynchronous federated learning for mobile edge computing in urban informatics. IEEE Trans. Ind. Inform. 2019, 16, 2134–2143. [Google Scholar] [CrossRef]
- Chen, J.H.; Chen, M.R.; Zeng, G.Q.; Weng, J.S. BDFL: A byzantine-fault-tolerance decentralized federated learning method for autonomous vehicle. IEEE Trans. Veh. Technol. 2021, 70, 8639–8652. [Google Scholar] [CrossRef]
- Niu, M.; Cheng, B.; Feng, Y.; Chen, J. GMTA: A geo-aware multi-agent task allocation approach for scientific workflows in container-based cloud. IEEE Trans. Netw. Serv. Manag. 2020, 17, 1568–1581. [Google Scholar] [CrossRef]
- Dekker, A. Conceptual distance in social network analysis. J. Soc. Struct. 2005, 6, 31. [Google Scholar]
- Freeman, L.C. Centrality in social networks: Conceptual clarification. Soc. Netw. 2002, 1, 238–263. [Google Scholar] [CrossRef]
- Freeman, L.C. A set of measures of centrality based on betweenness. Sociometry 1977, 40, 35–41. [Google Scholar] [CrossRef]
- Dwork, C. Differential privacy. In Proceedings of the International Colloquium on Automata, Languages, and Programming, Venice, Italy, 10–14 July 2006; Springer: Berlin/Heidelberg, Germany, 2006; pp. 1–12. [Google Scholar]
- Wei, K.; Li, J.; Ding, M.; Ma, C.; Yang, H.H.; Farokhi, F.; Jin, S.; Quek, T.Q.; Poor, H.V. Federated learning with differential privacy: Algorithms and performance analysis. IEEE Trans. Inf. Forensics Secur. 2020, 15, 3454–3469. [Google Scholar] [CrossRef]
- Chen, Q.; Wang, Z.; Zhang, W.; Lin, X. PPT: A privacy-preserving global model training protocol for federated learning in P2P networks. Comput. Secur. 2023, 124, 102966. [Google Scholar] [CrossRef]
- Chen, Q.; Wang, Z.; Zhou, Y.; Chen, J.; Xiao, D.; Lin, X. CFL: Cluster federated learning in large-scale peer-to-peer networks. In Proceedings of the International Conference on Information Security, Taipei, Taiwan, 23–25 November 2022; Springer: Berlin/Heidelberg, Germany, 2022; pp. 464–472. [Google Scholar]
- Li, X.; Huang, K.; Yang, W.; Wang, S.; Zhang, Z. On the convergence of fedavg on non-iid data. arXiv 2019, arXiv:1907.02189. [Google Scholar]
Symbol | Meaning |
---|---|
The maximum number of nodes in a single subgraph | |
The cardinality of a set | |
The i-th node | |
The database held by the owner | |
The edge between and | |
The distance between and | |
The maximum of distance in G | |
The maximum of the distance between and ’s neighbor node | |
The minimum length between and | |
The ID of the C-node | |
The value of the harmonic centrality of | |
The set of one-layer node IDs | |
The set of two-layer node IDs | |
t | The index of the t-th aggregation |
T | The number of aggregation times |
The vector of model parameters | |
Initial parameters | |
The local training parameters of the i-th node at the t-th aggregation | |
Local training parameters with noise | |
Aggregated parameters on | |
Gaussian noise function | |
The noise added by | |
The sensitivity of | |
Sigma | |
C | Clipping threshold |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Zhao, J.; Guo, Y.; Yang, B.; Wang, Y. P2P Federated Learning Based on Node Segmentation with Privacy Protection for IoV. Electronics 2024, 13, 2276. https://doi.org/10.3390/electronics13122276
Zhao J, Guo Y, Yang B, Wang Y. P2P Federated Learning Based on Node Segmentation with Privacy Protection for IoV. Electronics. 2024; 13(12):2276. https://doi.org/10.3390/electronics13122276
Chicago/Turabian StyleZhao, Jia, Yating Guo, Bokai Yang, and Yanchun Wang. 2024. "P2P Federated Learning Based on Node Segmentation with Privacy Protection for IoV" Electronics 13, no. 12: 2276. https://doi.org/10.3390/electronics13122276
APA StyleZhao, J., Guo, Y., Yang, B., & Wang, Y. (2024). P2P Federated Learning Based on Node Segmentation with Privacy Protection for IoV. Electronics, 13(12), 2276. https://doi.org/10.3390/electronics13122276