Towards Accurate Unified Anomaly Segmentation

Wenxin Ma, Qingsong Yao, Xiang Zhang, Zhelong Huang, Zihang Jiang +1 more
1/21/2025
cs.CV

Official code: Mwxinnn/UniAS (15 stars, last commit 2025-04-14).

Abstract

Unsupervised anomaly detection (UAD) from images strives to model normal data distributions, creating discriminative representations to distinguish and precisely localize anomalies. Despite recent advancements in the efficient and unified one-for-all scheme, challenges persist in accurately segmenting anomalies for further monitoring. Moreover, this problem is obscured by the widely-used AUROC metric under imbalanced UAD settings. This motivates us to emphasize the significance of precise segmentation of anomaly pixels using pAP and DSC as metrics. To address the unsolved segmentation task, we introduce the Unified Anomaly Segmentation (UniAS). UniAS presents a multi-level hybrid pipeline that progressively enhances normal information from coarse to fine, incorporating a novel multi-granularity gated CNN (MGG-CNN) into Transformer layers to explicitly aggregate local details from different granularities. UniAS achieves state-of-the-art anomaly segmentation performance, attaining 65.12/59.33 and 40.06/32.50 in pAP/DSC on the MVTec-AD and VisA datasets, respectively, surpassing previous methods significantly. The codes are shared at https://github.com/Mwxinnn/UniAS.

View on arXivView PDF

Code Implementations(1)

Mwxinnn/UniASOfficial100%

The official repo for ”[WACV2025] Towards Accurate Unified Anomaly Segmentation“

152Shell, PythonNov 22, 20241 years ago

Similar Papers

Cite this paper

@article{ma2025towards,
  title  = {Towards Accurate Unified Anomaly Segmentation},
  author = {Wenxin Ma and Qingsong Yao and Xiang Zhang and Zhelong Huang and Zihang Jiang and S. Kevin Zhou},
  year   = {2025},
  eprint = {2501.12295},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.12295v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.12295.svg)](https://codeofpaper.com/paper/2501.12295)

Discussion