Scientific Reports

Deep feature selection and neural architectures for robust darknet traffic classification

G. Kirubavathi, Jaeyoung Choi, Akash Biju, Amal Ajayan, Waleed M. Ismael

Key points

From the paper's conclusion
  • This work proposes a structured deep learning (DL)-based framework for darknet traffic classification using both individual and combinatorial feature selection (FS) techniques on the CIC-Darknet2020 dataset.

Abstract

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 darknet traffic classification using both individual and combinatorial feature selection (FS) techniques on the CIC-Darknet2020 dataset. We employed five FS techniques, Mutual Information (MI), Random Forest (RF), Recursive Feature Elimination (RFE), Autoencoder-based FS, and XGBoost (XGB), to identify the top 20 discriminative features from the dataset. 31 unique feature subsets with both individual and intersected feature combinations were generated using a combinatorial FS approach. The CNN model trained on RFE-selected features outperformed all other models evaluated, with a testing accuracy of 95.2% and a logarithmic loss of 0.1257. Kuncheva’s Consistency Index was used to measure the stability of each FS technique’s own feature rankings, and the results showed that tree-based methods yielded more repeatable rankings than the Autoencoder-based approach. Using multi-seed retraining and formal statistical significance testing, this ranking was further validated. Furthermore, it was shown that the top-performing configurations were practically suitable for operational deployment because they were computationally efficient and well-calibrated for real-time inference. Additionally, the results demonstrate that optimized FS techniques greatly enhance classification performance when compared to increasing architectural complexity. Although combinatorial FS methods outperformed MI and Autoencoder-based strategies in terms of robustness and generalization, the best-performing models were primarily derived from individual tree-based FS techniques. The analysis also discovered that Tor traffic was the most difficult to classify due to its encrypted and obfuscated communication patterns. The proposed framework offers a solid foundation for cybersecurity and scalable darknet traffic analysis, and it demonstrates a strong capacity for generalization.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers

Deep feature selection and neural architectures for robust darknet traffic classification — Science Skim