Pruning Spurious Subgraphs for Graph Out-of-Distribution Generalization

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Yao, Tianjun, Li, Haoxuan, Chen, Yongqiang, Liu, Tongliang, Song, Le, Xing, Eric, Shen, Zhiqiang
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866912573770694656
author Yao, Tianjun
Li, Haoxuan
Chen, Yongqiang
Liu, Tongliang
Song, Le
Xing, Eric
Shen, Zhiqiang
author_facet Yao, Tianjun
Li, Haoxuan
Chen, Yongqiang
Liu, Tongliang
Song, Le
Xing, Eric
Shen, Zhiqiang
contents Graph Neural Networks (GNNs) often encounter significant performance degradation under distribution shifts between training and test data, hindering their applicability in real-world scenarios. Recent studies have proposed various methods to address the out-of-distribution generalization challenge, with many methods in the graph domain focusing on directly identifying an invariant subgraph that is predictive of the target label. However, we argue that identifying the edges from the invariant subgraph directly is challenging and error-prone, especially when some spurious edges exhibit strong correlations with the targets. In this paper, we propose PrunE, the first pruning-based graph OOD method that eliminates spurious edges to improve OOD generalizability. By pruning spurious edges, PrunE retains the invariant subgraph more comprehensively, which is critical for OOD generalization. Specifically, PrunE employs two regularization terms to prune spurious edges: 1) graph size constraint to exclude uninformative spurious edges, and 2) $ε$-probability alignment to further suppress the occurrence of spurious edges. Through theoretical analysis and extensive experiments, we show that PrunE achieves superior OOD performance and outperforms previous state-of-the-art methods significantly. Codes are available at: \href{https://github.com/tianyao-aka/PrunE-GraphOOD}{https://github.com/tianyao-aka/PrunE-GraphOOD}.
format Preprint
id arxiv_https___arxiv_org_abs_2506_05957
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Pruning Spurious Subgraphs for Graph Out-of-Distribution Generalization
Yao, Tianjun
Li, Haoxuan
Chen, Yongqiang
Liu, Tongliang
Song, Le
Xing, Eric
Shen, Zhiqiang
Machine Learning
I.2.6
Graph Neural Networks (GNNs) often encounter significant performance degradation under distribution shifts between training and test data, hindering their applicability in real-world scenarios. Recent studies have proposed various methods to address the out-of-distribution generalization challenge, with many methods in the graph domain focusing on directly identifying an invariant subgraph that is predictive of the target label. However, we argue that identifying the edges from the invariant subgraph directly is challenging and error-prone, especially when some spurious edges exhibit strong correlations with the targets. In this paper, we propose PrunE, the first pruning-based graph OOD method that eliminates spurious edges to improve OOD generalizability. By pruning spurious edges, PrunE retains the invariant subgraph more comprehensively, which is critical for OOD generalization. Specifically, PrunE employs two regularization terms to prune spurious edges: 1) graph size constraint to exclude uninformative spurious edges, and 2) $ε$-probability alignment to further suppress the occurrence of spurious edges. Through theoretical analysis and extensive experiments, we show that PrunE achieves superior OOD performance and outperforms previous state-of-the-art methods significantly. Codes are available at: \href{https://github.com/tianyao-aka/PrunE-GraphOOD}{https://github.com/tianyao-aka/PrunE-GraphOOD}.
title Pruning Spurious Subgraphs for Graph Out-of-Distribution Generalization
topic Machine Learning
I.2.6
url https://arxiv.org/abs/2506.05957