Skip to content

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

Jul 2026 · arXiv.org · Vol abs/2607.14534 · 0 citations · 46 references
Computer Science

TL;DR

Results indicate that combining hierarchical Swin features with diverse multi-scale reconstruction substantially improve pixel-level localization in multi-class unsupervised anomaly setting, and introduce a feature diversity-preserving reconstruction framework that maintains complementary reconstruction hypotheses instead of relying on a single decoding branch.

Abstract

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.

View source

Similar papers

Open access Aug 2026

HCDG: unified multiclass unsupervised anomaly detection with adaptive weighted combination and error-aware conditional denoising

Results suggest that the proposed denoising and guidance strategy not only preserves image-level discrimination but also yields more stable pixel-level localization under unified multi-class training.

Yan Luo, Hong-Yang Zhao, Jia-Yi Sun et al. · 0 citations
Open access 2026

Prototype-Guided Diffusion Model for Multi-Class Unsupervised Anomaly Detection

Unsupervised Anomaly detection is important in industrial inspection and automation, where defects are rare, stochastic, and costly to annotate, while nominal data are abundant. Diffusion models have shown strong potential for unsupervised anomaly detection, where only normal data are available for training. However, s...

Jongmin Yu, Hyeontaek Oh, Zhong-Tian Sun et al. · 0 citations
Conference Aug 2026

Unsupervised anomaly detection method based on discrete feature rectification

The proposed RD framework strengthens anomaly detection capability through a Discrete Feature Rectification (DFR) strategy and a Multi-Scale Feature Fusion (MFF) module, which effectively integrates rectified multi-level features for high-quality reconstruction.

Xinyue Liu, Xue Chang, Jia-Jie Chai et al. · 0 citations
Conference Open access 2026

Adaptive Loss Weighting for Unsupervised Industrial Anomaly Detection via Reverse Distillation

Due to the use of fixed loss weight allocation between different feature layers, unsupervised industrial surface anomaly detection often fails to capture multi-scale anomalies, resulting in the loss of fine-grained defects and severe background noise. To address this research gap, this paper proposes an unsupervised an...

Zhi-Xing Wu · 0 citations
Open access 2026

ShufflePaste: Four-Way Structural Disturbance Learning With Swin Transformer for Industrial Anomaly Detection

Industrial anomaly detection aims to identify defective samples that deviate from normal visual patterns, while real anomaly annotations are often scarce, costly, and incomplete in practical manufacturing scenarios. To address this challenge, this paper proposes ShufflePaste, a self-supervised representation learning f...

Yue-Zhou Wu, Wen-An Zhang, Qiang Fu et al. · 0 citations
Preprint Sep 2026

Focus and Supplement: Dual-Enhanced Vision Transformer for Multi-Class Anomaly Classification

Multi-class anomaly classification in industrial vision remains challenging due to noisy/incomplete anomaly representations and the unknown number of anomaly classes. To overcome this, we propose MACO, a novel multi-class anomaly classification framework that learns comprehensive representations and dynamically estimat...

Xu-Rui Li, En-Jie Xu, Chen-Zhou Li et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.