跳到正文
arXiv (AI + Vision + Imaging)· Daniel Pr\"oll, Sebastian Hegenbart·· 1 天前AI 评分38

LocalSubspaceAD:用局部子空间混合实现免训练少样本工业异常检测

One Subspace Is Not Enough: LocalSubspaceAD for Training-Free Few-Shot Anomaly Detection

AI 导读

LocalSubspaceAD 将 SubspaceAD 的单一主子空间扩展为子空间混合,用 k-means 对 patch 特征聚类后为每个簇拟合一个子空间,并以所有子空间重投影残差的最小值给每个 patch 打分,无需训练和 EM 迭代。

正文 · 原文

arXiv:2611.32424v1 Announce Type: new Abstract: Defect-free industrial samples can vary considerably in appearance, texture, and geometry. In few-shot anomaly detection, this variability has to be modeled from only a handful of images. SubspaceAD showed that a single principal subspace of foundation-model patch features is a strong training-free model of nominal appearance. However, a single subspace has to cover all of the nominal data's variability, so a deviation that is anomalous for one semantic region can be within the nominal variability of another. We propose LocalSubspaceAD, which extends SubspaceAD from a single subspace to a mixture of subspaces, assigning each group of patches with similar features its own subspace. The set of patch-features is partitioned using k-means, one subspace is fit per cluster, and each patch is scored by the minimum of re-projection residuals over all subspaces. The proposed method requires no training and no EM refinement. On MVTec AD, VisA and Real-IAD with 1, 2 and 4 shots, it improves over a single subspace (SubspaceAD) on both evaluated backbones: by 1.2 to 1.8 points image AUROC on DINOv2, and by 1.4 to 4.4 points in image AUROC, pixel AUPR and AUPRO on DINOv3. The gains are most pronounced on objects with heterogeneous nominal appearance, such as multi-instance categories and PCBs. Ablations show that the gains stem from a finer-grained model of variability through locally oriented subspaces, rather than from the subspace offsets (cluster means). We further show that the gains do not stem from added capacity alone: the local subspaces appear to capture the structure of coherent clusters in feature space, and the model does not merely act as a compressed memory bank.

来源:arXiv (AI + Vision + Imaging) · arxiv.org