剖析图上不变学习的失败原因
Dissecting the Failure of Invariant Learning on Graphs
AI总结:
本文通过结构因果模型剖析IRM和VREx在图节点级OOD泛化中因缺乏类别条件不变性约束而失败的原因,并提出CIA及无需环境标签的CIA-LRA方法,通过类内跨环境对齐消除虚假特征,显著提升节点级OOD泛化性能。
摘要:
提升图上的节点级分布外(OOD)泛化能力仍是研究的关键领域。本文构建了一个结构因果模型(SCM),从理论上剖析两种著名的不变学习方法——不变风险最小化(IRM)和方差风险外推(VREx)——在节点级OOD场景下的表现。我们的分析揭示了一个关键局限:由于缺乏类别条件不变性约束,这些方法可能难以准确识别预测性不变自我图的结构,从而依赖虚假特征。为解决这一问题,我们提出了跨环境类内对齐(CIA),该方法通过对齐以同一类别为条件的跨环境表示来显式消除虚假特征,无需显式了解因果模式结构。为使CIA适应环境标签难以获取的节点级OOD场景,我们进一步提出了CIA-LRA(局部化重加权对齐),它利用邻居标签的分布来选择性地对齐节点表示,在不依赖环境标签的情况下有效区分并保留不变特征,同时去除虚假特征。我们通过基于PAC-Bayesian分析推导OOD泛化误差界,从理论上证明了CIA-LRA的有效性。在图上OOD基准上的实验验证了CIA和CIA-LRA的优越性,标志着节点级OOD泛化的重要进展。代码可在https://github.com/NOVAglow646/NeurIPS24-Invariant-Learning-on-Graphs获取。
英文摘要:
Enhancing node-level Out-Of-Distribution (OOD) generalization on graphs remains a crucial area of research. In this paper, we develop a Structural Causal Model (SCM) to theoretically dissect the performance of two prominent invariant learning methods -- Invariant Risk Minimization (IRM) and Variance-Risk Extrapolation (VREx) -- in node-level OOD settings. Our analysis reveals a critical limitation: due to the lack of class-conditional invariance constraints, these methods may struggle to accurately identify the structure of the predictive invariant ego-graph and consequently rely on spurious features. To address this, we propose Cross-environment Intra-class Alignment (CIA), which explicitly eliminates spurious features by aligning cross-environment representations conditioned on the same class, bypassing the need for explicit knowledge of the causal pattern structure. To adapt CIA to node-level OOD scenarios where environment labels are hard to obtain, we further propose CIA-LRA (Localized Reweighting Alignment) that leverages the distribution of neighboring labels to selectively align node representations, effectively distinguishing and preserving invariant features while removing spurious ones, all without relying on environment labels. We theoretically prove CIA-LRA's effectiveness by deriving an OOD generalization error bound based on PAC-Bayesian analysis. Experiments on graph OOD benchmarks validate the superiority of CIA and CIA-LRA, marking a significant advancement in node-level OOD generalization. The codes are available at https://github.com/NOVAglow646/NeurIPS24-Invariant-Learning-on-Graphs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。