
Research Article
Graph Neural Networks for Anomaly Detection in Industrial and IoT Networks: A Comparative Study of Graph Contributions and Generalization Stability
@ARTICLE{10.4108/eetinis.134.15488, author={Ali Yilmaz and Resul Das and Mehmet Ozdem}, title={Graph Neural Networks for Anomaly Detection in Industrial and IoT Networks: A Comparative Study of Graph Contributions and Generalization Stability}, journal={EAI Endorsed Transactions on Industrial Networks and Intelligent Systems}, volume={13}, number={4}, publisher={EAI}, journal_a={INIS}, year={2026}, month={12}, keywords={graph neural networks, intrusion detection, anomaly ranking, graph ablation, communication-pair-disjoint evaluation, generalization stability, TON_IoT, Cora}, doi={10.4108/eetinis.134.15488} }- Ali Yilmaz
Resul Das
Mehmet Ozdem
Year: 2026
Graph Neural Networks for Anomaly Detection in Industrial and IoT Networks: A Comparative Study of Graph Contributions and Generalization Stability
INIS
EAI
DOI: 10.4108/eetinis.134.15488
Abstract
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.
Copyright © 2026 Ali yilmaz et al., licensed to EAI. This is an open access article distributed under the terms of the CC BY-NC-SA 4.0, which permits copying, redistributing, remixing, transforming, and building upon the material in any medium so long as the original work is properly cited.

