[论文解读] Spectral Invariant Learning for Dynamic Graphs under Distribution Shifts
本文提出SILD,一种用于动态图的新型谱不变学习框架,解决了谱域中的分布偏移问题——此前在动态图神经网络中尚未被探索。通过利用傅里叶变换的自图轨迹谱,设计解耦谱掩码,并引入不变谱滤波,SILD将不变与可变频率分量解耦,显著提升了在合成数据集和真实世界数据集上的节点分类与链接预测任务中面对分布偏移时的泛化能力。
Dynamic graph neural networks (DyGNNs) currently struggle with handling distribution shifts that are inherent in dynamic graphs. Existing work on DyGNNs with out-of-distribution settings only focuses on the time domain, failing to handle cases involving distribution shifts in the spectral domain. In this paper, we discover that there exist cases with distribution shifts unobservable in the time domain while observable in the spectral domain, and propose to study distribution shifts on dynamic graphs in the spectral domain for the first time. However, this investigation poses two key challenges: i) it is non-trivial to capture different graph patterns that are driven by various frequency components entangled in the spectral domain; and ii) it remains unclear how to handle distribution shifts with the discovered spectral patterns. To address these challenges, we propose Spectral Invariant Learning for Dynamic Graphs under Distribution Shifts (SILD), which can handle distribution shifts on dynamic graphs by capturing and utilizing invariant and variant spectral patterns. Specifically, we first design a DyGNN with Fourier transform to obtain the ego-graph trajectory spectrums, allowing the mixed dynamic graph patterns to be transformed into separate frequency components. We then develop a disentangled spectrum mask to filter graph dynamics from various frequency components and discover the invariant and variant spectral patterns. Finally, we propose invariant spectral filtering, which encourages the model to rely on invariant patterns for generalization under distribution shifts. Experimental results on synthetic and real-world dynamic graph datasets demonstrate the superiority of our method for both node classification and link prediction tasks under distribution shifts.
研究动机与目标
- 解决在时间域之外的谱域中处理动态图分布偏移的空白。
- 发现并利用在分布偏移下保持稳定的不变谱模式,同时过滤掉可变模式。
- 开发一种方法,通过聚焦于谱不变性而非仅时间不变性,实现对分布偏移的鲁棒泛化。
- 证明谱域不变学习在动态图表示学习中优于时间域方法。
提出的方法
- 使用带有傅里叶变换的DyGNN,将自图轨迹动态转换为独立的频率分量,以支持谱分析。
- 设计解耦谱掩码,利用傅里叶谱的幅度和相位信息,提取不变与可变的谱模式。
- 引入不变谱滤波,以最小化在暴露于可变模式时的预测方差,从而鼓励模型依赖于稳定、不变的谱分量。
- 端到端训练模型,通过强调谱不变性来优化在分布偏移下的泛化性能。
- 将该框架应用于合成和真实世界动态图数据集上的节点分类与链接预测任务。
实验结果
研究问题
- RQ1是否可以在谱域中有效检测和处理动态图中的分布偏移,即使这些偏移在时间域中不可见?
- RQ2如何在谱域中解耦由不同频率分量驱动的图动态?
- RQ3在分布偏移下哪些谱模式保持不变?如何引导模型依赖这些模式以实现鲁棒预测?
- RQ4在动态图任务中,谱不变学习是否优于时间域不变学习方法?
主要发现
- SILD在多个合成和真实世界动态图数据集上,于分布偏移下的节点分类与链接预测任务中均达到最先进性能。
- 该方法通过聚焦于不变谱模式,展现出卓越的泛化能力,即使在时间域中无法检测到分布偏移时亦然。
- 谱不变性学习优于时间域不变学习方法(如DIDA),尤其在具有复杂、纠缠频率动态的情境下表现更优。
- 解耦谱掩码通过利用傅里叶谱中的幅度和相位信息,成功分离了不变与可变模式。
- 不变谱滤波降低了在分布偏移下的预测方差,证实了模型对稳定、不变分量的依赖。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。