arXiv:2609.05253cs.LG2026-09

通过球面对齐实现跨域图异常检测,无需目标域数据即可零样本推理。

GLASS: Graph-Language Alignment with Spherical Scoring for Transferable Graph-Level Anomaly Detection

论文配图:GLASS: Graph-Language Alignment with Spherical Scoring for Transferable Graph-Level Anomaly Detection
图 1 · 摘自论文原文
  • 在单位超球面上对齐图结构与文本语义,构建统一表示空间。
  • 在12个基准上平均AUROC领先现有方法,支持零样本与少样本迁移。
  • 创新性地用球面密度估计融合结构与语义异常信号,适合跨域工业检测场景。

我们提出GLASS框架,用于图级异常检测(GLAD),通过在单位超球面上进行图-语言对齐,实现鲁棒的跨域可迁移性。该框架通过多切片软余弦目标,将结构感知的图编码器与指令感知的文本嵌入对齐,构建统一表示空间。将局部、全局及语义图属性序列化为紧凑的图描述符提示(GraphDP),形成文本桥梁,实现无领域依赖的异常评分。通过马特里什卡表示切片强制多尺度一致性,模型可在多个粒度层级捕捉异常偏差。评分方面,将异常检测建模为对齐超球面的密度估计,引入球面多模态评分(SMS),在图与文本嵌入空间中实例化von Mises-Fisher核密度估计器。该概率公式将角k近邻评分作为高浓度极限情况恢复,并提供结构与语义异常信号的合理融合。共享文本嵌入空间作为跨域桥梁:仅通过编码目标域的GraphDP而无需目标域训练数据,即可实现零样本异常检测;仅需少量正常样本,通过参考集校准即可实现少样本适应。在十二个基准与三个元域上,GLASS在平均AUROC与排名上均优于近期先进基线,有效支持跨域迁移。

原文摘要 · Abstract (English)

We introduce GLASS, a framework for graph-level anomaly detection (GLAD) that achieves robust cross-domain transferability through graph-language alignment on the unit hypersphere. GLASS builds a unified representation space by aligning a structure-aware graph encoder with an instruction-aware text embedding via a multi-slice soft cosine objective. Our framework serializes local, global, and semantic graph properties into a compact Graph Descriptor Prompt (GraphDP), creating a text bridge that enables domain-agnostic anomaly scoring. By enforcing multi-scale consistency through Matryoshka representation slices, the model captures anomalous deviations at multiple levels of granularity. For scoring, we formulate anomaly detection as density estimation on the aligned hypersphere and introduce Spherical Multi-Modal Scoring (SMS), which instantiates von Mises-Fisher kernel density estimators in both graph and text embedding spaces. This probabilistic formulation recovers angular k-nearest-neighbor scoring as a high-concentration limiting case and provides a principled fusion of structural and semantic anomaly signals. The shared text embedding space further serves as a cross-domain bridge: by encoding a target domain's GraphDP without target-domain training data, GLASS performs zero-shot anomaly detection, and with only a handful of normal examples, few-shot adaptation via reference-set calibration. Across twelve benchmarks and three meta-domains, GLASS obtains the best average AUROC and rank compared with recent advanced GLAD baselines and enables effective cross-domain transfer.

图异常检测跨域迁移多模态对齐零样本学习

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