Table of Contents
Fetching ...

Secure Hierarchical Federated Learning in Vehicular Networks Using Dynamic Client Selection and Anomaly Detection

M. Saeid HaghighiFard, Sinem Coleri

TL;DR

The paper addresses security in hierarchical federated learning for vehicular networks by introducing a dynamic, reliability-based client selection framework with anomaly detection based on cosine similarity, deployed within a cluster-based HFL architecture. It builds a Vehicle Information Base to store vehicle state, performance history, anomaly records, and a reliability score that guides which vehicles participate in each learning round. Key contributions include a novel reliability scoring mechanism combining historical accuracy, contribution frequency, and anomaly history, plus multi-level anomaly detection and filtering that reduces the impact of malicious updates. Experimental results in SUMO/Kafka/PyTorch simulations show the approach preserves convergence and accuracy under adversarial scenarios, outperforming CosDefense and non-clustered baselines in terms of stability and resilience.

Abstract

Hierarchical Federated Learning (HFL) faces the significant challenge of adversarial or unreliable vehicles in vehicular networks, which can compromise the model's integrity through misleading updates. Addressing this, our study introduces a novel framework that integrates dynamic vehicle selection and robust anomaly detection mechanisms, aiming to optimize participant selection and mitigate risks associated with malicious contributions. Our approach involves a comprehensive vehicle reliability assessment, considering historical accuracy, contribution frequency, and anomaly records. An anomaly detection algorithm is utilized to identify anomalous behavior by analyzing the cosine similarity of local or model parameters during the federated learning (FL) process. These anomaly records are then registered and combined with past performance for accuracy and contribution frequency to identify the most suitable vehicles for each learning round. Dynamic client selection and anomaly detection algorithms are deployed at different levels, including cluster heads (CHs), cluster members (CMs), and the Evolving Packet Core (EPC), to detect and filter out spurious updates. Through simulation-based performance evaluation, our proposed algorithm demonstrates remarkable resilience even under intense attack conditions. Even in the worst-case scenarios, it achieves convergence times at $63$\% as effective as those in scenarios without any attacks. Conversely, in scenarios without utilizing our proposed algorithm, there is a high likelihood of non-convergence in the FL process.

Secure Hierarchical Federated Learning in Vehicular Networks Using Dynamic Client Selection and Anomaly Detection

TL;DR

The paper addresses security in hierarchical federated learning for vehicular networks by introducing a dynamic, reliability-based client selection framework with anomaly detection based on cosine similarity, deployed within a cluster-based HFL architecture. It builds a Vehicle Information Base to store vehicle state, performance history, anomaly records, and a reliability score that guides which vehicles participate in each learning round. Key contributions include a novel reliability scoring mechanism combining historical accuracy, contribution frequency, and anomaly history, plus multi-level anomaly detection and filtering that reduces the impact of malicious updates. Experimental results in SUMO/Kafka/PyTorch simulations show the approach preserves convergence and accuracy under adversarial scenarios, outperforming CosDefense and non-clustered baselines in terms of stability and resilience.

Abstract

Hierarchical Federated Learning (HFL) faces the significant challenge of adversarial or unreliable vehicles in vehicular networks, which can compromise the model's integrity through misleading updates. Addressing this, our study introduces a novel framework that integrates dynamic vehicle selection and robust anomaly detection mechanisms, aiming to optimize participant selection and mitigate risks associated with malicious contributions. Our approach involves a comprehensive vehicle reliability assessment, considering historical accuracy, contribution frequency, and anomaly records. An anomaly detection algorithm is utilized to identify anomalous behavior by analyzing the cosine similarity of local or model parameters during the federated learning (FL) process. These anomaly records are then registered and combined with past performance for accuracy and contribution frequency to identify the most suitable vehicles for each learning round. Dynamic client selection and anomaly detection algorithms are deployed at different levels, including cluster heads (CHs), cluster members (CMs), and the Evolving Packet Core (EPC), to detect and filter out spurious updates. Through simulation-based performance evaluation, our proposed algorithm demonstrates remarkable resilience even under intense attack conditions. Even in the worst-case scenarios, it achieves convergence times at \% as effective as those in scenarios without any attacks. Conversely, in scenarios without utilizing our proposed algorithm, there is a high likelihood of non-convergence in the FL process.
Paper Structure (7 sections, 1 equation, 2 figures, 2 tables)

This paper contains 7 sections, 1 equation, 2 figures, 2 tables.

Figures (2)

  • Figure 1: The accuracy in the EPC for various means and a variance of $0.3$ of the fake noise attack on the $10$th round.
  • Figure 2: The accuracy in the EPC for various means and a variance of $0.3$ of the fake noise attack continuously.