arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.08855cs.LG

通过尖锐性感知最小化重新思考图泛化

Rethinking Graph Generalization through the Lens of Sharpness-Aware Minimization

School of Computer Science and Technology, Huazhong University of Science and Technology(计算机科学与技术学院,华中科技大学)

Yang Qiu, Yixiong Zou, Jun Wang

AI总结:

本文提出E2A框架,通过能量引导的潜在扰动生成伪OoD样本,提升图神经网络对分布偏移的泛化能力。

摘要:

图神经网络(GNNs)在各种基于图的任务中取得了显著成功,但对分布偏移仍然高度敏感。在本工作中,我们关注图泛化中普遍存在但研究不足的现象,即最小偏移翻转(MSF),其中略微偏离训练分布的测试样本会突然被错误分类。为了解释这一现象,我们通过尖锐性感知最小化(SAM)的视角重新审视MSF,该方法表征了损失景观的局部稳定性和尖锐性,同时为建模泛化误差提供了理论基础。为了量化损失尖锐性,我们引入了局部鲁棒半径的概念,测量翻转预测所需的最小扰动,并建立了局部稳定性与泛化之间的理论联系。基于这一视角,我们进一步观察到鲁棒半径在训练过程中持续下降,表明局部稳定性减弱,损失景观变得越来越尖锐,从而导致MSF。为了共同解决MSF现象和半径的不可行性,我们开发了一种基于能量的公式,该公式理论上被证明与鲁棒半径单调相关,提供了一个可操作且原理性的目标来建模平坦性和稳定性。基于这些见解,我们提出了一种能量驱动的生成增强框架(E2A),利用能量引导的潜在扰动生成伪OoD样本并增强模型泛化能力。在多个基准上的广泛实验表明,E2A在图OoD泛化方面一致提高了性能,优于最先进的基线。

英文摘要:

Graph Neural Networks (GNNs) have achieved remarkable success across various graph-based tasks but remain highly sensitive to distribution shifts. In this work, we focus on a prevalent yet under-explored phenomenon in graph generalization, Minimal Shift Flip (MSF),where test samples that slightly deviate from the training distribution are abruptly misclassified. To interpret this phenomenon, we revisit MSF through the lens of Sharpness-Aware Minimization (SAM), which characterizes the local stability and sharpness of the loss landscape while providing a theoretical foundation for modeling generalization error. To quantify loss sharpness, we introduce the concept of Local Robust Radius, measuring the smallest perturbation required to flip a prediction and establishing a theoretical link between local stability and generalization. Building on this perspective, we further observe a continual decrease in the robust radius during training, indicating weakened local stability and an increasingly sharp loss landscape that gives rise to MSF. To jointly solve the MSF phenomenon and the intractability of radius, we develop an energy-based formulation that is theoretically proven to be monotonically correlated with the robust radius, offering a tractable and principled objective for modeling flatness and stability. Building on these insights, we propose an energy-driven generative augmentation framework (E2A) that leverages energy-guided latent perturbations to generate pseudo-OOD samples and enhance model generalization. Extensive experiments across multiple benchmarks demonstrate that E2A consistently improves graph OOD generalization, outperforming state-of-the-art baselines.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑