arXiv:2605.19738cs.CLcs.AI2026-05

用大模型理解节点拓扑角色,提升图异常检测精度。

TERGAD: Structure-Aware Text-Enhanced Representations for Graph Anomaly Detection

论文配图:TERGAD: Structure-Aware Text-Enhanced Representations for Graph Anomaly Detection
图 1 · 摘自论文原文
  • 将节点拓扑属性转为自然语言,通过大模型生成语义嵌入。
  • 融合结构与文本信息,重建误差作为异常评分,提升检测效果。
  • 适合关注图数据中语义与结构不一致异常的研究者。

图异常检测(GAD)旨在识别与多数节点显著不同的异常实体,如节点、边或子结构。现有文本增强方法通常仅使用原始文本特征整合结构上下文,却忽视了节点自身的拓扑角色,导致难以发现因内容与拓扑角色不一致而产生的复杂异常。为此,我们提出TERGAD(面向图异常检测的结构感知文本增强表示),一个基于大语言模型(LLM)语义推理能力的新数据增强框架。具体地,该方法将节点级拓扑属性转化为自然语言描述,经由LLM生成高层语义嵌入,并通过门控双分支自编码器自适应融合原始节点属性,联合重构图结构与节点特征。异常得分基于综合重构误差计算,有效捕捉可观测属性与LLM推断语义预期之间的偏差。在六个真实世界数据集上的实验表明,TERGAD持续优于当前最优基线。消融实验验证了结构语义引导的关键作用及门控融合机制的有效性。代码已开源:https://github.com/Kantorakitty/TERGAD-main。

原文摘要 · Abstract (English)

Graph Anomaly Detection (GAD) aims to identify atypical graph entities, such as nodes, edges, or substructures, that deviate significantly from the majority. While existing text-rich approaches typically integrate structural context into the data representation pipeline using raw textual features, they often neglect the structural context of nodes. This limitation hinders their ability to detect sophisticated anomalies arising from inconsistencies between a node's inherent content and its topological role. To bridge this gap, we propose TERGAD (Structure-aware Text-enhanced Representations for Graph Anomaly Detection), A novel data augmentation framework that enriches structural semantics for GAD via the semantic reasoning capabilities of Large Language Models (LLMs). Specifically, TERGAD translates node-level topological properties into descriptive natural language narratives, which are subsequently processed by an LLM to derive high-level semantic embeddings. These embeddings are then adaptively fused with original node attributes through a gated dual-branch autoencoder to jointly reconstruct both graph structure and node features. The anomaly score is computed based on the integrated reconstruction error, effectively capturing deviations in both observable attributes and LLM-informed semantic expectations. Extensive experiments on six real-world datasets demonstrate that TERGAD consistently outperforms state-of-the-art baselines. Furthermore, our ablation studies validate the indispensable role of structural semantic guidance and the efficacy of the gated fusion mechanism. Code is available at https://github.com/Kantorakitty/TERGAD-main.

图神经网络异常检测大模型语义增强

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。