Skip to main content
QUICK REVIEW

[Paper Review] An Interpretable Federated Learning-based Network Intrusion Detection Framework

Tian Dong, Song Li|arXiv (Cornell University)|Jan 10, 2022
Network Security and Intrusion DetectionComputer Science7 citations
TL;DR

This paper proposes FedForest, a novel federated learning-based network intrusion detection framework that combines Gradient Boosting Decision Trees (GBDT) with federated learning to enable privacy-preserving, interpretable, and scalable intrusion detection. By training local GBDT models on client data and aggregating them on a central server, FedForest achieves high accuracy across diverse cyberattack tasks while supporting real-time detection of unknown attacks and enhanced privacy through differential privacy and machine unlearning.

ABSTRACT

Learning-based Network Intrusion Detection Systems (NIDSs) are widely deployed for defending various cyberattacks. Existing learning-based NIDS mainly uses Neural Network (NN) as a classifier that relies on the quality and quantity of cyberattack data. Such NN-based approaches are also hard to interpret for improving efficiency and scalability. In this paper, we design a new local-global computation paradigm, FEDFOREST, a novel learning-based NIDS by combining the interpretable Gradient Boosting Decision Tree (GBDT) and Federated Learning (FL) framework. Specifically, FEDFOREST is composed of multiple clients that extract local cyberattack data features for the server to train models and detect intrusions. A privacy-enhanced technology is also proposed in FEDFOREST to further defeat the privacy of the FL systems. Extensive experiments on 4 cyberattack datasets of different tasks demonstrate that FEDFOREST is effective, efficient, interpretable, and extendable. FEDFOREST ranks first in the collaborative learning and cybersecurity competition 2021 for Chinese college students.

Motivation & Objective

  • Address the limitations of existing learning-based NIDS, particularly poor interpretability, lack of privacy protection, and difficulty in handling unknown attacks.
  • Overcome data privacy concerns in collaborative intrusion detection by leveraging federated learning to keep raw network data localized on clients.
  • Improve model interpretability and scalability by replacing black-box neural networks with Gradient Boosting Decision Trees (GBDT).
  • Enable detection of unknown attacks through incremental model updates without retraining from scratch.
  • Integrate advanced privacy-enhancing techniques such as differential privacy and machine unlearning to protect client data from reconstruction attacks.

Proposed method

  • Design a client-server federated learning architecture where each client trains a local GBDT model on its private network traffic data.
  • Aggregate client model updates on the server using FedAvg-like aggregation to train a global GBDT classifier for intrusion detection.
  • Apply differential privacy to model updates by adding calibrated noise to gradients, ensuring $͔$-differential privacy with $͔ \in \{5, 10, 20, 50\}$.
  • Implement a machine unlearning mechanism inspired by SISA, allowing clients to be removed from the model by retraining only the affected server classifier.
  • Use data encoding techniques to anonymize client features before transmission, enhancing resistance to data leakage attacks like DLG.
  • Apply hyperparameter tuning via grid search on LightGBM and XGBoost configurations to optimize performance across multiple datasets.

Experimental results

Research questions

  • RQ1Can a federated learning framework based on GBDT achieve high accuracy in multi-task network intrusion detection while preserving data privacy?
  • RQ2How does the integration of differential privacy affect the accuracy and utility of the FedForest model across different cyberattack detection tasks?
  • RQ3To what extent can FedForest detect and adapt to unknown or zero-day attacks through incremental learning?
  • RQ4How effective is the proposed machine unlearning mechanism in removing the influence of specific clients from the global model with minimal retraining cost?
  • RQ5Can FedForest maintain interpretability and scalability across diverse intrusion detection tasks without architectural or model structure changes?

Key findings

  • FedForest achieved state-of-the-art performance in the 2021 Chinese College Students Collaborative Learning and Cybersecurity Competition, ranking first.
  • On four diverse datasets—DDoS2019, DoHBrw2020, Darknet2020, and MalDroid2020—FedForest achieved high accuracy across all tasks, demonstrating strong generalization and scalability.
  • With $͔ = 5$, FedForest maintained a high accuracy score despite stronger privacy protection, outperforming non-private DNN-based NIDS in utility-privacy trade-off.
  • The model's accuracy decreased with lower $͔$ values (stronger privacy), but remained significantly higher than baseline DNNs without differential privacy.
  • Machine unlearning was efficiently supported: removing a client required only retraining the server classifier on the remaining clients, with minimal computational overhead.
  • FedForest successfully classified known attack types and detected unknown attacks through anomaly scoring, enabling human expert intervention for further analysis.

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.