arXiv:2506.05957cs.LG2025-06NeurIPS被引 4

通过剪枝虚假边提升图模型在分布外场景下的泛化能力

Pruning Spurious Subgraphs for Graph Out-of-Distribution Generalization

  • 先剪除与标签强相关但非本质的虚假边,保留真正不变子图
  • 在多个图数据集上显著优于现有最先进方法,提升分布外准确率
  • 适合需要鲁棒图学习的工业应用,如金融欺诈检测、社交网络分析

图神经网络在训练与测试数据分布变化时性能严重下降,限制了其在真实场景的应用。现有方法多聚焦于直接识别对目标标签具有预测性的不变子图,但直接定位这些边困难且易出错,尤其当虚假边与目标存在强相关性时。本文提出 PrunE,首个基于剪枝的图分布外泛化方法,通过移除虚假边来更完整地保留不变子图,从而提升泛化能力。PrunE采用两种正则项:1)图大小约束以剔除无信息的虚假边;2)ε-概率对齐进一步抑制虚假边出现。理论分析与大量实验表明,PrunE在分布外性能上显著优于现有最先进方法。代码已开源。

原文摘要 · Abstract (English)

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}.

图神经网络分布外泛化剪枝

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。