arXiv:2509.17670cs.CVcs.LG2025-09

提出局部窗口方法,用轻量设计提升工业缺陷检测精度与速度

Tailored Transformation Invariance for Industrial Anomaly Detection

  • 基于局部窗口构造特征,实现适度平移不变性
  • 在MVTec AD上提升准确率,训练测试时间显著降低
  • 适合资源受限场景,为新基准提供可复现基线

工业异常检测(IAD)是计算机视觉异常检测的一个重要分支,近年来因实际应用价值受到关注。现有方法聚焦于提取更具信息量的特征,相比早期仅依赖预训练特征的kNN方法性能更优,但训练成本更高,不利于实际部署。深入分析相关工作发现,主流基准仅需对微小平移具备鲁棒性。据此提出LWinNN——一种基于局部窗口的方法,在kNN方法的完全/无平移不变性之间找到平衡。实验表明,该方法显著提升准确率,同时大幅减少训练和推理时间。这揭示两点:一、通过高效利用有限数据,仍可缩小传统方法与先进模型间的差距;二、对有限平移不变性的假设,暗示未来应构建更具空间多样性的基准,本方法可作为新基线。代码已开源:https://github.com/marietteschonfeld/LWinNN。

原文摘要 · Abstract (English)

Industrial Anomaly Detection (IAD) is a subproblem within Computer Vision Anomaly Detection that has been receiving increasing amounts of attention due to its applicability to real-life scenarios. Recent research has focused on how to extract the most informative features, contrasting older kNN-based methods that use only pretrained features. These recent methods are much more expensive to train however and could complicate real-life application. Careful study of related work with regards to transformation invariance leads to the idea that popular benchmarks require robustness to only minor translations. With this idea we then formulate LWinNN, a local window based approach that creates a middle ground between kNN based methods that have either complete or no translation invariance. Our experiments demonstrate that this small change increases accuracy considerably, while simultaneously decreasing both train and test time. This teaches us two things: first, the gap between kNN-based approaches and more complex state-of-the-art methodology can still be narrowed by effective usage of the limited data available. Second, our assumption of requiring only limited translation invariance highlights potential areas of interest for future work and the need for more spatially diverse benchmarks, for which our method can hopefully serve as a new baseline. Our code can be found at https://github.com/marietteschonfeld/LWinNN .

异常检测工业质检轻量化模型

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