Skip to main content
QUICK REVIEW

[Paper Review] Federated Learning for Intrusion Detection in IoT Security: A Hybrid Ensemble Approach

Sayan Chatterjee, Manjesh K. Hanawal|arXiv (Cornell University)|Jun 25, 2021
Network Security and Intrusion DetectionComputer Science4 citations
TL;DR

This paper proposes a hybrid ensemble Intrusion Detection System (PHEC) for IoT security using federated learning to preserve privacy, with a noise-tolerant variant (NT-PHEC) that improves robustness to label noise. The method combines KNN, Random Forest, and MLP classifiers with weighted loss functions, achieving high TPR and low FPR, outperforming state-of-the-art models—especially on noisy data in both centralized and federated settings.

ABSTRACT

Critical role of Internet of Things (IoT) in various domains like smart city, healthcare, supply chain and transportation has made them the target of malicious attacks. Past works in this area focused on centralized Intrusion Detection System (IDS), assuming the existence of a central entity to perform data analysis and identify threats. However, such IDS may not always be feasible, mainly due to spread of data across multiple sources and gathering at central node can be costly. Also, the earlier works primarily focused on improving True Positive Rate (TPR) and ignored the False Positive Rate (FPR), which is also essential to avoid unnecessary downtime of the systems. In this paper, we first present an architecture for IDS based on hybrid ensemble model, named PHEC, which gives improved performance compared to state-of-the-art architectures. We then adapt this model to a federated learning framework that performs local training and aggregates only the model parameters. Next, we propose Noise-Tolerant PHEC in centralized and federated settings to address the label-noise problem. The proposed idea uses classifiers using weighted convex surrogate loss functions. Natural robustness of KNN classifier towards noisy data is also used in the proposed architecture. Experimental results on four benchmark datasets drawn from various security attacks show that our model achieves high TPR while keeping FPR low on noisy and clean data. Further, they also demonstrate that the hybrid ensemble models achieve performance in federated settings close to that of the centralized settings.

Motivation & Objective

  • Address the limitations of centralized Intrusion Detection Systems (IDS) in IoT, including high communication costs and privacy concerns due to data centralization.
  • Develop a hybrid ensemble model (PHEC) that balances high True Positive Rate (TPR) and low False Positive Rate (FPR) through tunable thresholding.
  • Adapt PHEC to a federated learning framework to enable decentralized training while preserving data privacy.
  • Tackle the challenge of label noise in training data by introducing Noise-Tolerant PHEC (NT-PHEC) using weighted convex surrogate loss functions and KNN’s robustness.
  • Evaluate the performance of PHEC and NT-PHEC on benchmark IoT datasets under both clean and noisy conditions in centralized and federated settings.

Proposed method

  • Design a probabilistic hybrid ensemble classifier (PHEC) that combines outputs from KNN and Random Forest using a weighted average, with final prediction based on a tunable threshold γ.
  • Adapt PHEC to federated learning by replacing non-differentiable models (KNN, RF) with Multi-layer Perceptrons (MLPs) for local training and parameter sharing.
  • Introduce Noise-Tolerant PHEC (NT-PHEC) using weighted convex surrogate loss functions to reduce sensitivity to mislabeled data in both centralized and federated settings.
  • Leverage the natural robustness of KNN to noisy data by constraining the KNN classifier in NT-PHEC to K ≥ 5, reducing overfitting to noisy labels.
  • Aggregate model parameters across devices via FedAvg in federated learning, with shared MLP weights enabling gradient-based optimization.
  • Use a single-layer MLP in NT-PHEC for federated settings to reduce complexity, while PHEC employs deeper MLPs with multiple hidden layers for better pattern capture on clean data.

Experimental results

Research questions

  • RQ1Can a hybrid ensemble model achieve a favorable trade-off between high TPR and low FPR in IoT intrusion detection, and can this be tuned via a single hyperparameter?
  • RQ2How does the performance of the PHEC model in federated learning compare to its centralized counterpart, especially in terms of detection accuracy and robustness?
  • RQ3To what extent does label noise degrade the performance of traditional ensemble models in IoT IDS, and can this be mitigated effectively?
  • RQ4Does the proposed Noise-Tolerant PHEC (NT-PHEC) significantly improve detection accuracy on noisy datasets compared to standard PHEC in both centralized and federated settings?
  • RQ5Can the use of weighted convex surrogate loss functions and KNN’s robustness enhance model generalization under real-world label noise conditions in federated IoT environments?

Key findings

  • On clean data, PHEC outperforms NT-PHEC in both centralized and federated settings, with a mean accuracy difference of 2.1% in centralized and 4% in federated settings, due to superior model flexibility and ensembling in PHEC.
  • On noisy data, NT-PHEC significantly outperforms PHEC, achieving a mean accuracy gain of 8.53% across four datasets in centralized settings, demonstrating strong noise tolerance.
  • In federated settings, NT-PHEC achieves a mean accuracy improvement of 2.67% over PHEC on noisy data, confirming its effectiveness in decentralized, noisy environments.
  • For the DS2OS dataset under 20% noise, NT-PHEC achieves 95.13% accuracy in federated settings, compared to 88.46% for PHEC, highlighting its robustness to high noise levels.
  • On the Gas Pipeline dataset with 20% noise, NT-PHEC achieves 92.74% accuracy in centralized settings and 89.98% in federated settings, showing strong consistency across settings.
  • The proposed NT-PHEC model maintains high detection performance even when rare attacks are underrepresented, as federated averaging is stabilized by noise-robust training, reducing bias toward common attack types.

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.