Skip to main content
QUICK REVIEW

[Paper Review] Studying the Robustness of Anti-adversarial Federated Learning Models Detecting Cyberattacks in IoT Spectrum Sensors

Pedro Miguel Sánchez Sánchez, Alberto Huertas Celdrán|arXiv (Cornell University)|Jan 31, 2022
Adversarial Robustness in Machine LearningComputer Science5 citations
TL;DR

This paper introduces a novel federated learning (FL) framework for detecting spectrum sensing data falsification (SSDF) attacks in resource-constrained IoT spectrum sensors using device behavioral fingerprinting. It evaluates FL robustness under data and model poisoning attacks using four aggregation methods, showing that trimmed mean and coordinate-wise median improve resilience, though no method guarantees full robustness against high adversary ratios, with anomaly detection outperforming binary classification in privacy-preserving settings.

ABSTRACT

Device fingerprinting combined with Machine and Deep Learning (ML/DL) report promising performance when detecting cyberattacks targeting data managed by resource-constrained spectrum sensors. However, the amount of data needed to train models and the privacy concerns of such scenarios limit the applicability of centralized ML/DL-based approaches. Federated learning (FL) addresses these limitations by creating federated and privacy-preserving models. However, FL is vulnerable to malicious participants, and the impact of adversarial attacks on federated models detecting spectrum sensing data falsification (SSDF) attacks on spectrum sensors has not been studied. To address this challenge, the first contribution of this work is the creation of a novel dataset suitable for FL and modeling the behavior (usage of CPU, memory, or file system, among others) of resource-constrained spectrum sensors affected by different SSDF attacks. The second contribution is a pool of experiments analyzing and comparing the robustness of federated models according to i) three families of spectrum sensors, ii) eight SSDF attacks, iii) four scenarios dealing with unsupervised (anomaly detection) and supervised (binary classification) federated models, iv) up to 33% of malicious participants implementing data and model poisoning attacks, and v) four aggregation functions acting as anti-adversarial mechanisms to increase the models robustness.

Motivation & Objective

  • Address the lack of FL-oriented datasets for behavioral fingerprinting in resource-constrained IoT devices, particularly spectrum sensors.
  • Evaluate the performance of federated models in detecting SSDF attacks using both supervised (binary classification) and unsupervised (anomaly detection) learning.
  • Assess the robustness of FL models under data and model poisoning attacks with up to 33% malicious participants.
  • Compare the effectiveness of four aggregation functions—FedAvg, trimmed mean, and coordinate-wise median—as anti-adversarial mechanisms.
  • Demonstrate that FL can achieve detection performance competitive with centralized deep learning while preserving data privacy.

Proposed method

  • Constructed a publicly available dataset capturing normal and SSDF-affected behavior of four ElectroSense spectrum sensors using three Raspberry Pi families.
  • Monitored 75 internal system events (CPU, memory, network, file system) across two normal behavior versions and eight SSDF attack variants.
  • Designed four federated learning scenarios: two for anomaly detection and two for binary classification, using FL with privacy-preserving model aggregation.
  • Implemented three anti-adversarial aggregation mechanisms: FedAvg, trimmed mean (two variants), and coordinate-wise median to mitigate poisoning attacks.
  • Evaluated model performance under four attack types: label flipping, model canceling, random uploads, and data poisoning, across varying numbers of malicious participants (up to 33%).
  • Used metrics such as F1-score and AUC to compare detection performance between FL and centralized DL baselines, focusing on zero-day attack detection capability.

Experimental results

Research questions

  • RQ1Can federated learning with device behavioral fingerprinting achieve detection performance comparable to centralized deep learning in detecting SSDF attacks on resource-constrained spectrum sensors?
  • RQ2How does the presence of up to 33% malicious participants affect the robustness of federated models under data and model poisoning attacks?
  • RQ3Which aggregation function—FedAvg, trimmed mean, or coordinate-wise median—provides the most effective defense against adversarial attacks in FL-based SSDF detection?
  • RQ4Does anomaly detection outperform binary classification in terms of robustness and detection accuracy under federated and privacy-preserving settings?
  • RQ5To what extent can anti-adversarial aggregation mechanisms filter out malicious updates while preserving the integrity of honest participants’ contributions?

Key findings

  • Federated learning with behavioral fingerprinting achieves detection performance competitive with centralized deep learning models, especially in anomaly detection scenarios.
  • The FedAvg aggregation method is highly unstable under poisoning attacks, as extreme values from malicious participants distort the global model average.
  • Trimmed mean aggregation provides better robustness than FedAvg, effectively filtering out extreme values up to a certain threshold of adversaries, especially benefiting RPi4 devices.
  • Coordinate-wise median shows strong resilience against extreme values but leads to unstable performance in heterogeneous federations, particularly with low numbers of adversaries.
  • Under label flipping and model canceling attacks, trimmed mean and coordinate-wise median reduce performance degradation compared to FedAvg, but still result in significant detection accuracy loss compared to clean training.
  • Anomaly detection consistently outperforms binary classification in federated settings, particularly under privacy constraints and adversarial conditions, due to its ability to detect zero-day attacks without labeled data.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.