SwinAD:面向无监督工业异常检测的多阶段特征重建方法 SwinAD: Multi-stage feature reconstruction for unsupervised industrial anomaly detection 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-07-16
👁️ 预览文献
💡 AI 中文简介
工业质检中,异常样本稀少且种类多变,现有无监督方法多针对单一产品类别,面对多类别混合场景时容易把异常当正常。本文提出SwinAD,用冻结的Swin Transformer V2提取多尺度特征,再用带dropout的多阶段瓶颈解码器重建正常特征,并保留两条互补的重建路径,通过比较原始特征与重建特征的差异来定位缺陷。在MVTec AD、VisA和Real-IAD三个基准上,图像级检测有竞争力,像素级定位尤其突出,MVTec AD上的像素级AP和1指标提升明显。
领域计算机视觉 / 工业异常检测
适合谁读需要一定专业背景(了解深度学习、Transformer和异常检测基础)
核心贡献1. 提出基于冻结Swin Transformer V2编码器和多阶段瓶颈解码器的重建框架,有效缓解多类别场景下的过泛化问题;2. 引入特征多样性保持的重建策略,通过两条互补重建路径和多尺度差异聚合,显著提升像素级异常定位精度。
关键数据在MVTec AD、VisA和Real-IAD三个基准上取得有竞争力的图像级性能和强像素级定位精度,尤其在MVTec AD上像素级AP和1指标提升显著。
推荐理由如果你关注工业质检中的多类别异常检测,这篇论文用简洁的重建框架在多个基准上刷出了亮眼的像素级定位结果,值得一读。
关键词["工业异常检测", "无监督学习", "Swin Transformer", "特征重建", "多类别检测", "像素级定位"]

原文摘要

查看英文原文摘要

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.