Patch-Shuffled Superpixel Synthetic Anomaly Insertion in Autoencoder Foreground Extracted Regions for Improved Visual Anomaly Detection

We propose a self-supervised framework that combines an autoencoder and segmentation model to enhance anomaly detection and segmentation by inserting synthetic anomalies into the foreground regions of normal images. Synthetic anomalies were generated through a novel Patch Shuffle Superpixel Anomaly Insertion Method (PSSAIM), involving two stages. First, the normal images were divided into disjoint patches that were shuffled and rotated to produce distorted versions of the original images. Second, a Simple Linear Iterative Clustering (SLIC) superpixel extraction method is applied to distorted images to create abnormal segments that simulate real anomalies and cover a diverse range of synthetic anomalies. To identify regions of interest (RoI) where real defects typically occur,We developed a lightweight autoencoder (AE) model for each dataset class to identify RoIs where real defects typically occur. AE computes patch-wise similarities using the Structural Similarity Index Measure (SSIM) to map background areas, which are inverted to foreground regions using dissimilarity maps (1-SSIM). Threshold-based cleaning and region-based analysis refined the masks by removing noise and spurious blobs. For real test anomalies, we designed an enhanced segmentation model (EnSeg) featuring an encoder-decoder network with attention blocks and multiscale context aggregation. When trained on PSSAIM-augmented images, EnSeg achieved promising results: 98.9% area under the receiver operating characteristic curve (AUROC) for image-level detection, 77.1% average precision (AP) for pixel-level localization on the MVTec anomaly detection (MVTec AD) dataset, and 94.9% AUROC with 67.8% AP on the Kolektor SDD2 benchmark dataset. EnSeg also ensures rapid inference at 200 frames per second (fps), offering both accuracy and efficiency.

Authors

Institutions

Publication Details

Journal
IEEE Access
Published
2025-01-01
DOI
https://doi.org/10.1109/access.2025.3603201
Citations
1
Primary Topic
Anomaly Detection Techniques and Applications
Type
article
Field-Weighted Citation Impact
2.48
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Patch-Shuffled Superpixel Synthetic Anomaly Insertion in Autoencoder Foreground Extracted Regions for Improved Visual Anomaly Detection

Rizwan Ali Shah, HyungWon Kim, Jae‐Won Suh, Zain Ul Arifeen
1 citations
IEEE Access
Anomaly Detection Techniques and Applications
2.48
article

Patch-Shuffled Superpixel Synthetic Anomaly Insertion in Autoencoder Foreground Extracted Regions for Improved Visual Anomaly Detection

Rizwan Ali Shah, HyungWon Kim, Jae‐Won Suh, Zain Ul Arifeen
article en
1 citations

Abstract

We propose a self-supervised framework that combines an autoencoder and segmentation model to enhance anomaly detection and segmentation by inserting synthetic anomalies into the foreground regions of normal images. Synthetic anomalies were generated through a novel Patch Shuffle Superpixel Anomaly Insertion Method (PSSAIM), involving two stages. First, the normal images were divided into disjoint patches that were shuffled and rotated to produce distorted versions of the original images. Second, a Simple Linear Iterative Clustering (SLIC) superpixel extraction method is applied to distorted images to create abnormal segments that simulate real anomalies and cover a diverse range of synthetic anomalies. To identify regions of interest (RoI) where real defects typically occur,We developed a lightweight autoencoder (AE) model for each dataset class to identify RoIs where real defects typically occur. AE computes patch-wise similarities using the Structural Similarity Index Measure (SSIM) to map background areas, which are inverted to foreground regions using dissimilarity maps (1-SSIM). Threshold-based cleaning and region-based analysis refined the masks by removing noise and spurious blobs. For real test anomalies, we designed an enhanced segmentation model (EnSeg) featuring an encoder-decoder network with attention blocks and multiscale context aggregation. When trained on PSSAIM-augmented images, EnSeg achieved promising results: 98.9% area under the receiver operating characteristic curve (AUROC) for image-level detection, 77.1% average precision (AP) for pixel-level localization on the MVTec anomaly detection (MVTec AD) dataset, and 94.9% AUROC with 67.8% AP on the Kolektor SDD2 benchmark dataset. EnSeg also ensures rapid inference at 200 frames per second (fps), offering both accuracy and efficiency.

IEEE AccessVol. 13
Chungbuk National University (KR)
Openalex Percentile: Top 9%
Anomaly Detection Techniques and Applications
2.48
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.