Advancing unsupervised graph anomaly detection: A multi-level contrastive learning framework to mitigate local consistency deception

Graph anomaly detection plays a crucial role in various fields such as social networks, financial transactions, and cybersecurity. Due to the high cost of acquiring labeled node data, contrastive learning, an important paradigm in unsupervised learning, has gained significant attention and demonstrated effective performance in practical applications. Traditional contrastive learning methods evaluate anomalies by detecting inconsistencies between nodes and their neighbors or subgraphs, often expanding these scopes using techniques like Random Walk with Restart (RWR) to gather more information. However, in real-world anomaly datasets, normal and anomalous nodes often exhibit complex hybrid distributions. This complexity can deceive the consistency discrimination of contrastive learning methods under local views, leading to substantial performance drops. To address this issue, we propose TCL-GAD, a novel solution that incorporates global information for graph anomaly detection. TCL-GAD uses a Simple GCN module to extract node and neighborhood information while employing a Hierarchical Transformer to prevent over-reliance on higher-order node information, which could negatively impact the model, while efficiently extracting valuable global information. The Multi-Level Contrastive Learning framework enhances negative node sampling and effectively leverages multi-level graph information to boost overall detection performance. We evaluated TCL-GAD against thirteen state-of-the-art baseline methods across seven diverse datasets. Results show that TCL-GAD achieves excellent operational efficiency and consistently demonstrates superior performance, showing significant improvements over the runner-up methods especially on complex real-world datasets. • Introduces TCL-GAD, a Transformer-based contrastive learning framework for Graph Anomaly Detection, effectively leveraging expanded receptive fields, mitigating deceptive behaviors in complex distributions, and reducing computational costs. • Mitigates over-globalization by hierarchically aggregating global information using latent community structures, effectively expanding the receptive field for node information aggregation. • Incorporates SNS based on community partitioning to reduce bias from random negative sampling, enhancing model robustness and performance in handling complex anomaly distributions. • Achieves near-linear time complexity with non-weighted message passing and improved Transformer computations, demonstrating superior results across seven real-world anomaly datasets, surpassing thirteen baseline methods.

Authors

Institutions

Publication Details

Journal
Neurocomputing
Published
2025-05-27
DOI
https://doi.org/10.1016/j.neucom.2025.130507
Citations
4
Primary Topic
Advanced Graph Neural Networks
Type
article
Field-Weighted Citation Impact
9.92

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Advancing unsupervised graph anomaly detection: A multi-level contrastive learning framework to mitigate local consistency deception

Yijun Gu, W. Wu
4 citations
Neurocomputing
Advanced Graph Neural Networks
9.92
article

Advancing unsupervised graph anomaly detection: A multi-level contrastive learning framework to mitigate local consistency deception

Yijun Gu, W. Wu
article en
4 citations

Abstract

Graph anomaly detection plays a crucial role in various fields such as social networks, financial transactions, and cybersecurity. Due to the high cost of acquiring labeled node data, contrastive learning, an important paradigm in unsupervised learning, has gained significant attention and demonstrated effective performance in practical applications. Traditional contrastive learning methods evaluate anomalies by detecting inconsistencies between nodes and their neighbors or subgraphs, often expanding these scopes using techniques like Random Walk with Restart (RWR) to gather more information. However, in real-world anomaly datasets, normal and anomalous nodes often exhibit complex hybrid distributions. This complexity can deceive the consistency discrimination of contrastive learning methods under local views, leading to substantial performance drops. To address this issue, we propose TCL-GAD, a novel solution that incorporates global information for graph anomaly detection. TCL-GAD uses a Simple GCN module to extract node and neighborhood information while employing a Hierarchical Transformer to prevent over-reliance on higher-order node information, which could negatively impact the model, while efficiently extracting valuable global information. The Multi-Level Contrastive Learning framework enhances negative node sampling and effectively leverages multi-level graph information to boost overall detection performance. We evaluated TCL-GAD against thirteen state-of-the-art baseline methods across seven diverse datasets. Results show that TCL-GAD achieves excellent operational efficiency and consistently demonstrates superior performance, showing significant improvements over the runner-up methods especially on complex real-world datasets. • Introduces TCL-GAD, a Transformer-based contrastive learning framework for Graph Anomaly Detection, effectively leveraging expanded receptive fields, mitigating deceptive behaviors in complex distributions, and reducing computational costs. • Mitigates over-globalization by hierarchically aggregating global information using latent community structures, effectively expanding the receptive field for node information aggregation. • Incorporates SNS based on community partitioning to reduce bias from random negative sampling, enhancing model robustness and performance in handling complex anomaly distributions. • Achieves near-linear time complexity with non-weighted message passing and improved Transformer computations, demonstrating superior results across seven real-world anomaly datasets, surpassing thirteen baseline methods.

NeurocomputingVol. 646
China People's Public Security University (CN)
Fundamental Research Funds for the Central Universities
Reduced inequalities
Openalex Percentile: Top 2%
Advanced Graph Neural Networks
9.92
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.