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

In-n-Out:校准用于链路预测的图神经网络

In-n-Out: Calibrating Graph Neural Networks for Link Prediction

Federal Institute of Ceará(塞阿拉联邦学院);Getulio Vargas Foundation(热图利奥·瓦加斯基金会);Aalto University(阿尔托大学);University of Manchester(曼彻斯特大学)

Erik Nascimento, Diego Mesquita, Samuel Kaski, Amauri H Souza

AI总结:

针对链路预测中图神经网络正负预测校准表现不一的问题,提出基于边标签与预测一致性对应嵌入波动幅度的IN-N-OUT方法,显著提升了链路预测的GNN校准效果,优于现有非专用基线。

摘要:

深度神经网络的校准问题十分突出,即其输出无法反映我们旨在预测的事件的真实概率。针对表格或图像数据的网络通常过于自信,而近期研究表明,图神经网络(GNNs)在节点级分类任务中表现出相反的行为。但在进行链路预测时情况如何呢?我们发现,在该场景下,GNNs通常呈现混合行为:具体而言,它们对负类预测可能过于自信,而对正类预测则信心不足。基于这一观察,我们提出了IN-N-OUT,这是首个用于链路预测任务的GNN校准方法。IN-N-OUT基于两个简单的核心思路:i)在遵循GNN预测的前提下为边赋予真/假标签,仅会引起该边嵌入的微小波动;反之,ii)若我们为同一条边赋予与GNN预测相矛盾的标签,嵌入的变化会更为显著。大量实验结果表明,IN-N-OUT显著提升了GNNs在链路预测中的校准效果,其性能始终优于现有的基线方法——这些基线方法并非为该特定任务设计。

英文摘要:

Deep neural networks are notoriously miscalibrated, i.e., their outputs do not reflect the true probability of the event we aim to predict. While networks for tabular or image data are usually overconfident, recent works have shown that graph neural networks (GNNs) show the opposite behavior for node-level classification. But what happens when we are predicting links? We show that, in this case, GNNs often exhibit a mixed behavior. More specifically, they may be overconfident in negative predictions while being underconfident in positive ones. Based on this observation, we propose IN-N-OUT, the first-ever method to calibrate GNNs for link prediction. IN-N-OUT is based on two simple intuitions: i) attributing true/false labels to an edge while respecting a GNNs prediction should cause but small fluctuations in that edge's embedding; and, conversely, ii) if we label that same edge contradicting our GNN, embeddings should change more substantially. An extensive experimental campaign shows that IN-N-OUT significantly improves the calibration of GNNs in link prediction, consistently outperforming the baselines available -- which are not designed for this specific task.

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

↑