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

SPG:基于稀疏自编码器的稀疏投影引导用于零样本异常检测

SPG: Sparse-Projected Guides with Sparse Autoencoders for Zero-Shot Anomaly Detection

Yachiyo Engineering Co., Ltd., Japan(八千代工程有限公司,日本);Chubu University, Japan(中部大学,日本)

Tomoyasu Nanaumi, Yukino Tsuzuki, Junichi Okubo, Junichiro Fujii, Takayoshi Yamashita

AI总结:

本文提出SPG框架,通过稀疏自编码器学习引导系数,实现零样本异常检测与分割,实验显示其在多个数据集上表现优异。

摘要:

我们研究了使用冻结基础模型特征进行零样本异常检测和分割,其中所有可学习参数仅在标记的辅助数据集上训练,并部署到未见过的目标类别中,无需目标域适应。现有基于提示的方法使用手工制作或学习的提示嵌入作为正常/异常状态的参考向量。我们提出稀疏投影引导(SPG),一种无提示框架,通过稀疏自编码器(SAE)潜在空间学习稀疏引导系数,生成正常/异常引导向量。SPG在标记的辅助数据集上采用两阶段学习策略:(i)在补丁-令牌特征上训练SAE,(ii)仅优化引导系数使用辅助像素级掩码,同时冻结主干和SAE。在MVTec AD和VisA的跨数据集零样本设置中,SPG在图像级检测和像素级分割上表现出色;使用DINOv3时,SPG在比较方法中达到最高的像素级AUROC。我们还报告了使用OpenCLIP(ViT-L/14@336px)实例化的SPG,以对齐主干与基于CLIP的基线。此外,学习的引导系数可以追溯到少量字典原子,揭示了类别通用和类别特定的因素。

英文摘要:

We study zero-shot anomaly detection and segmentation using frozen foundation model features, where all learnable parameters are trained only on a labeled auxiliary dataset and deployed to unseen target categories without any target-domain adaptation. Existing prompt-based approaches use handcrafted or learned prompt embeddings as reference vectors for normal/anomalous states. We propose Sparse-Projected Guides (SPG), a prompt-free framework that learns sparse guide coefficients in the Sparse Autoencoder (SAE) latent space, which generate normal/anomaly guide vectors via the SAE dictionary. SPG employs a two stage learning strategy on the labeled auxiliary dataset: (i) train an SAE on patch-token features, and (ii) optimize only guide coefficients using auxiliary pixel-level masks while freezing the backbone and SAE. On MVTec AD and VisA under cross-dataset zero-shot settings, SPG achieves competitive image-level detection and strong pixel-level segmentation; with DINOv3, SPG attains the highest pixellevel AUROC among the compared methods. We also report SPG instantiated with OpenCLIP (ViT-L/14@336px) to align the backbone with CLIP-based baselines. Moreover, the learned guide coefficients trace decisions back to a small set of dictionary atoms, revealing category-general and category-specific factors.

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

↑