arXiv:2506.21398cs.CV2025-06被引 6

通过迭代优化提升少样本工业缺陷检测原型表征能力

FastRef:Fast Prototype Refinement for Few-Shot Industrial Anomaly Detection

  • 用可学习变换矩阵将查询图像特征迁移到原型中
  • 在1/2/4样本下均显著提升检测性能,速度更快
  • 适合资源受限的工业质检场景快速部署

少样本工业异常检测(FS-IAD)在数据稀缺环境下对自动化检测系统至关重要。现有方法多从有限的正常样本中提取原型,却忽视利用查询图像统计信息增强原型表征。为此,我们提出FastRef,一种高效原型精炼框架。该方法采用迭代两阶段流程:(1) 通过可学习变换矩阵,将查询特征的特性迁移至原型;(2) 通过原型对齐实现异常抑制。特征迁移基于原型对查询特征的线性重构,而异常抑制则基于关键观察——在少样本设置下,异常重建更可能发生。因此,我们采用最优传输(OT)处理非高斯采样特征,度量并最小化原型与其精炼版本之间的差距,实现异常抑制。为全面评估,我们将FastRef集成至三种先进原型类方法:PatchCore、FastRecon、WinCLIP和AnomalyDINO。在MVTec、ViSA、MPDD和RealIAD四个基准数据集上,实验表明该方法在1/2/4样本条件下兼具有效性与计算效率。

原文摘要 · Abstract (English)

Few-shot industrial anomaly detection (FS-IAD) presents a critical challenge for practical automated inspection systems operating in data-scarce environments. While existing approaches predominantly focus on deriving prototypes from limited normal samples, they typically neglect to systematically incorporate query image statistics to enhance prototype representativeness. To address this issue, we propose FastRef, a novel and efficient prototype refinement framework for FS-IAD. Our method operates through an iterative two-stage process: (1) characteristic transfer from query features to prototypes via an optimizable transformation matrix, and (2) anomaly suppression through prototype alignment. The characteristic transfer is achieved through linear reconstruction of query features from prototypes, while the anomaly suppression addresses a key observation in FS-IAD that unlike conventional IAD with abundant normal prototypes, the limited-sample setting makes anomaly reconstruction more probable. Therefore, we employ optimal transport (OT) for non-Gaussian sampled features to measure and minimize the gap between prototypes and their refined counterparts for anomaly suppression. For comprehensive evaluation, we integrate FastRef with three competitive prototype-based FS-IAD methods: PatchCore, FastRecon, WinCLIP, and AnomalyDINO. Extensive experiments across four benchmark datasets of MVTec, ViSA, MPDD and RealIAD demonstrate both the effectiveness and computational efficiency of our approach under 1/2/4-shots.

异常检测少样本学习工业质检原型精炼

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