Graph Evidential Learning for Anomaly Detection

Chunyu Wei, Wenji Hu, Xingjia Hao, Yunhai Wang, Yueguo Chen, Bing Bai, Fei Wang · DOI

Abstract

Graph anomaly detection faces significant challenges due to the scarcity of reliable anomaly-labeled datasets, driving the development of unsupervised methods. Graph autoencoders (GAEs) have emerged as a dominant approach by reconstructing graph structures and node features while deriving anomaly scores from reconstruction errors. However, relying solely on reconstruction error for anomaly detection has limitations, as it increases the sensitivity to noise and overfitting. To address these issues, we propose Graph Evidential Learning (GEL), a probabilistic framework that redefines the reconstruction process through evidential learning. By modeling node features and graph topology using evidential distributions, GEL quantifies two types of uncertainty: graph uncertainty and reconstruction uncertainty, incorporating them into the anomaly scoring mechanism. Extensive experiments demonstrate that GEL achieves state-of-the-art performance while maintaining high robustness against noise and structural perturbations.

Introduction

In the domain of Graph Anomaly Detection (GAD), the scarcity of labeled data has led to the dominance of unsupervised methods, particularly Graph Autoencoders (GAEs). Traditionally, these models identify anomalies by measuring reconstruction error—the logic being that anomalous nodes, which deviate from the majority, will be poorly reconstructed.

However, this approach has significant drawbacks. Powerful neural networks can overfit, learning to reconstruct anomalous nodes too effectively and allowing them to evade detection. Furthermore, normal nodes that are inherently noisy often yield high reconstruction errors, leading to false positives. The proposed Graph Evidential Learning (GEL) framework addresses these limitations by shifting the focus from simple reconstruction error to explicit uncertainty modeling.

Comparison between Vanilla GAE and the proposed GEL framework.

Methodology

The core innovation of GEL is the integration of evidential learning into the GAE architecture. Instead of producing single-point estimates for node features or edges, the model outputs parameters for higher-order distributions, allowing for the quantification of model confidence.

Dual-Modality Modeling

Graphs are composed of continuous node features and discrete topological structures. GEL handles this heterogeneity using two distinct evidential distributions:

  • Node Features: Modeled using a Normal Inverse-Gamma (NIG) distribution, which enables the model to estimate both the mean and the variance of the reconstruction.
  • Graph Topology: Modeled using a Beta distribution (via Subjective Logic) to represent the probability of an edge's existence and its associated uncertainty.

Quantifying Uncertainty

GEL derives two specific types of uncertainty for each modality:

  • Reconstruction Uncertainty: Reflects the model's lack of confidence when encountering out-of-distribution data (i.e., data that looks nothing like the training set).
  • Graph Uncertainty: Captures inherent randomness or conflicting evidence in the local graph structure, such as when an anomaly mimics a normal node's connections.
Detailed architecture of the Graph Evidential Learning (GEL) framework.

Training and Scoring

The model is trained using a multi-task loss that maximizes the likelihood of observed data while penalizing incorrect evidence. To prevent overfitting and enhance robustness, the authors introduce Data Perturbation (Gaussian noise on features and edge dropout) during training. The final anomaly score is a weighted combination of reconstruction error and the quantified uncertainties.

Experimental Results

The authors evaluated GEL on five popular benchmarks (Weibo, Reddit, Disney, Books, Enron) and one large-scale financial dataset (DGraphFin).

  • State-of-the-Art Performance: GEL outperformed 19 baseline methods, achieving an average AUC improvement of 4.64%. On datasets with very low anomaly rates, such as Reddit and Books, GEL saw AUC increases of 8.2% and 7.7%, respectively.
  • Robustness and Scalability: GEL demonstrated remarkable stability against feature noise and edge dropout compared to traditional GAEs. On the million-node DGraphFin dataset, it maintained a 6.64% higher AUC than strong baselines while requiring only 17% more training time.

Conclusion

By treating anomalies as "unknowns" where the model expresses high uncertainty, GEL provides a more nuanced and robust signal for detection than reconstruction error alone. This approach effectively disentangles noise from true anomalies, setting a new standard for unsupervised graph anomaly detection. Future research directions include extending GEL to dynamic graphs and exploring more flexible distribution-free evidential methods.

Summary updated

BibTeX
@inproceedings{wei2025graph,
  author = {Chunyu Wei and Wenji Hu and Xingjia Hao and Yunhai Wang and Yueguo Chen and Bing Bai and Fei Wang},
  title = {{Graph Evidential Learning for Anomaly Detection}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2025},
  doi = {10.1145/3711896.3736989},
}
Figure