基于对抗精炼的基序一致反事实图用于图级异常检测
Motif-Consistent Counterfactuals with Adversarial Refinement for Graph-Level Anomaly Detection
AI总结:
针对图级异常检测,提出MotifCAR方法,融合基序与上下文子图生成反事实图,并利用GAN优化器及多种损失约束满足真实性、有效性、邻近性和稀疏性,提升检测性能。
摘要:
图级异常检测在多个领域具有重要意义。为提高检测性能,已有研究利用反事实图通过学习因果关系来增强泛化能力。然而,现有研究大多直接引入扰动(如翻转边)来生成反事实图,这容易改变生成样本的语义,使其偏离数据流形,导致性能次优。为解决这些问题,我们提出了一种新方法——基序一致反事实图与对抗精炼(MotifCAR),用于图级异常检测。该模型将一个图的基序(包含识别(类别)信息的核心子图)与另一个图的上下文子图(非基序)相结合,生成原始反事实图。然而,生成的原始图可能失真,无法满足重要的反事实性质:真实性、有效性、邻近性和稀疏性。为此,我们提出了一种基于生成对抗网络(GAN)的图优化器来精炼原始反事实图。它采用判别器引导生成器生成接近真实数据的图,即满足真实性。此外,我们设计了基序一致性,强制生成图的基序与真实图一致,满足有效性。同时,我们设计了上下文损失和连接损失来控制上下文子图和新添加的链接,以满足邻近性和稀疏性。最终,该模型能够生成高质量的反事实图。实验证明了MotifCAR的优越性。
英文摘要:
Graph-level anomaly detection is significant in diverse domains. To improve detection performance, counterfactual graphs have been exploited to benefit the generalization capacity by learning causal relations. Most existing studies directly introduce perturbations (e.g., flipping edges) to generate counterfactual graphs, which are prone to alter the semantics of generated examples and make them off the data manifold, resulting in sub-optimal performance. To address these issues, we propose a novel approach, Motif-consistent Counterfactuals with Adversarial Refinement (MotifCAR), for graph-level anomaly detection. The model combines the motif of one graph, the core subgraph containing the identification (category) information, and the contextual subgraph (non-motif) of another graph to produce a raw counterfactual graph. However, the produced raw graph might be distorted and cannot satisfy the important counterfactual properties: Realism, Validity, Proximity and Sparsity. Towards that, we present a Generative Adversarial Network (GAN)-based graph optimizer to refine the raw counterfactual graphs. It adopts the discriminator to guide the generator to generate graphs close to realistic data, i.e., meet the property Realism. Further, we design the motif consistency to force the motif of the generated graphs to be consistent with the realistic graphs, meeting the property Validity. Also, we devise the contextual loss and connection loss to control the contextual subgraph and the newly added links to meet the properties Proximity and Sparsity. As a result, the model can generate high-quality counterfactual graphs. Experiments demonstrate the superiority of MotifCAR.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。