Evidential Spectrum-Aware Contrastive Learning for OOD Detection in Dynamic Graphs
Abstract
Recently, Out-of-distribution (OOD) detection in dynamic graphs, which aims to identify whether incoming data deviates from the distribution of the in-distribution (ID) training set, has garnered considerable attention in security-sensitive fields. Current OOD detection paradigms primarily focus on static graphs and confront two critical challenges: i) high bias and high variance caused by single-point estimation, which makes the predictions sensitive to randomness in the data; ii) score homogenization resulting from the lack of OOD training data, where the model only learns ID-specific patterns, resulting in overall low OOD scores and a narrow score gap between ID and OOD data. To tackle these issues, we first investigate OOD detection in dynamic graphs through the lens of Evidential Deep Learning (EDL). Specifically, we propose EviSEC , an innovative and effective OOD detector via Evi dential S pectrum-awar E C ontrastive Learning. We design an evidential neural network to redefine the output as the posterior Dirichlet distribution, explaining the randomness of inputs through the uncertainty of distribution, which is overlooked by single-point estimation. Moreover, spectrum-aware augmentation module generates OOD approximations to identify patterns with high OOD scores, thereby widening the score gap between ID and OOD data and mitigating score homogenization. Extensive experiments on real-world datasets demonstrate that EviSAC effectively detects OOD samples in dynamic graphs. Our source code is available at https://github.com/Sunnan191/EviSEC
Cite
Text
Sun et al. "Evidential Spectrum-Aware Contrastive Learning for OOD Detection in Dynamic Graphs." European Conference on Machine Learning and Principles and Practice of Knowledge Discovery in Databases, 2025. doi:10.1007/978-3-032-05962-8_8Markdown
[Sun et al. "Evidential Spectrum-Aware Contrastive Learning for OOD Detection in Dynamic Graphs." European Conference on Machine Learning and Principles and Practice of Knowledge Discovery in Databases, 2025.](https://mlanthology.org/ecmlpkdd/2025/sun2025ecmlpkdd-evidential/) doi:10.1007/978-3-032-05962-8_8BibTeX
@inproceedings{sun2025ecmlpkdd-evidential,
title = {{Evidential Spectrum-Aware Contrastive Learning for OOD Detection in Dynamic Graphs}},
author = {Sun, Nan and Lin, Xixun and Zhou, Zhiheng and Shang, Yanmin and Cheng, Zhenlin and Cao, Yanan},
booktitle = {European Conference on Machine Learning and Principles and Practice of Knowledge Discovery in Databases},
year = {2025},
pages = {124-140},
doi = {10.1007/978-3-032-05962-8_8},
url = {https://mlanthology.org/ecmlpkdd/2025/sun2025ecmlpkdd-evidential/}
}