JOURNAL OF SCIENCE AND SOCIAL RESEARCH
Vol. 9 No. 4 (2026): August 2026 (1)

ANALISIS SELEKSI FITUR PADA NETWORK INTRUSION DETECTION DENGAN NATURAL LANGUAGE PROCESSING

Riki Andri Yusda (Universitas Royal)
Sahren Sahren (Universitas Royal)
Nurwati Nurwati (Universitas Royal)
Shaqilla Swita Sarah (Universitas Royal)
Dava Erlangga (Universitas Royal)



Article Info

Publish Date
13 Aug 2026

Abstract

This study proposes a Natural Language Processing (NLP)-based feature selection approach for Network Intrusion Detection Systems (NIDS) using the CICIDS2017 dataset. To address high computational complexity caused by high dimensionality, network flows are normalized using Min-Max Scaling and transformed into textual representations via a consistent sentence template. The text data is then weighted using Term Frequency–Inverse Document Frequency (TF-IDF), followed by Chi-Square (Chi²) feature selection to isolate the most discriminative features. This process yields a dataset comprising 691,406 text documents with 302 textual features. Performance is evaluated using Random Forest, Linear Support Vector Machine (Linear SVM), and Naïve Bayes classifiers. Experimental results show that Random Forest achieves the highest accuracy at 97.3%, followed by Linear SVM at 96.4%, and Naïve Bayes at 83.2%. The confusion matrix further confirms that the vast majority of network traffic instances are correctly classified. These findings demonstrate that transforming tabular network data into textual formats using NLP, combined with TF-IDF and Chi-Square feature selection, successfully produces representative features, enhances intrusion detection performance, and effectively reduces data complexity in NIDS.

Copyrights © 2026






Journal Info

Abbrev

JSSR

Publisher

Subject

Computer Science & IT Economics, Econometrics & Finance Education Social Sciences

Description

Journal of Science and Social Research is accepts research works from academicians in their respective expertise of studies. Journal of Science and Social Research is platform to disclose the research abilities and promote quality and excellence of young researchers and experienced thoughts towards ...