Melola Discovery

← Melola Discovery

Akses terbuka Jurnal SINTA 1

Optimized random forest framework for big data-driven network intrusion detection with SparkML

  • Mohammed Borhan Uddin
  • Mohammad Shamsul Arefin
  • Jannatul Ferdaus
  • Zaid Rehman

Bulletin of Electrical Engineering and Informatics · Vol. 15 No. 6 (2026) · hlm. 5299–5314

DOI
10.11591/eei.v15i6.13925
ISSN
2089-3191, 2302-9285
Terbit
2026-12-01
Penerbit
Institute of Advanced Engineering and Science (IAES)
Bahasa
en
Lisensi
creativecommons.org/licenses/by-sa/4.0/

Abstrak

The rapid growth in scale and complexity of modern network traffic has significantly challenged traditional network intrusion detection systems (NIDS). Traditional NIDS struggle to process high-volume, high-velocity data streams while sustaining high detection accuracy, creating critical security gaps in large-scale environments. To address this limitation, this study proposes a scalable, big data-driven NIDS on Apache Spark’s SparkML library. The system was evaluated on the BigFlow-NIDS dataset, contains 66.9 million network flow records with 55 features with 32 attack categories. Six machine learning models; decision tree (DT), logistic regression (LR), random forest (RF), Naive Bayes (NB), linear support vector machine (LSVM), and gradient boosting tree (GBT) were systematically benchmarked for binary (attack versus benign) classification. Feature engineering reduced the features from 51 to the top 20 features. A threshold-optimized RF framework was then proposed to maximize attack F1-score under a strict attack-recall floor of 0.99. Experimental results show that the optimized RF model improved accuracy from 95.99% to 97.31% with a ROC-AUC of 0.9940. At the optimal threshold of 0.07, it achieved a 99.38% attack detection rate, sustained a throughput of 108,465 flows/second, and recorded a false-positive rate of 17.86%, demonstrating its effectiveness as a high-sensitivity first-stage filter.

Kata kunci

Sumber metadata: OpenAlex API (jurnal SINTA, ADR 0048) https://openalex.org/S2765016208, pertama di-harvest 22 Nov 2026, terakhir terlihat 22 Nov 2026.
Metadata asli (oai_dc)
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/"><dc:title xml:lang="en">Optimized random forest framework for big data-driven network intrusion detection with SparkML</dc:title><dc:creator>Mohammed Borhan Uddin</dc:creator><dc:creator>Mohammad Shamsul Arefin</dc:creator><dc:creator>Jannatul Ferdaus</dc:creator><dc:creator>Zaid Rehman</dc:creator><dc:subject>network intrusion detection</dc:subject><dc:subject>random forest</dc:subject><dc:subject>Apache Spark</dc:subject><dc:subject>big data</dc:subject><dc:subject>threshold optimization</dc:subject><dc:subject>attack detection rate</dc:subject><dc:subject>false positive rate</dc:subject><dc:subject>high-throughput detection</dc:subject><dc:subject>feature selection</dc:subject><dc:subject>binary classification</dc:subject><dc:description xml:lang="en">The rapid growth in scale and complexity of modern network traffic has significantly challenged traditional network intrusion detection systems (NIDS). Traditional NIDS struggle to process high-volume, high-velocity data streams while sustaining high detection accuracy, creating critical security gaps in large-scale environments. To address this limitation, this study proposes a scalable, big data-driven NIDS on Apache Spark’s SparkML library. The system was evaluated on the BigFlow-NIDS dataset, contains 66.9 million network flow records with 55 features with 32 attack categories. Six machine learning models; decision tree (DT), logistic regression (LR), random forest (RF), Naive Bayes (NB), linear support vector machine (LSVM), and gradient boosting tree (GBT) were systematically benchmarked for binary (attack versus benign) classification. Feature engineering reduced the features from 51 to the top 20 features. A threshold-optimized RF framework was then proposed to maximize attack F1-score under a strict attack-recall floor of 0.99. Experimental results show that the optimized RF model improved accuracy from 95.99% to 97.31% with a ROC-AUC of 0.9940. At the optimal threshold of 0.07, it achieved a 99.38% attack detection rate, sustained a throughput of 108,465 flows/second, and recorded a false-positive rate of 17.86%, demonstrating its effectiveness as a high-sensitivity first-stage filter.</dc:description><dc:publisher>Institute of Advanced Engineering and Science (IAES)</dc:publisher><dc:date>2026-12-01</dc:date><dc:type>info:eu-repo/semantics/article</dc:type><dc:identifier>https://doi.org/10.11591/eei.v15i6.13925</dc:identifier><dc:identifier>10.11591/eei.v15i6.13925</dc:identifier><dc:source>Bulletin of Electrical Engineering and Informatics; Vol 15 No 6 (2026); 5299-5314</dc:source><dc:source>2089-3191</dc:source><dc:source>2302-9285</dc:source><dc:language>en</dc:language><dc:rights>https://creativecommons.org/licenses/by-sa/4.0/</dc:rights></oai_dc:dc>