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

生成优于修改:对抗图异常检测中的高类别同质性方差

Generation is better than Modification: Combating High Class Homophily Variance in Graph Anomaly Detection

Tongji University(同济大学);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);Tencent YouTu Lab(腾讯优图实验室)

Rui Zhang, Dawei Cheng, Xin Liu, Jie Yang, Yi Ouyang, Xian Wu, Yefeng Zheng

AI总结:

针对图异常检测中类别同质性方差大的问题,提出HedGe模型,通过生成低方差新关系而非修改原始关系,并在多个基准上取得最优性能,增强了对异质性攻击的鲁棒性。

摘要:

基于图的异常检测目前是图神经网络(GNNs)领域的一个重要研究课题。我们发现,在图异常检测中,不同类别之间的同质性分布差异显著大于同质图和异质图中的差异。我们首次引入了一种新的度量标准,称为类别同质性方差,它定量描述了这一现象。为了减轻其影响,我们提出了一种新颖的GNN模型,名为同质性边生成图神经网络(HedGe)。以往的工作通常侧重于对原始关系进行剪枝、选择或连接,我们将这些方法称为修改。与这些工作不同,我们的方法强调生成具有低类别同质性方差的新关系,并将原始关系作为辅助。HedGe使用自注意力机制从头采样同质性邻接矩阵,并利用在特征空间中相关但在原始图中未直接连接的节点。此外,我们修改了损失函数,以惩罚模型生成不必要的异质性边。大量对比实验表明,HedGe在多个基准数据集上取得了最佳性能,包括异常检测和无边节点分类。所提出的模型还在其他图分类任务上,在类别同质性方差增加的新型异质性攻击下,提高了鲁棒性。

英文摘要:

Graph-based anomaly detection is currently an important research topic in the field of graph neural networks (GNNs). We find that in graph anomaly detection, the homophily distribution differences between different classes are significantly greater than those in homophilic and heterophilic graphs. For the first time, we introduce a new metric called Class Homophily Variance, which quantitatively describes this phenomenon. To mitigate its impact, we propose a novel GNN model named Homophily Edge Generation Graph Neural Network (HedGe). Previous works typically focused on pruning, selecting or connecting on original relationships, and we refer to these methods as modifications. Different from these works, our method emphasizes generating new relationships with low class homophily variance, using the original relationships as an auxiliary. HedGe samples homophily adjacency matrices from scratch using a self-attention mechanism, and leverages nodes that are relevant in the feature space but not directly connected in the original graph. Additionally, we modify the loss function to punish the generation of unnecessary heterophilic edges by the model. Extensive comparison experiments demonstrate that HedGe achieved the best performance across multiple benchmark datasets, including anomaly detection and edgeless node classification. The proposed model also improves the robustness under the novel Heterophily Attack with increased class homophily variance on other graph classification tasks.

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

↑