Distributed Random Forests for NIDS with Edge and Global Model Aggregation

The growing sophistication of cyber threats necessitates scalable, privacy-preserving solutions for network intrusion detection. This study proposes Federated Forest, a decentralized framework leveraging federated learning (FL) to collaboratively train a global Random Forest model across distributed edge nodes without sharing raw data. The architecture enables local nodes to preprocess data (handling missing/infinite values via imputation, normalizing features, and applying SMOTE for class balancing) and train localized Random Forest classifiers, enhanced by Isolation Forest for outlier detection. Hyperparameters (e.g., tree depth, estimators, split criteria) are optimized per node using GridSearchCV, tailored to local computational constraints. Model parameters (feature importance, tree structures) are aggregated at a central server via weighted averaging, with weights assigned based on node performance, data quality, and resource capacity. Evaluated on the CICIDS2017 dataset, the global model achieves 98.5% accuracy, 98.42% precision, and 98.1% F1-score, with local nodes (Random Forest Models 1–4) demonstrating 99.49–99.71% precision. The framework maintains stable performance across heterogeneous nodes while preserving data privacy through encrypted parameter transmission and GDPR-compliant aggregation. Key innovations include (1) a federated aggregation mechanism for tree-based models, (2) node-specific hyperparameter tuning, and (3) preprocessing pipelines addressing class imbalance and outliers in decentralized settings. The results validate the viability of federated Random Forests as a scalable, privacy-aware solution for collaborative intrusion detection in distributed networks.

Authors

Institutions

Publication Details

Published
2025-02-13
DOI
https://doi.org/10.1109/ecce64574.2025.11013981
Primary Topic
Neural Networks and Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Distributed Random Forests for NIDS with Edge and Global Model Aggregation

Tazrian Alam, Mohamed Rafi, Mohammed Maruf Hossen
Neural Networks and Applications
article

Distributed Random Forests for NIDS with Edge and Global Model Aggregation

Tazrian Alam, Mohamed Rafi, Mohammed Maruf Hossen
article en

Abstract

The growing sophistication of cyber threats necessitates scalable, privacy-preserving solutions for network intrusion detection. This study proposes Federated Forest, a decentralized framework leveraging federated learning (FL) to collaboratively train a global Random Forest model across distributed edge nodes without sharing raw data. The architecture enables local nodes to preprocess data (handling missing/infinite values via imputation, normalizing features, and applying SMOTE for class balancing) and train localized Random Forest classifiers, enhanced by Isolation Forest for outlier detection. Hyperparameters (e.g., tree depth, estimators, split criteria) are optimized per node using GridSearchCV, tailored to local computational constraints. Model parameters (feature importance, tree structures) are aggregated at a central server via weighted averaging, with weights assigned based on node performance, data quality, and resource capacity. Evaluated on the CICIDS2017 dataset, the global model achieves 98.5% accuracy, 98.42% precision, and 98.1% F1-score, with local nodes (Random Forest Models 1–4) demonstrating 99.49–99.71% precision. The framework maintains stable performance across heterogeneous nodes while preserving data privacy through encrypted parameter transmission and GDPR-compliant aggregation. Key innovations include (1) a federated aggregation mechanism for tree-based models, (2) node-specific hyperparameter tuning, and (3) preprocessing pipelines addressing class imbalance and outliers in decentralized settings. The results validate the viability of federated Random Forests as a scalable, privacy-aware solution for collaborative intrusion detection in distributed networks.

East Delta University (BD)
Openalex Percentile: Top 94%
Neural Networks and Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.