Graph Neural Networks for Anomaly Detection in Industrial and IoT Networks: A Comparative Study of Graph Contributions and Generalization Stability
Graph Neural Networks (GNNs) provide a promising approach to analyzing relational patterns in complex communication environments, including industrial and Internet of Things (IoT) networks. However, the reliability of GNN-based anomaly analysis and intrusion detection depends not only on predictive performance but also on graph construction, feature availability, evaluation protocols, and training stability. This study presents a comparative evaluation of four GNN architectures: Graph Convolutional Network (GCN), Graph Attention Network (GAT), Graph Sample and Aggregation (GraphSAGE), and Graph Isomorphism Network (GIN), across two complementary experimental settings. First, the Cora citation network is employed to assess node classification and controlled synthetic anomaly scoring, explicitly distinguishing classification labels from anomaly ground truth. Second, the TON_IoT Network dataset is used for supervised binary intrusion classification using real benign and attack labels. To assess generalization and the contribution of relational information, the experiments incorporate communication-pair-disjoint partitions, a frozen-reference graph construction protocol, feature-based comparisons, and graph ablation. Under the frozen-reference evaluation, GAT achieved the highest mean macro-F1 score of 96.04%, followed by GraphSAGE at 94.73%. Nevertheless, the contribution of graph connectivity varied across architectures, and substantial performance fluctuations were observed for some models across random initializations and data partitions. These findings demonstrate that high aggregate classification performance does not necessarily imply consistent anomaly detection capability or robust generalization. The study provides an evaluation-oriented perspective on the strengths and limitations of GNN architectures for network security applications while identifying methodological considerations relevant to industrial and IoT environments.
Authors
- Mehmet Özdem (ORCID: https://orcid.org/0000-0002-2901-2342)
- Resul Daş (ORCID: https://orcid.org/0000-0002-6113-4649)
- A. R. Yilmaz (ORCID: https://orcid.org/0000-0003-1638-0290)
Institutions
- Van Yüzüncü Yıl Üniversitesi (TR)
- Fırat University (TR)
- Edinburgh Napier University (GB)
- Türk Telekom (Turkey) (TR)
Publication Details
- Journal
- EAI Endorsed Transactions on Industrial Networks and Intelligent Systems
- Published
- 2026-12-01
- DOI
- https://doi.org/10.4108/eetinis.134.15488
- Primary Topic
- Advanced Graph Neural Networks
- Type
- article
- Field-Weighted Citation Impact
- 0.00