arXiv:2603.15300cs.CV2026-03被引 1

用图注意力网络提升少样本工业缺陷检测精度与速度

GATE-AD: Graph Attention Network Encoding For Few-Shot Industrial Visual Anomaly Detection

  • 构建基于掩码和对齐的图注意力编码器,捕捉图像块间复杂局部关系
  • 在1到8样本设置下超越现有方法,最高提升1.8%检测准确率,推理提速超25%
  • 适合工业质检场景,尤其适用于正常样本极少的缺陷检测任务

少样本工业视觉异常检测(FS-IVAD)是现代制造中关键任务,需仅用少量正常样本识别罕见缺陷。本文提出基于重构的GATE-AD框架,采用掩码化、表示对齐的图注意力网络(GAT)编码机制,以学习正常样本的鲁棒外观模式。通过将密集图像块作为图节点,利用堆叠自注意力层动态建模非欧几里得、不规则局部关系。图结构引入可学习潜在空间的表示对齐模块,缺陷区域通过缩放余弦误差(SCE)函数评估。在MVTec AD、VisA和MPDD三大工业缺陷检测基准上全面测试表明,GATE-AD在1至8样本设置下均达当前最优性能:图像AUROC最高提升1.8%(MPDD 8样本),且单图推理延迟最低降低25.05%。源代码已开源,便于复现与研究。

原文摘要 · Abstract (English)

Few-Shot Industrial Visual Anomaly Detection (FS-IVAD) comprises a critical task in modern manufacturing settings, where automated product inspection systems need to identify rare defects using only a handful of normal/defect-free training samples. In this context, the current study introduces a novel reconstruction-based approach termed GATE-AD. In particular, the proposed framework relies on the employment of a masked, representation-aligned Graph Attention Network (GAT) encoding scheme to learn robust appearance patterns of normal samples. By leveraging dense, patch-level, visual feature tokens as graph nodes, the model employs stacked self-attentional layers to adaptively encode complex, irregular, non-Euclidean, local relations. The graph is enhanced with a representation alignment component grounded on a learnable, latent space, where high reconstruction residual areas (i.e., defects) are assessed using a Scaled Cosine Error (SCE) objective function. Extensive comparative evaluation on the MVTec AD, VisA, and MPDD industrial defect detection benchmarks demonstrates that GATE-AD achieves state-of-the-art performance across the $1$- to $8$-shot settings, combining the highest detection accuracy (increase up to $1.8\%$ in image AUROC in the 8-shot case in MPDD) with the lowest per-image inference latency (at least $25.05\%$ faster), compared to the best-performing literature methods. In order to facilitate reproducibility and further research, the source code of GATE-AD is available at https://github.com/gthpapadopoulos/GATE-AD.

异常检测图神经网络少样本学习工业质检

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