cs.AIOct 1, 2026

A Multi Method Importance and Performance Efficiency Analysis of Topological Metrics for Natural Visibility Graph Based Cyber Attack Detection

Authors: Ali Melih Kanca, Ilker Turker

Organizations: Department of Computer Engineering, Faculty of Computing and Informatics Sciences, Karabuk University, Karabuk, Türkiye

Abstract

Natural Visibility Graph (NVG) based analysis characterizes network traffic through topological descriptors reflecting different structural properties. However, not all descriptors contribute equally to cyber-attack classification, and extracting a large metric set can increase computational cost. This study evaluates 21 NVG derived topological metrics and investigates whether a compact subset can preserve classification capability while improving computational efficiency. Four importance analysis methods SHAP, grouped Permutation Importance, Boruta, and Recursive Feature Elimination (RFE) are integrated through a Consensus Ranking strategy. Based on this ranking, Full21, Top15, Top10, Top7, Top5, and Top3 configurations are evaluated using the CICIDS2018 dataset, a CNN classifier, and stratified 5 fold cross validation. The three highest ranked metrics are avg_clustering_coeff_median, avg_clustering_coeff_std, and avg_clustering_coeff_mean. Top3 achieved the highest observed mean performance, with 97.148% accuracy, 97.055% weighted F1 score, and an MCC of 0.9675, compared with 95.999%, 95.521%, and 0.9549 for Full21, respectively. It also reduced total runtime from 14,961.39 s to 589.22 s (96.06%). These results indicate that importance guided metric reduction can provide a compact NVG representation with higher observed mean predictive performance and substantially lower computational cost under the evaluated setting.

Explore similar work

CardsList
  1. Topological Signatures of Cyber-Attack Classes in Natural Visibility Graph Representations of Network Traffic

    Sep 22, 2026Ali Melih Kanca, Ilker TurkerNetwork Intrusion DetectionGraph Classification

  2. A Quantitative Analysis of Graph Representation Strategies for Cyber Attack Detection

    Oct 2, 2026Ali Melih Kanca, Ilker TurkerCybersecurityGraph Representation Learning

  3. Graph Classification via Network Usable Information: From Representation Evaluation to Structure Selection

    Jul 3, 2026Abdullah Shaik, Anwar SaidGraph Representation LearningGraph Classification