Novel K-neighbors and gradient boosting based transfer features for optimizing network attack detection

Network attacks represent unauthorized activities on digital networks that aim to disrupt, damage, or gain unauthorized access to computer systems. These attacks range from denial-of-service (DoS) disruptions to sophisticated intrusion attempts, posing significant threats to the integrity, confidentiality, and availability of information resources. The repercussions of network attacks are extensive, leading to substantial financial losses, compromise of sensitive data, erosion of user trust, and potential damage to an organization’s reputation. This research aims to recognize network attacks using advanced machine learning approaches and transfer feature engineering. We utilized the benchmark CICDDOS2019 database for experiments. We balanced the preprocessed dataset during the initial analysis using the synthetic minority oversampling technique (SMOTE). We introduced an innovative transfer feature generation method that generates salient class probabilistic fused features using the K nearest neighbors classifier (KNC) and gradient boosting classifier (GBC). The proposed KNGB (KNC-GBC) model extracts transfer features, which are subsequently fed into machine learning models to identify network attacks. The experimental results indicate that, using KNGB features, the random forest model attained a high accuracy of 98% for network attack recognition. We also validated the applied machine learning model’s performance results using k-fold cross-validations and improved performance using hyperparameter tuning. Furthermore, we determined the computational complexity of the methods used and conducted a statistical t-test analysis to validate the significance of the results. This research aims to provide a robust, machine learning-based framework that can adapt to the dynamic nature of cyber threats, ensuring the integrity and security of information networks.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-10-15
DOI
https://doi.org/10.1038/s41598-026-75927-w
Primary Topic
Network Security and Intrusion Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Novel K-neighbors and gradient boosting based transfer features for optimizing network attack detection

Ibrar Hussain, Eduardo Silva Alvarado, Imran Ashraf, Ali Raza et al.
Scientific Reports
Network Security and Intrusion Detection
article

Novel K-neighbors and gradient boosting based transfer features for optimizing network attack detection

Ibrar Hussain, Eduardo Silva Alvarado, Imran Ashraf, Ali Raza, M. Nauman Hassan, Elizabeth Caro Montero, Amber Malik
article en

Abstract

Network attacks represent unauthorized activities on digital networks that aim to disrupt, damage, or gain unauthorized access to computer systems. These attacks range from denial-of-service (DoS) disruptions to sophisticated intrusion attempts, posing significant threats to the integrity, confidentiality, and availability of information resources. The repercussions of network attacks are extensive, leading to substantial financial losses, compromise of sensitive data, erosion of user trust, and potential damage to an organization’s reputation. This research aims to recognize network attacks using advanced machine learning approaches and transfer feature engineering. We utilized the benchmark CICDDOS2019 database for experiments. We balanced the preprocessed dataset during the initial analysis using the synthetic minority oversampling technique (SMOTE). We introduced an innovative transfer feature generation method that generates salient class probabilistic fused features using the K nearest neighbors classifier (KNC) and gradient boosting classifier (GBC). The proposed KNGB (KNC-GBC) model extracts transfer features, which are subsequently fed into machine learning models to identify network attacks. The experimental results indicate that, using KNGB features, the random forest model attained a high accuracy of 98% for network attack recognition. We also validated the applied machine learning model’s performance results using k-fold cross-validations and improved performance using hyperparameter tuning. Furthermore, we determined the computational complexity of the methods used and conducted a statistical t-test analysis to validate the significance of the results. This research aims to provide a robust, machine learning-based framework that can adapt to the dynamic nature of cyber threats, ensuring the integrity and security of information networks.

Scientific Reports
University of Lahore (PK), COMSATS University Islamabad (PK), Lahore College for Women University (PK), Khwaja Fareed University of Engineering and Information Technology (PK), Universidad Europea del Atlántico (ES), Universidade Internacional do Cuanza, Universidad Internacional Iberoamericana, Universidad Internacional Iberoamericana, Universidad de la Romana, Yeungnam University (KR)
Openalex Percentile: Top 12%
Network Security and Intrusion Detection
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.