Skip to content
Open access

Explainable Network Traffic Classification Using XGBoost and SHAP: Interpreting Feature Contributions Across Traffic Classes

Sep 2026 · Journal of Telecommunications and Information Technology · 0 citations · 5 references

TL;DR

A framework for ML-based network traffic classification of explainable artificial intelligence (XAI) is proposed that demonstrates that high classification performance and model interpretability are achievable simultaneously within a category-level study that enhances the transparency, trustworthiness, and practical applicability of machine learning-based network traffic classification systems.

Abstract

Network traffic classification has become an essential component of modern network management, cyber security, and quality-of-service provisioning. The widespread adoption of encryption technologies has reduced the effectiveness of traditional traffic identification techniques, leading to the use of ML approaches based on flow-level characteristics. Although several machine learning and deep learning models were evaluated, the black-box nature complicates the practical deployment in security critical environments. This research proposes a framework for ML-based network traffic classification of explainable artificial intelligence (XAI). The CIC-Darknet2020 dataset is divided into four classes: non-TOR, non-VPN, TOR and VPN. Additionally, machine learning algorithms, including ID3, k-nearest neighbors (KNN), random forest, CatBoost, XGBoost, and LSTM are used as a deep learning approach. The evaluation is carried out through stratified split of trains and 10-fold cross-validation, while XGBoost is classified for explainability analysis. By ensuring model transparency, SHAP (SHapley Additive exPlanations) identifies the most influential features contributing to classification predictions. Furthermore, a novel category SHAP analysis is introduced by grouping higher-level behavioral categories, including temporal, statistical, rate-based, and TCP-related features. The results revealed that temporal traffic characteristics and transport layer behavioral features influence classification outcomes, particularly for encrypted traffic classes. Moreover, the framework demonstrates that high classification performance and model interpretability are achievable simultaneously within a category-level study that enhances the transparency, trustworthiness, and practical applicability of machine learning-based network traffic classification systems.

Read PDF

Similar papers

Open access Nov 2026

Comparative Evaluation of Machine Learning and Deep Learning Models for Flow-Level Multi-Class Darknet Traffic Classification

Encrypted traffic classification is a key problem in network security because encryption and anonymity technologies limit access to packet contents used for monitoring and intrusion detection. This study compares six machine-learning and deep-learning models for classifying Layer 2 darknet traffic, distinguishing among...

R. R. Velamala, A. Mohapatra, K. Venugopal · 0 citations
Open access Oct 2026

Deep feature selection and neural architectures for robust darknet traffic classification

Accurately categorizing darknet traffic remains a significant cybersecurity challenge because of the encrypted and anonymous nature of communications made possible by technologies like Virtual Private Networks (VPNs) and The Onion Router (Tor). This work proposes a structured deep learning (DL)-based framework for da...

G. Kirubavathi, Jaeyoung Choi, A. Biju et al. · 0 citations
Open access Sep 2026

GHO-Net: An Optimized and Explainable LightGBM Framework for 5G Core Network Anomaly Detection

The high dimensionality of traffic, severe class imbalance, hyperparameter sensitivity, and lack of model interpretability pose challenges to reliable multiclass anomaly detection in Fifth-Generation (5G) core networks. The study presents an optimization-guided and explainable machine-learning framework, Grey Wolf Hype...

Lokesha Holenarasipur Ramachandra, P. N. Khairnar, Sharanyaa Sigamani et al. · 0 citations
Open access Sep 2026

A Comparative Study on Transformer-Based Deep Learning Model for Network Traffic Classification

Network Traffic Classification (NTC) represents a fundamental pillar of modern cybersecurity, especially as encrypted traffic now exceeds 70% of global internet volume. Conventional methods like deep packet inspection (DPI) experience severe performance degradation in these environments, necessitating adaptive sequence...

Muhammad Alif Ikhwan Zainuddin, M. R. Mohd Isa, N. Kamarudin et al. · 0 citations
Open access Nov 2026

Performance analysis of machine learning models with optimized feature selection techniques for darknet traffic classification

Darknet traffic classification is a crucial area of cybersecurity, targeting the anonymity of network activities within an anonymized network. This study evaluates the efficacy of three feature selection methods, Boruta, Recursive Feature Elimination (RFE), and Lasso, across eight machine learning models, including Ran...

Felix O. Etyang, Pramod Pavithran, Gideon Mwendwa et al. · 1 citation
Open access 2026

Real-Time Network Traffic Classification With Learned Feature Imputation and SDN-Based Automated Response

Real-time deployment of deep learning (DL)-based network intrusion detection systems (NIDS) is often limited by a feature-space mismatch between offline training datasets and online monitoring tools. Benchmark datasets commonly provide CICFlowMeter-style flow statistics, whereas operational monitors such as Zeek expose...

Sayed Shafiullah Sadat, Abdul Awal Quraishi, M. Jalali et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.