arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2410.06976cs.LG
收藏

Matcha:利用测试时自适应缓解图结构偏移

Matcha: Mitigating Graph Structure Shifts with Test-Time Adaptation

University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)

Wenxuan Bao, Zhichen Zeng, Zhining Liu, Hanghang Tong, Jingrui He

AI总结:

针对图神经网络(GNNs)在图结构偏移下的脆弱性,提出Matcha框架,通过调整GNN的top-聚合参数并引入预测感知聚类损失,适配结构偏移并与现有TTA算法集成,提升结构与属性偏移组合场景下的鲁棒性。

摘要:

尽管图神经网络(GNNs)功能强大,但已知它们易受分布偏移的影响。最近,测试时自适应(TTA)因其无需重新访问源域即可将预训练模型适配到目标域的能力而受到关注。然而,现有的TTA算法主要针对视觉任务中的属性偏移设计,这些任务中的样本是独立的。这些方法在经历结构偏移的图数据上表现不佳,此时源图和目标图之间的节点连通性存在差异。我们将这种性能差距归因于节点属性偏移与图结构偏移的不同影响:后者会显著降低节点表示的质量,并模糊不同节点类别之间的边界。为了解决图中的结构偏移问题,我们提出Matcha,这是一个创新框架,旨在通过调整GNN中的top-聚合参数,有效且高效地适配结构偏移。为了提高表示质量,我们设计了一种预测感知聚类损失,以鼓励不同节点类别形成不同的簇。此外,Matcha与现有的TTA算法无缝集成,使其能够有效处理属性偏移,同时在结构和属性偏移组合的情况下提高整体性能。我们在合成和真实世界数据集上验证了Matcha的有效性,证明其在各种结构和属性偏移组合下的鲁棒性。我们的代码可在https://github.com/baowenxuan/Matcha获取。

英文摘要:

Powerful as they are, graph neural networks (GNNs) are known to be vulnerable to distribution shifts. Recently, test-time adaptation (TTA) has attracted attention due to its ability to adapt a pre-trained model to a target domain, without re-accessing the source domain. However, existing TTA algorithms are primarily designed for attribute shifts in vision tasks, where samples are independent. These methods perform poorly on graph data that experience structure shifts, where node connectivity differs between source and target graphs. We attribute this performance gap to the distinct impact of node attribute shifts versus graph structure shifts: the latter significantly degrades the quality of node representations and blurs the boundaries between different node categories. To address structure shifts in graphs, we propose Matcha, an innovative framework designed for effective and efficient adaptation to structure shifts by adjusting the htop-aggregation parameters in GNNs. To enhance the representation quality, we design a prediction-informed clustering loss to encourage the formation of distinct clusters for different node categories. Additionally, Matcha seamlessly integrates with existing TTA algorithms, allowing it to handle attribute shifts effectively while improving overall performance under combined structure and attribute shifts. We validate the effectiveness of Matcha on both synthetic and real-world datasets, demonstrating its robustness across various combinations of structure and attribute shifts. Our code is available at https://github.com/baowenxuan/Matcha .

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

↑