arXiv:2607.14534cs.CV2026-07

用多阶段重建提升工业缺陷检测的定位精度,尤其在多类场景下表现优异。

SwinAD: Multi-stage feature reconstruction for unsupervised industrial anomaly detection

论文配图:SwinAD: Multi-stage feature reconstruction for unsupervised industrial anomaly detection
图 1 · 摘自论文原文
  • 基于冻结的Swin Transformer V2编码器与多样性保持的解码器,分阶段重建特征。
  • 在MVTec AD数据集上像素级准确率(AP)达93.1,显著优于现有方法。
  • 适合需要高精度缺陷定位的工业质检场景,尤其多类别复杂背景环境。

工业异常检测旨在不依赖所有缺陷类型的详尽标注下识别和定位缺陷区域。尽管近期无监督方法已取得良好性能,但多数仅针对单类场景设计,在多类情况下因正常模式多样易导致过拟合,削弱了正常与异常区域的区分能力。本文提出SwinAD,一种基于重构的多类无监督异常检测框架,采用冻结的预训练Swin Transformer V2编码器与特征多样性保持的重构解码器。层次化编码器提供语义丰富的多尺度特征,逐级瓶颈模块结合随机失活防止平凡映射,增强对正常模式的鲁棒重构。为进一步提升定位能力,引入保留互补重构假设的框架,而非依赖单一解码分支。将编码器特征与双重构特征间的差异在多尺度上聚合,生成最终异常图。在MVTec AD、VisA和Real-IAD三个工业异常检测基准上的实验表明,SwinAD在图像级性能上具有竞争力,并在像素级定位上表现突出,尤其在MVTec AD上像素级平均精度(AP)达93.1,显著提升。结果表明,结合层次化Swin特征与多样化多尺度重构能显著改善多类无监督异常检测中的像素级定位效果。

原文摘要 · Abstract (English)

Industrial anomaly detection aims to identify and localize defective regions without relying on exhaustive annotations of all possible defect types. Although recent unsupervised methods have achieved strong performance, most are primarily designed for single-class settings and often struggle in multi-class scenarios, where diverse normal patterns may lead to over-generalization and reduce the discriminative capability between normal and anomalous regions. In this paper, we propose SwinAD, a reconstruction-based framework for multi-class unsupervised anomaly detection that leverages a frozen pretrained Swin Transformer V2 encoder and a feature diversity-preserving reconstruction decoder. The hierarchical encoder provides semantically rich multi-scale features, while stage-wise bottleneck modules with dropout prevent trivial identity mapping and encourage robust reconstruction of normal patterns. To further improve localization, we introduce a feature diversity-preserving reconstruction framework that maintains complementary reconstruction hypotheses instead of relying on a single decoding branch. The discrepancies between encoder features and the two reconstructed features are then aggregated across multiple scales to produce the final anomaly map. Experiments conducted on three industrial anomaly detection benchmarks, including MVTec AD, VisA, and Real-IAD, demonstrate that SwinAD achieves competitive image-level performance and strong pixel-level localization accuracy, with particularly notable improvements in pixel-level AP and 1 on MVTec AD. These results indicate that combining hierarchical Swin features with diverse multi-scale reconstruction substantially improve pixel-level localization in multi-class unsupervised anomaly setting.

异常检测无监督学习工业质检多尺度重建

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