Effective Intrusion Detection in Imbalanced Network Traffic using XGBoost and LightGBM

With the continuous evolution of network attack methods, traditional Intrusion Detection Systems (IDS) face increasing challenges. To improve the accuracy and responsiveness of IDS, this paper proposes a network traffic classification approach based on two machine learning algorithms: XGBoost and LightGBM. We train and evaluate both models using several publicly available network traffic datasets to compare their performance in handling different types of network attacks. The models are evaluated using metrics such as accuracy, precision, recall, and F1 score, while confusion matrix analysis assesses performance across various attack categories. Experimental results show that XGBoost outperforms LightGBM in most attack categories, especially in detecting DDoS attacks, where it demonstrates higher precision and recall. On the other hand, LightGBM offers advantages in training speed and memory consumption, making it more suitable for large-scale datasets. Based on accuracy, efficiency, and resource consumption, this paper provides two effective machine learning methods for network intrusion detection and discusses their application scenarios and potential improvements.

Authors

Institutions

Publication Details

Published
2025-03-14
DOI
https://doi.org/10.1109/itoec63606.2025.10967780
Primary Topic
IoT-based Smart Home Systems
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Effective Intrusion Detection in Imbalanced Network Traffic using XGBoost and LightGBM

Jianjun Wang, Hao Yu, Meng Meng, Jinlei Zhou
IoT-based Smart Home Systems
article

Effective Intrusion Detection in Imbalanced Network Traffic using XGBoost and LightGBM

Jianjun Wang, Hao Yu, Meng Meng, Jinlei Zhou
article en

Abstract

With the continuous evolution of network attack methods, traditional Intrusion Detection Systems (IDS) face increasing challenges. To improve the accuracy and responsiveness of IDS, this paper proposes a network traffic classification approach based on two machine learning algorithms: XGBoost and LightGBM. We train and evaluate both models using several publicly available network traffic datasets to compare their performance in handling different types of network attacks. The models are evaluated using metrics such as accuracy, precision, recall, and F1 score, while confusion matrix analysis assesses performance across various attack categories. Experimental results show that XGBoost outperforms LightGBM in most attack categories, especially in detecting DDoS attacks, where it demonstrates higher precision and recall. On the other hand, LightGBM offers advantages in training speed and memory consumption, making it more suitable for large-scale datasets. Based on accuracy, efficiency, and resource consumption, this paper provides two effective machine learning methods for network intrusion detection and discusses their application scenarios and potential improvements.

NARI Group (China) (CN)
Climate action
Openalex Percentile: Top 93%
IoT-based Smart Home Systems
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.

Effective Intrusion Detection in Imbalanced Network Traffic using XGBoost and LightGBM — Jianjun Wang, Hao Yu, et al. · (2025) | TGRS Research Map | TGRS