cs.CVMar 24, 2026

URA-Net: Uncertainty-Integrated Anomaly Perception and Restoration Attention Network for Unsupervised Anomaly Detection

Authors: Wei Luo, Peng Xing, Yunkang Cao, Haiming Yao, Weiming Shen, Zechao Li

Organizations: State Key Laboratory of Precision Measurement Technology and Instruments, Department of Precision Instrument, Tsinghua University, Beijing, China · School of Computer Science and Engineering, Nanjing University of Science and Technology, Nanjing 210094, China · State Key Laboratory of Intelligent Manufacturing Equipment and Technology, Huazhong University of Science and Technology, Wuhan 430074, China

Abstract

Unsupervised anomaly detection plays a pivotal role in industrial defect inspection and medical image analysis, with most methods relying on the reconstruction framework. However, these methods may suffer from over-generalization, enabling them to reconstruct anomalies well, which leads to poor detection performance. To address this issue, instead of focusing solely on normality reconstruction, we propose an innovative Uncertainty-Integrated Anomaly Perception and Restoration Attention Network (URA-Net), which explicitly restores abnormal patterns to their corresponding normality. First, unlike traditional image reconstruction methods, we utilize a pre-trained convolutional neural network to extract multi-level semantic features as the reconstruction target. To assist the URA-Net learning to restore anomalies, we introduce a novel feature-level artificial anomaly synthesis module to generate anomalous samples for training. Subsequently, a novel uncertainty-integrated anomaly perception module based on Bayesian neural networks is introduced to learn the distributions of anomalous and normal features. This facilitates the estimation of anomalous regions and ambiguous boundaries, laying the foundation for subsequent anomaly restoration. Then, we propose a novel restoration attention mechanism that leverages global normal semantic information to restore detected anomalous regions, thereby obtaining defect-free restored features. Finally, we employ residual maps between input features and restored features for anomaly detection and localization. The comprehensive experimental results on two industrial datasets, MVTec AD and BTAD, along with a medical image dataset, OCT-2017, unequivocally demonstrate the effectiveness and superiority of the proposed method.

Figures & tables

Explore similar work

CardsList
  1. A Feature Shuffling and Restoration Strategy for Universal Unsupervised Anomaly Detection

    Mar 24, 2026Wei Luo, Haiming Yao, Zhenfeng Qiang +2Unsupervised Anomaly DetectionAnomaly Detection

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

    Jul 16, 2026Huong Ninh, Chien Thai, Mai Xuan Trang +3Anomaly LocalizationReconstruction-Based Anomaly Detection

  3. Statistical Non-linear Reconstruction Loss for Image Anomaly Detection

    Jul 14, 2026Nguyen Minh Tri, Hoang Khuong Duy, Huynh Cong Viet NguIndustrial Anomaly DetectionAnomaly Localization