Structural Entropy Guided Unsupervised Graph Out-Of-Distribution Detection

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Hou, Yue, Zhu, He, Liu, Ruomei, Su, Yingke, Xia, Jinxiang, Wu, Junran, Xu, Ke
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909535128518656
author Hou, Yue
Zhu, He
Liu, Ruomei
Su, Yingke
Xia, Jinxiang
Wu, Junran
Xu, Ke
author_facet Hou, Yue
Zhu, He
Liu, Ruomei
Su, Yingke
Xia, Jinxiang
Wu, Junran
Xu, Ke
contents With the emerging of huge amount of unlabeled data, unsupervised out-of-distribution (OOD) detection is vital for ensuring the reliability of graph neural networks (GNNs) by identifying OOD samples from in-distribution (ID) ones during testing, where encountering novel or unknown data is inevitable. Existing methods often suffer from compromised performance due to redundant information in graph structures, which impairs their ability to effectively differentiate between ID and OOD data. To address this challenge, we propose SEGO, an unsupervised framework that integrates structural entropy into OOD detection regarding graph classification. Specifically, within the architecture of contrastive learning, SEGO introduces an anchor view in the form of coding tree by minimizing structural entropy. The obtained coding tree effectively removes redundant information from graphs while preserving essential structural information, enabling the capture of distinct graph patterns between ID and OOD samples. Furthermore, we present a multi-grained contrastive learning scheme at local, global, and tree levels using triplet views, where coding trees with essential information serve as the anchor view. Extensive experiments on real-world datasets validate the effectiveness of SEGO, demonstrating superior performance over state-of-the-art baselines in OOD detection. Specifically, our method achieves the best performance on 9 out of 10 dataset pairs, with an average improvement of 3.7\% on OOD detection datasets, significantly surpassing the best competitor by 10.8\% on the FreeSolv/ToxCast dataset pair.
format Preprint
id arxiv_https___arxiv_org_abs_2503_03241
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Structural Entropy Guided Unsupervised Graph Out-Of-Distribution Detection
Hou, Yue
Zhu, He
Liu, Ruomei
Su, Yingke
Xia, Jinxiang
Wu, Junran
Xu, Ke
Machine Learning
With the emerging of huge amount of unlabeled data, unsupervised out-of-distribution (OOD) detection is vital for ensuring the reliability of graph neural networks (GNNs) by identifying OOD samples from in-distribution (ID) ones during testing, where encountering novel or unknown data is inevitable. Existing methods often suffer from compromised performance due to redundant information in graph structures, which impairs their ability to effectively differentiate between ID and OOD data. To address this challenge, we propose SEGO, an unsupervised framework that integrates structural entropy into OOD detection regarding graph classification. Specifically, within the architecture of contrastive learning, SEGO introduces an anchor view in the form of coding tree by minimizing structural entropy. The obtained coding tree effectively removes redundant information from graphs while preserving essential structural information, enabling the capture of distinct graph patterns between ID and OOD samples. Furthermore, we present a multi-grained contrastive learning scheme at local, global, and tree levels using triplet views, where coding trees with essential information serve as the anchor view. Extensive experiments on real-world datasets validate the effectiveness of SEGO, demonstrating superior performance over state-of-the-art baselines in OOD detection. Specifically, our method achieves the best performance on 9 out of 10 dataset pairs, with an average improvement of 3.7\% on OOD detection datasets, significantly surpassing the best competitor by 10.8\% on the FreeSolv/ToxCast dataset pair.
title Structural Entropy Guided Unsupervised Graph Out-Of-Distribution Detection
topic Machine Learning
url https://arxiv.org/abs/2503.03241