Learning Semantic Context from Normal Samples for Unsupervised Anomaly Detection

Authors

  • Xudong Yan South China University of Technology
  • Huaidong Zhang South China University of Technology
  • Xuemiao Xu South China University of Technology Ministry of Education Key Laboratory of Big Data and Intelligent Robot Guangdong Provincial Key Lab of Computational Intelligence and Cyberspace Information State Key Laboratory of Subtropical Building Science
  • Xiaowei Hu The Chinese University of Hong Kong
  • Pheng-Ann Heng The Chinese Univsersity of Hong Kong Shenzhen Key Laboratory of Virtual Reality and Human Interaction Technology, Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences

Keywords:

Applications

Abstract

Unsupervised anomaly detection aims to identify data samples that have low probability density from a set of input samples, and only the normal samples are provided for model training. The inference of abnormal regions on the input image requires an understanding of the surrounding semantic context. This work presents a Semantic Context based Anomaly Detection Network, SCADN, for unsupervised anomaly detection by learning the semantic context from the normal samples. To achieve this, we first generate multi-scale striped masks to remove a part of regions from the normal samples, and then train a generative adversarial network to reconstruct the unseen regions. Note that the masks are designed in multiple scales and stripe directions, and various training examples are generated to obtain the rich semantic context . In testing, we obtain an error map by computing the difference between the reconstructed image and the input image for all samples, and infer the abnormal samples based on the error maps. Finally, we perform various experiments on three public benchmark datasets and a new dataset LaceAD collected by us, and show that our method clearly outperforms the current state-of-the-art methods.

Downloads

Published

2021-05-18

How to Cite

Yan, X., Zhang, H., Xu, X., Hu, X., & Heng, P.-A. (2021). Learning Semantic Context from Normal Samples for Unsupervised Anomaly Detection. Proceedings of the AAAI Conference on Artificial Intelligence, 35(4), 3110-3118. Retrieved from https://ojs.aaai.org/index.php/AAAI/article/view/16420

Issue

Section

AAAI Technical Track on Computer Vision III