betaFeedback

WorksComputer Science

A Quantitative Analysis of Graph Representation Strategies for Cyber Attack Detection

Abstract

Graph based cyber attack detection studies employ various graph construction and representation strategies across different cybersecurity application domains. This diversity motivates a quantitative examination of how representation strategies are distributed across these application domains. This study presents a quantitative analysis of 37 original studies published between 2019 and 2026. Each study was coded according to publication year, application domain, graph representation type, feature extraction strategy, learning paradigm, algorithm, and dataset. Frequency analysis, cross tabulation, and statistical association tests were applied. Automated representation learning was the most frequently employed strategy, accounting for 73.0% of the studies, while handcrafted representation strategies accounted for 27.0%. The Fisher Freeman Halton exact test revealed a statistically significant association between application domain and representation strategy (exact p = 0.008; Cramer's V = 0.540). The findings indicate that automated representation learning predominates within the analyzed corpus and that the distribution of representation strategies differs across cybersecurity application domains.

INTRODUCTION

Graph-based approaches have been applied to a broad range of cyber-attack detection problems using different data modeling and learning strategies. Depending on the target application, network traffic, system interactions, and malicious behaviors can be represented through different graph structures, including communication graphs, visibility graphs, function call graphs, and provenance graphs. These representations can subsequently be analyzed using graph-theoretic features or automated representation-learning approaches [16, 39].

METHODOLOGY

Study Corpus and Data Coding

The study corpus consists of 37 original studies published between 2019 and 2026 on graph-based cyber-attack detection. The studies cover four cybersecurity application domains: IDS/NIDS, Botnet/DDoS, IoT/DDoS, and Advanced Threats. Each study was treated as an individual observation and systematically coded to enable quantitative comparison across application domains and representation strategies.

The literature search was conducted across five major academic databases: IEEE Xplore, SpringerLink, ScienceDirect, Scopus, and Web of Science. The search strategy combined cybersecurity-related terms, including “cyberattack,” “intrusion detection,” “botnet detection,” “malware detection,” and “DDoS detection,” with graph-related terms such as “graph-based methods,” “graph representation,” “graph neural networks”, and “visibility graph”. These combinations were used to identify studies addressing graph-based representation and learning approaches for cyber-attack detection across different cybersecurity application domains.

The study corpus was derived from the systematic review framework presented in [13] and was updated to incorporate relevant studies published in 2025–2026. Studies were included if they presented an original graph-based approach for cyber-attack detection and provided sufficient methodological information to identify the application domain, graph representation, representation strategy, and learning paradigm. Review articles, noncybersecurity studies, studies not employing graph-based representations as a substantive component of the detection process, and studies lacking sufficient methodological information for the coding variables were excluded. Following these criteria and the update process, 37 original studies constituted the final corpus used for quantitative analysis.

The coding scheme included publication year, application domain, graph representation type, feature extraction strategy, learning paradigm, algorithm, dataset, and reported performance. Representation strategies were categorized as handcrafted or automated, while learning approaches were separately grouped into conventional machine learning, deep learning, GNN-based, and hybrid methods. This structured coding transformed the methodological characteristics of the selected studies into a dataset suitable for quantitative analysis.

Handcrafted strategies refer to approaches in which predefined graph-based or structural descriptors are explicitly extracted and used as representations, whereas automated strategies refer to approaches in which representations are learned or algorithmically derived from graph structures or attributes through methods such as graph embedding, deep learning, or graph neural networks.

The studies were classified into four cybersecurity application domains: IDS/NIDS [2, 4, 5, 10, 17, 20, 21, 27, 29, 35, 38, 40, 41] (Desnitsky et al. 2023; Su et al. 2019; Yao et al. 2019), Botnet/DDoS [1, 6, 8, 24, 30, 31, 34] (Lo et al. 2022), IoT/DDoS [3, 12, 15, 25, 28, 33], and Advanced Threats [7, 14, 19, 26] (Fu et al. 2022; Li et al. 2021; Wu et al. 2023). The variables and corresponding coding categories are summarized in Table 1.

VariableCoding / Description
YearPublication year
DomainIDS/NIDS, Botnet/DDoS, IoT/DDoS, Advanced Threats
Graph TypeCommunication, VG/NVG/HVG, FCG, Provenance, Other
Representation StrategyHandcrafted, Automated
Learning ParadigmML, DL, GNN, Hybrid
AlgorithmSVM, RF, CNN, LSTM, GCN, GAT, GraphSAGE, etc.
DatasetDataset(s) used in each study
PerformanceReported Accuracy/F1 when available

Table 1. Study Coding Scheme.

The individual studies included in the quantitative analysis and their corresponding coding according to application domain, graph representation, representation strategy, and learning paradigm are presented in Table 2.

Study IDSourceYearApplication DomainGraph RepresentationRepresentation StrategyLearning Paradigm
1Alwasel et al.2023IDS/NIDSCommunication / neighborhood graphHandcraftedClassical ML / hybrid
2Chang & Branco2021IDS/NIDSBipartite and line graphAutomatedGNN
3Zhu & Lu2022IDS/NIDSLine graphAutomatedGNN
4Yao et al.2019IDS/NIDSTemporal communication graph / graph kernelAutomatedDL
5Su et al.2019IDS/NIDSGraph kernel representationAutomatedDL
6Leichtnam et al.2020IDS/NIDSSecurity Objects GraphAutomatedUnsupervised DL / Autoencoder
7Zola et al.2022IDS/NIDSTemporal graphAutomatedGNN / DL hybrid
8Desnitsky et al.2023IDS/NIDSState-transition graphAutomatedClustering / graph-based detection
9Caville et al.2022IDS/NIDSEdge-attributed graphAutomatedGNN
10Wang et al.2020Botnet/DDoSCommunication / behavior graphHandcraftedRule / similarity based
11Millar et al.2021Botnet/DDoSFlow communication graphAutomatedGraph embedding + ML
12Shinan et al.2023Botnet/DDoSCommunication graphHandcraftedML / DL comparison
13Sinha et al.2019Botnet/DDoSCommunication graphHandcraftedDL
14Alharbi & Alsubhi2021Botnet/DDoSCommunication graphHandcraftedClassical ML
15Daya et al.2019Botnet/DDoSCommunication graphHandcraftedUnsupervised + Supervised ML
16Lo et al.2022Botnet/DDoSFlow graphAutomatedGNN
17Khalaf et al.2022IoT/DDoSCommunication graphHandcraftedClassical ML
18Protogerou et al.2021IoT/DDoSLocalized communication graphAutomatedGNN
19Wang & Zhu2022IoT/DDoSBehavioral Identification GraphAutomatedGraph embedding
20Jing & Wang2022IoT/DDoSTraffic / bot interaction graphHandcraftedUnsupervised ML
21Nguyen et al.2020IoT/DDoSPSI-rooted subgraphHandcraftedClassical ML
22Niu et al.2020Advanced ThreatsOpcode-level function call graphAutomatedDL
23Wu et al.2023Advanced ThreatsStatic call / abstract flow graphAutomatedGNN / DL hybrid
24Cuzzocrea et al.2023Advanced ThreatsControl flow graphAutomatedGraph representation + ML

Table 2. Characteristics and Coding of the Studies Included in the Quantitative Analysis.

Study IDSourceYearApplication DomainGraph RepresentationRepresentation StrategyLearning Paradigm
25Karrar2022Advanced ThreatsPermission / API relation graphHandcraftedClassical ML
26Li et al.2021Advanced ThreatsProvenance and interhost graphAutomatedGNN
27Fu et al.2022Advanced ThreatsHeterogeneous spatio-temporal graphAutomatedGraph embedding
28Liu & Jiang2023Advanced ThreatsCausal graphAutomatedDL
29Wang et al.2025IDS/NIDSBehavior-similarity / network traffic graphAutomatedGNN
30Liu & Guo2025IDS/NIDSDynamic / line graphAutomatedGNN
31Farrukh et al.2025IDS/NIDSHeterogeneous flow / packet graphAutomatedGNN
32Anjum et al.2025IoT/DDoSDynamic IoT communication graphAutomatedGNN / hybrid
33Liu et al.2025IDS/NIDSWeighted k-NN graphAutomatedGNN
34Sathishkumar et al.2025IDS/NIDSGraph representation of network dataAutomatedGNN
35Chatterjee2026Botnet/DDoSDynamic IP / flow graphAutomatedGNN
36Zhao et al.2026IDS/NIDSTime-evolving dynamic spatio-temporal graph sequenceAutomatedGNN / DL
37Pramanick et al.2026IDS/NIDSCosine-similarity anchor graphAutomatedGNN

Table 2 (PDF p. 5).

Quantitative and Statistical Analysis

The coded studies were analyzed using descriptive and inferential statistical methods. First, frequency and percentage distributions were calculated to examine the number of studies by publication year, application domain, and feature extraction strategy. Cross-tabulation was then employed to evaluate the distribution of handcrafted and automated representation strategies across the four cybersecurity application domains.

To statistically examine the relationship between application domain and representation strategy, handcrafted and automated approaches were compared across the four cybersecurity application domains. Because several expected cell frequencies were below five, the Fisher–Freeman–Halton exact test was used to evaluate the association between the two categorical variables [23]. Cramér’s V, derived from the Pearson chi-square statistic, was additionally calculated to quantify the strength of the association.

RESULTS AND ANALYSIS

Distribution of Studies and Representation Strategies

A total of 37 original studies published between 2019 and 2026 were included in the quantitative analysis. Automated representation learning was the most frequently employed strategy, accounting for 27 studies (73.0%), while handcrafted graph representations were used in 10 studies (27.0%). These results indicate that automated representation learning constitutes the most frequently observed representation strategy within the analyzed corpus. The overall distribution of representation strategies is presented in Table 3 and visually summarized in Figure 1.

Feature StrategyNumber of StudiesPercentage
Automated2773%
Handcrafted1027%
Total37100.0%

Table 3. Distribution of Representation Strategies.

Overall distribution of representation strategies

Figure 1. Overall distribution of representation strategies in the analyzed corpus (n = 37).

Feature Strategy Across Application Domains

IDS/NIDS represented the largest application domain with 16 studies (43.2%), followed by Botnet/DDoS with eight studies (21.6%), Advanced Threats with seven studies (18.9%), and IoT/DDoS with six studies (16.2%). The distribution of representation strategies differed considerably across these application domains.

Automated approaches accounted for 15 of the 16 IDS/NIDS studies (93.8%) and six of the seven Advanced Threats studies (85.7%). In contrast, handcrafted graph features were used in five of the eight Botnet/DDoS studies (62.5%) and three of the six IoT/DDoS studies (50.0%). These distributions indicate a clear preference for automated representation learning in IDS/NIDS and Advanced Threats, whereas handcrafted representations remain more prevalent in Botnet/DDoS and are equally represented with automated approaches in IoT/DDoS applications. The domain-specific distribution of representation strategies is reported in Table 4 and illustrated in Figure 2.

Application DomainHandcraftedAutomated
IDS/NIDS115
Botnet/DDoS53
IoT/DDoS33
Advanced Threats16
Total1027

Table 4. Representation Strategy by Application Domain.

Distribution of representation strategies by application domain

Figure 2. Distribution of representation strategies across cybersecurity application domains (n=37n = 37).

Because several expected frequencies were below five, the association was evaluated using the Fisher–Freeman–Halton exact test. The analysis revealed a statistically significant association between application domain and representation strategy (exact p=0.008p = 0.008). The corresponding Cramér’s V was 0.540. These findings indicate a statistically significant association between application domain and representation strategy within the analyzed corpus.

Conclusion

This study presented a quantitative analysis of graph-based cyber-attack detection research based on 37 original studies published between 2019 and 2026. Automated representation learning was the most frequently employed strategy, accounting for 73.0% of the studies, while handcrafted approaches represented 27.0%. The distribution of representation strategies varied across application domains. Automated approaches were more prevalent in IDS/NIDS and Advanced Threats, whereas handcrafted graph representations were more common in Botnet/DDoS. In IoT/DDoS applications, handcrafted and automated representation strategies were equally represented. The Fisher–Freeman–Halton exact test indicated a statistically significant association between application domain and representation strategy (exact p=0.008p = 0.008), with a Cramér’s V of 0.540.

The observed distribution suggests that representation strategies are not uniformly adopted across cybersecurity application domains. This pattern may reflect differences in the types of graph structures, data characteristics, and analytical objectives encountered across these domains. However, the present analysis establishes an association rather than a causal relationship, and further research is required to determine the methodological factors underlying these domain-specific patterns.

The study is limited by the size of the analyzed corpus and by methodological heterogeneity among the included studies. Dataset and performance values were not directly compared because the studies employed different datasets, preprocessing procedures, classification tasks, and evaluation metrics. Future research may extend the corpus and investigate dataset concentration, reporting practices, learning paradigms, and graph-representation choices using larger study samples.

References

  1. [1]Alharbi, A., & Alsubhi, K. (2021). Botnet Detection Approach Using Graph-Based Machine Learning. IEEE Access, 9, 99166–99180. https://doi.org/10.1109/ACCESS.2021.3094183
  2. [2]Alwasel, B., Aldribi, A., Alreshoodi, M., Alsukayti, I. S., & Alsuhaibani, M. (2023). Leveraging Graph-Based Representations to Enhance Machine Learning Performance in IIoT Network Security and Attack Detection. Applied Sciences (Switzerland), 13(13). https://doi.org/10.3390/app13137774
  3. [3]Anjum, M., Dutta, A. K., Elrashidi, A., Shahab, S., Aldrees, A., Shaikh, Z. A., & Aljohani, A. (2025). GraphFedAI framework for DDoS attack detection in IoT systems using federated learning and graph based artificial intelligence. Scientific Reports 2025 15:1, 15(1), 28050-. https://doi.org/10.1038/s41598-025-10826-0
  4. [4]Caville, E., Lo, W. W., Layeghy, S., & Portmann, M. (2022). Anomal-E: A self-supervised network intrusion detection system based on graph neural networks. Knowledge-Based Systems, 258. https://doi.org/10.1016/j.knosys.2022.110030
  5. [5]Chang, L., & Branco, P. (2021). Graph-based Solutions with Residuals for Intrusion Detection: the Modified E-GraphSAGE and E-ResGAT Algorithms. http://arxiv.org/abs/2111.13597
  6. [6]Chatterjee, S. (2026). Robust DDoS detection based on adversarial trained graph neural networks with proximal optimization. Social Network Analysis and Mining 2026 16:1, 16(1), 39-. https://doi.org/10.1007/S13278-026-01578-4
  7. [7]Cuzzocrea, A., Quebrado, M., Hafsaoui, A., & Serra, E. (2023). A Graph-Representation-Learning Framework for Supporting Android Malware Identification and Polymorphic Evolution. Proceedings - 2023 10th IEEE Swiss Conference on Data Science, SDS 2023, 34–41. https://doi.org/10.1109/SDS57534.2023.00012
  8. [8]Daya, A. A., Salahuddin, M. A., Limam, N., & Boutaba, R. (2019). A Graph-Based Machine Learning Approach for Bot Detection. 2019 IFIP/IEEE Symposium on Integrated Network and Service Management, IM 2019, 144–152. https://arxiv.org/abs/1902.08538v1
  9. [10]Farrukh, Y. A., Wali, S., Khan, I., & Bastian, N. D. (2025). XG-NID: Dual-modality network intrusion detection using a heterogeneous graph neural network and large language model. Expert Systems with Applications, 287, 128089. https://doi.org/10.1016/J.ESWA.2025.128089
  10. [12]Jing, H., & Wang, J. (2022). DDoS detection based on graph structure features and non-negative matrix factorization. Concurrency and Computation: Practice and Experience, 34(9). https://doi.org/10.1002/cpe.5783
  11. [13]Kanca, A. M., & Türker, İ. (2025). A Systematic Review of Graph-Based Representation Techniques for Cyber-Attack Detection Across Application Domains. Concurrency and Computation: Practice and Experience, 37(27–28). https://doi.org/10.1002/CPE.70389
  12. [14]Karrar, A. E. (2022). Adopting Graph-Based Machine Learning Algorithms to Classify Android Malware. IJCSNS International Journal of Computer Science and Network Security, 22(9), 840. https://doi.org/10.22937/IJCSNS.2022.22.9.109
  13. [15]Khalaf, O. I., Ogudo, K. A., & Sangeetha, S. K. B. (2022). Design of Graph-Based Layered Learning-Driven Model for Anomaly Detection in Distributed Cloud IoT Network. Mobile Information Systems, 2022. https://doi.org/10.1155/2022/6750757
  14. [16]Lagraa, S., Husák, M., Seba, H., Vuppala, S., State, R., & Ouedraogo, M. (2024). A review on graph-based approaches for network security monitoring and botnet detection. International Journal of Information Security, 23(1), 119–140. https://doi.org/10.1007/S10207-023-00742-7
  15. [17]Leichtnam, L., Totel, E., Prigent, N., & Mé, L. (2020). Sec2graph: Network Attack Detection Based on Novelty Detection on Graph Structured Data. Lecture Notes in Computer Science (Including Subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 12223 LNCS, 238–258. https://doi.org/10.1007/978-3-030-52683-2_12
  16. [19]Liu, H., & Jiang, R. (2023). A Causal Graph-Based Approach for APT Predictive Analytics. Electronics (Switzerland), 12(8). https://doi.org/10.3390/electronics12081849
  17. [20]Liu, J., & Guo, M. (2025). DIGINN-A: Real-Time Network Intrusion Detection with Integrated Neural Networks Based on Dynamic Graph. Computers, Materials and Continua, 82(1), 817–842. https://doi.org/10.32604/CMC.2024.057660
  18. [21]Liu, W., Li, S., Gao, C., Sang, Y., & Ge, H. (2025). An adaptive graph neural network-based intrusion detection system for airborne network. Engineering Applications of Artificial Intelligence, 152, 110851. https://doi.org/10.1016/J.ENGAPPAI.2025.110851
  19. [23]Mehta, C. R., & Patel, N. R. (1983). A Network Algorithm for Performing Fisher’s Exact Test in r × c Contingency Tables. Journal of the American Statistical Association, 78(382), 427–434. https://doi.org/10.1080/01621459.1983.10477989
  20. [24]Millar, K., Simpson, L., Cheng, A., Chew, H. G., & Lim, C. C. (2021). DETECTING BOTNET VICTIMS THROUGH GRAPH-BASED MACHINE LEARNING. Proceedings - International Conference on Machine Learning and Cybernetics, 2021-December. https://doi.org/10.1109/ICMLC54886.2021.9737249
  21. [25]Nguyen, H. T., Ngo, Q. D., Nguyen, D. H., & Le, V. H. (2020). PSI-rooted subgraph: A novel feature for IoT botnet detection using classifier algorithms. ICT Express, 6(2), 128–138. https://doi.org/10.1016/J.ICTE.2019.12.001
  22. [26]Niu, W., Cao, R., Zhang, X., Ding, K., Zhang, K., & Li, T. (2020). Opcode-level function call graph based android malware classification using deep learning. Sensors (Switzerland), 20(13), 1–23. https://doi.org/10.3390/s20133645
  23. [27]Pramanick, N., Mathew, J., Nam, S. Y., & Agarwal, M. (2026). ADA-GNetIDS: ADASYN-augmented graph neural network based learning in IDS for robust cyber attack classification. Scientific Reports 2026. https://doi.org/10.1038/S41598-026-69410-9
  24. [28]Protogerou, A., Papadopoulos, S., Drosou, A., Tzovaras, D., & Refanidis, I. (2021). A graph neural network method for distributed anomaly detection in IoT. Evolving Systems, 12(1), 19–36. https://doi.org/10.1007/s12530-020-09347-0
  25. [29]Sathishkumar, P., Nikitha, S., Sruthi, R., & Vishwa, R. R. (2025). Anomaly Detection in Network Security Using Unsupervised Graph Neural Network. 1–7. https://doi.org/10.1109/ICOACT63339.2025.11004728
  26. [30]Shinan, K., Alsubhi, K., & Usman Ashraf, M. (2023). BotSward: Centrality Measures for Graph-Based Bot Detection Using Machine Learning. Computers, Materials and Continua, 74(1), 693–714. https://doi.org/10.32604/cmc.2023.031641
  27. [31]Sinha, K., Viswanathan, A., & Bunn, J. (2019). Tracking Temporal Evolution of Network Activity for Botnet Detection. https://arxiv.org/abs/1908.03443v1
  28. [33]Wang, C., & Zhu, H. (2022). Wrongdoing Monitor: A Graph-Based Behavioral Anomaly Detection in Cyber Security. IEEE Transactions on Information Forensics and Security, 17, 2703–2718. https://doi.org/10.1109/TIFS.2022.3191493
  29. [34]Wang, W., Shang, Y., He, Y., Li, Y., & Liu, J. (2020). BotMark: Automated botnet detection with hybrid analysis of flow-based and graph-based traffic behaviors. Information Sciences, 511, 284–296. https://doi.org/10.1016/j.ins.2019.09.024
  30. [35]Wang, Y., Han, Z., Du, Y., Li, J., & He, X. (2025). BS-GAT: a network intrusion detection system based on graph neural network for edge computing. Cybersecurity 2025 8:1, 8(1), 27-. https://doi.org/10.1186/S42400-024-00296-8
  31. [38]Zhao, J., Zhang, D., He, Q., Lin, M., & Yang, Y. (2026). DMSTG-AD: an SDN intrusion detection method based on dynamic multi-scale spatio-temporal graph neural network. Scientific Reports 2026 16:1, 16(1), 14528-. https://doi.org/10.1038/s41598-026-44360-4
  32. [39]Zhong, M., Lin, M., Zhang, C., & Xu, Z. (2024). A survey on graph neural networks for intrusion detection systems: Methods, trends and challenges. Computers & Security, 141, 103821. https://doi.org/10.1016/J.COSEC.2024.103821
  33. [40]Zhu, H., & Lu, J. (2022). Graph-based Intrusion Detection System Using General Behavior Learning. 2022 IEEE Global Communications Conference, GLOBECOM 2022 - Proceedings, 2621–2626. https://doi.org/10.1109/GLOBECOM48099.2022.10001299
  34. [41]Zola, F., Seguirola-Gil, L., Bruse, J. L., Galar, M., & Orduna-Urrutia, R. (2022). Network traffic analysis through node behaviour classification: a graph-based approach with temporal dissection and data-level preprocessing. Computers and Security, 115. https://doi.org/10.1016/j.cose.2022.102632

Paper details

vlnc:W_hgcbsyzx
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 9

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents