Qiqi Yang, Hang Yu, Zhengyang Liu, Pengbo Li, Xue Chen, Xiangfeng Luo
{"title":"Synthesizing global and local perspectives in contrastive learning for graph anomaly detection","authors":"Qiqi Yang, Hang Yu, Zhengyang Liu, Pengbo Li, Xue Chen, Xiangfeng Luo","doi":"10.1016/j.knosys.2025.113289","DOIUrl":null,"url":null,"abstract":"<div><div>Graph data has shown explosive growth, with application scenarios covering social networks, e-commerce networks, financial transaction networks, etc. In this context, graph anomaly detection is particularly important, aiming to prevent various malicious activities. Existing approaches, however, are still limited in that they either ignore global information and focus only on aggregating neighbor information of the target node, or they utilize global context as a supervisory signal while ignoring local information. In certain scenarios, anomalies can only be detected in a single view (global or local). Furthermore, the issue of class imbalance in graph-based anomaly detection is exacerbated by the significant disparity between the number of benign user samples and anomalous samples in real-world scenarios. As a solution to the above challenges, we present a framework for synthesizing Global and Local perspectives in Contrastive Learning (GALCL). GALCL leverages multi-view contrast to integrate both global and local information. By using node-graph and node-subgraph cross-scale contrasts, the framework enhances the prominence of local and global information, thereby capturing anomaly information that might be missed by focusing solely on the global or local level. In addition, a class-wise loss function is adopted to alleviate class imbalances on the graph. Comprehensive experiments conducted on eight real-world datasets demonstrate that our method outperforms the current state-of-the-art methods.</div></div>","PeriodicalId":49939,"journal":{"name":"Knowledge-Based Systems","volume":"315 ","pages":"Article 113289"},"PeriodicalIF":7.2000,"publicationDate":"2025-03-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Knowledge-Based Systems","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0950705125003363","RegionNum":1,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0
Abstract
Graph data has shown explosive growth, with application scenarios covering social networks, e-commerce networks, financial transaction networks, etc. In this context, graph anomaly detection is particularly important, aiming to prevent various malicious activities. Existing approaches, however, are still limited in that they either ignore global information and focus only on aggregating neighbor information of the target node, or they utilize global context as a supervisory signal while ignoring local information. In certain scenarios, anomalies can only be detected in a single view (global or local). Furthermore, the issue of class imbalance in graph-based anomaly detection is exacerbated by the significant disparity between the number of benign user samples and anomalous samples in real-world scenarios. As a solution to the above challenges, we present a framework for synthesizing Global and Local perspectives in Contrastive Learning (GALCL). GALCL leverages multi-view contrast to integrate both global and local information. By using node-graph and node-subgraph cross-scale contrasts, the framework enhances the prominence of local and global information, thereby capturing anomaly information that might be missed by focusing solely on the global or local level. In addition, a class-wise loss function is adopted to alleviate class imbalances on the graph. Comprehensive experiments conducted on eight real-world datasets demonstrate that our method outperforms the current state-of-the-art methods.
期刊介绍:
Knowledge-Based Systems, an international and interdisciplinary journal in artificial intelligence, publishes original, innovative, and creative research results in the field. It focuses on knowledge-based and other artificial intelligence techniques-based systems. The journal aims to support human prediction and decision-making through data science and computation techniques, provide a balanced coverage of theory and practical study, and encourage the development and implementation of knowledge-based intelligence models, methods, systems, and software tools. Applications in business, government, education, engineering, and healthcare are emphasized.