Ismail Chetoui , Essaid El Bachari , Mohamed El Adnani , Mohamed Ouhssini
{"title":"Anomaly detection in graph databases using graph neural networks: Identifying unusual patterns in graphs","authors":"Ismail Chetoui , Essaid El Bachari , Mohamed El Adnani , Mohamed Ouhssini","doi":"10.1016/j.eij.2025.100735","DOIUrl":null,"url":null,"abstract":"<div><div>Anomaly detection in graph-structured data is a critical task in various applications, including social networks, fraud detection, and educational platforms. This paper introduces a novel hybrid architecture that leverages Graph Convolutional Networks (GCN), Graph Attention Networks (GAT), and Graph Autoencoders (GAEs) to detect anomalies across nodes, edges, and subgraphs. The proposed model combines the strengths of GCNs for extracting local structural features, GATs for adaptive attention-based neighborhood aggregation, and GAEs for unsupervised graph reconstruction. By integrating these components, our approach generates robust embeddings that are used to calculate anomaly scores based on reconstruction errors, density estimation, and embedding distances. These scores are then aggregated using a weighted hybrid function, enabling adaptive and flexible anomaly scoring. Experimental results on benchmark datasets demonstrate that the hybrid model significantly improves the detection of anomalous nodes, edges, and subgraphs compared to existing methods. This work provides a scalable and effective framework for anomaly detection in graphs, offering insights into the interpretability and adaptability of GNN-based anomaly scoring functions.</div></div>","PeriodicalId":56010,"journal":{"name":"Egyptian Informatics Journal","volume":"31 ","pages":"Article 100735"},"PeriodicalIF":4.3000,"publicationDate":"2025-07-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Egyptian Informatics Journal","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1110866525001288","RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0
Abstract
Anomaly detection in graph-structured data is a critical task in various applications, including social networks, fraud detection, and educational platforms. This paper introduces a novel hybrid architecture that leverages Graph Convolutional Networks (GCN), Graph Attention Networks (GAT), and Graph Autoencoders (GAEs) to detect anomalies across nodes, edges, and subgraphs. The proposed model combines the strengths of GCNs for extracting local structural features, GATs for adaptive attention-based neighborhood aggregation, and GAEs for unsupervised graph reconstruction. By integrating these components, our approach generates robust embeddings that are used to calculate anomaly scores based on reconstruction errors, density estimation, and embedding distances. These scores are then aggregated using a weighted hybrid function, enabling adaptive and flexible anomaly scoring. Experimental results on benchmark datasets demonstrate that the hybrid model significantly improves the detection of anomalous nodes, edges, and subgraphs compared to existing methods. This work provides a scalable and effective framework for anomaly detection in graphs, offering insights into the interpretability and adaptability of GNN-based anomaly scoring functions.
期刊介绍:
The Egyptian Informatics Journal is published by the Faculty of Computers and Artificial Intelligence, Cairo University. This Journal provides a forum for the state-of-the-art research and development in the fields of computing, including computer sciences, information technologies, information systems, operations research and decision support. Innovative and not-previously-published work in subjects covered by the Journal is encouraged to be submitted, whether from academic, research or commercial sources.