arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.06391cs.LGcs.AI
收藏

是什么让图神经网络校准错误?

What Makes Graph Neural Networks Miscalibrated?

Technical University of Munich(慕尼黑工业大学);Munich Center for Machine Learning(慕尼黑机器学习中心)

Hans Hao-Hsun Hsu, Yuesong Shen, Christian Tomani, Daniel Cremers

摘要:

鉴于获得校准的预测和可靠的不确定性估计的重要性,各种事后校准方法已被开发用于标准多类分类任务的神经网络。然而,这些方法不太适合校准图神经网络(GNN),这带来了独特的挑战,例如考虑图结构和节点之间的图诱导相关性。在这项工作中,我们对GNN节点预测的校准质量进行了系统的研究。特别是,我们确定了影响GNN校准的五个因素:一般不自信趋势,节点预测分布的多样性,到训练节点的距离,相对置信度和邻域相似性。此外,基于这项研究的见解,我们设计了一种新的校准方法命名为图注意力温度标度(GATS),这是专门为校准图神经网络。GATS采用的设计,解决所有确定的影响因素,并产生节点的温度缩放使用的注意力为基础的架构。GATS同时具有保持准确性、数据高效性和表达性的特点。我们的实验经验验证了GATS的有效性,表明它可以在不同GNN主干的各种图形数据集上一致地实现最先进的校准结果。

英文摘要:

Given the importance of getting calibrated predictions and reliable uncertainty estimations, various post-hoc calibration methods have been developed for neural networks on standard multi-class classification tasks. However, these methods are not well suited for calibrating graph neural networks (GNNs), which presents unique challenges such as accounting for the graph structure and the graph-induced correlations between the nodes. In this work, we conduct a systematic study on the calibration qualities of GNN node predictions. In particular, we identify five factors which influence the calibration of GNNs: general under-confident tendency, diversity of nodewise predictive distributions, distance to training nodes, relative confidence level, and neighborhood similarity. Furthermore, based on the insights from this study, we design a novel calibration method named Graph Attention Temperature Scaling (GATS), which is tailored for calibrating graph neural networks. GATS incorporates designs that address all the identified influential factors and produces nodewise temperature scaling using an attention-based architecture. GATS is accuracy-preserving, data-efficient, and expressive at the same time. Our experiments empirically verify the effectiveness of GATS, demonstrating that it can consistently achieve state-of-the-art calibration results on various graph datasets for different GNN backbones.

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

↑