[Paper Review] Graph Anomaly Detection via Multi-Scale Contrastive Learning Networks with Augmented View
This paper proposes GRADATE, a graph anomaly detection framework that enhances multi-scale contrastive learning by introducing subgraph-subgraph contrast in a multi-view setting with edge-modified graph augmentation. By jointly optimizing node-subgraph, node-node, and subgraph-subgraph contrasts, GRADATE achieves state-of-the-art performance across six benchmark datasets, with AUC improvements up to 92.62% on UAI2010 and 92.37% on Cora.
Graph anomaly detection (GAD) is a vital task in graph-based machine learning and has been widely applied in many real-world applications. The primary goal of GAD is to capture anomalous nodes from graph datasets, which evidently deviate from the majority of nodes. Recent methods have paid attention to various scales of contrastive strategies for GAD, i.e., node-subgraph and node-node contrasts. However, they neglect the subgraph-subgraph comparison information which the normal and abnormal subgraph pairs behave differently in terms of embeddings and structures in GAD, resulting in sub-optimal task performance. In this paper, we fulfill the above idea in the proposed multi-view multi-scale contrastive learning framework with subgraph-subgraph contrast for the first practice. To be specific, we regard the original input graph as the first view and generate the second view by graph augmentation with edge modifications. With the guidance of maximizing the similarity of the subgraph pairs, the proposed subgraph-subgraph contrast contributes to more robust subgraph embeddings despite of the structure variation. Moreover, the introduced subgraph-subgraph contrast cooperates well with the widely-adopted node-subgraph and node-node contrastive counterparts for mutual GAD performance promotions. Besides, we also conduct sufficient experiments to investigate the impact of different graph augmentation approaches on detection performance. The comprehensive experimental results well demonstrate the superiority of our method compared with the state-of-the-art approaches and the effectiveness of the multi-view subgraph pair contrastive strategy for the GAD task.
Motivation & Objective
- Address the limitation of existing graph anomaly detection methods that neglect subgraph-subgraph contrastive learning despite its potential for robust subgraph representation.
- Enhance node-level and subgraph-level anomaly detection by integrating multi-scale contrastive learning across multiple views of a graph.
- Investigate the impact of different graph augmentation strategies—especially edge modification—on the performance of contrastive learning in anomaly detection.
- Develop a unified framework that synergistically combines node-subgraph, node-node, and subgraph-subgraph contrasts to improve detection robustness and accuracy.
Proposed method
- Construct two views of the input graph: the original graph as the first view and an edge-modified version generated via edge modification as the second view.
- Sample subgraphs from both views using random walk with restart to enable subgraph-level representation learning.
- Implement three contrastive learning heads: node-subgraph, node-node, and subgraph-subgraph contrast, with the latter specifically designed to align subgraph embeddings across views.
- Optimize the model using a weighted loss function combining all three contrastive objectives, with learnable balance parameters α, β, and γ.
- Utilize graph neural networks (GNNs) to encode node, subgraph, and neighborhood representations under each contrastive objective.
- Aggregate anomaly scores for each node using a combination of representations from all contrastive branches to improve detection reliability.
Experimental results
Research questions
- RQ1How does introducing subgraph-subgraph contrast improve graph anomaly detection performance compared to existing node-level and subgraph-level contrasts?
- RQ2Which graph augmentation strategy—feature perturbation or edge modification—yields better performance in the context of multi-view contrastive learning for GAD?
- RQ3What is the relative contribution of each contrastive objective (node-subgraph, node-node, subgraph-subgraph) to the overall detection performance?
- RQ4How sensitive is the model’s performance to hyperparameters such as the balance weights α, β, γ, and edge modification proportion P?
- RQ5Can the proposed multi-view, multi-scale contrastive framework generalize effectively across diverse real-world graph datasets with varying anomaly characteristics?
Key findings
- The inclusion of subgraph-subgraph contrast significantly improves detection performance, with GRADATE achieving an AUC of 0.9262 on the UAI2010 dataset, outperforming the baseline NS+NN (0.8731).
- Edge modification as a graph augmentation method yields the best performance across all datasets, with AUC scores of 0.8138 on Citation and 0.9237 on Cora, surpassing feature-based augmentations like GNF and FM.
- The ablation study confirms that combining all three contrastive objectives (NS+NN+SS) yields the highest performance, with a 2.5% average AUC gain over node-subgraph-only baselines.
- The optimal balance parameter γ for subgraph-subgraph contrast is found to be 0.1 across all datasets, indicating that this contrastive signal is most effective when moderately weighted.
- Performance remains stable across different edge modification proportions (P), with minimal fluctuation observed when P varies from 0.1 to 0.3, supporting the robustness of the method.
- Sensitivity analysis shows that α and β have a significant impact on performance, with optimal values of α=0.9 and β=0.3 on EAT, and α=0.7, β=0.5 on UAI2010, indicating the importance of hyperparameter tuning.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.