A Survey of Visual Sensory Anomaly Detection

Xi Jiang, Guoyang Xie, Jinbao Wang, Yong Liu, Chengjie Wang, Feng Zheng, Yaochu JinarXiv 2022

Introduction: Defining Visual Sensory Anomaly Detection

In computer vision, anomaly detection (AD) is frequently conflated with Out-of-Distribution (OOD) detection or One-Class Classification (OCC). However, these traditional tasks primarily focus on semantic shifts—for instance, identifying a "cat" image when a model was trained only on "dogs".

Real-world applications like manufacturing, autonomous driving, and medical imaging require a different focus: sensory anomalies (covariate shifts). In these cases, the object belongs to the correct class but contains a localized abnormality, such as a scratch on a machined part or an unexpected obstacle on a road. This survey addresses the lack of a unified review for these sensory anomalies, providing a structured roadmap for the field.

Comparison between Semantic Anomaly Detection (OOD/OCC) and Sensory Anomaly Detection across object, scene, and video levels.

Taxonomy of Visual Anomaly Detection

The paper organizes the landscape of sensory AD using a two-dimensional taxonomy based on the form of the anomaly and the learning paradigm.

1. Anomaly Level

  • Object-level AD: Focuses on defects in specific items, such as industrial parts or medical lesions.
  • Scene-level AD: Identifies anomalies within a broader environment, like obstacles in autonomous driving.
  • Event-level AD: Detects abnormal behaviors or actions over time in video sequences.

2. Learning Paradigms

  • Unsupervised: Models trained exclusively on normal data. Techniques include self-supervised proxy tasks (e.g., "CutPaste"), image reconstruction (Autoencoders/GANs), and feature modeling (Normalizing Flows).
  • Weakly Supervised: Utilizes incomplete or noisy labels, offering a practical middle ground when pixel-level annotations are unavailable.
  • Supervised: Employs fully annotated data, treating AD as a specialized detection or segmentation task tailored to handle challenges like texture shifts.
Summary of AD methods categorized by taxonomy and learning paradigm.

The survey highlights several critical observations regarding the current state of the field:

  • Sensory vs. Semantic Shift: The formal distinction between these shifts explains why standard classification backbones often struggle with industrial defect detection.
  • The Unsupervised Boom: Driven by benchmarks like MVTec AD, unsupervised object-level AD has seen explosive growth. Learning "normalcy" through reconstruction or memory banks is currently the most viable path for unpredictable anomalies.
  • Scene-Level Complexity: Unlike object-level AD, scene-level detection relies heavily on weak supervision due to the semantic complexity of full environments (e.g., busy streets), which makes it difficult for purely unsupervised models to isolate anomalies.

Benchmarks and Performance

The research is supported by several key datasets that drive progress:

  • MVTec AD & 3D-AD: The gold standards for unsupervised 2D and 3D industrial defect detection.
  • Lost and Found: A benchmark for scene-level road hazard detection in autonomous driving.
  • ShanghaiTech: A primary dataset for video-based event-level AD.

The survey notes significant progress in inference speeds, with supervised scene-level models (like RFNet) reaching 22 Hz and event-level models processing video at over 1,000 frames per second using compact feature sets.

Future Directions

The authors identify several frontiers for future research:

  • Domain-Specific Pretraining: Moving away from ImageNet-based backbones toward models pre-trained specifically on visual sensory anomalies.
  • Continual Learning: Enabling models to adapt to evolving "normal" data streams on assembly lines without catastrophic forgetting.
  • 3D Anomaly Detection: Leveraging depth and point-cloud data to identify structural defects.
  • Scene-Level Self-Supervision: Developing effective proxy tasks for complex, multi-object environments where single-object agent tasks are insufficient.

Summary updated

BibTeX
@misc{jiang2022survey,
  author = {Xi Jiang and Guoyang Xie and Jinbao Wang and Yong Liu and Chengjie Wang and Feng Zheng and Yaochu Jin},
  title = {{A Survey of Visual Sensory Anomaly Detection}},
  year = {2022},
  eprint = {2202.07006},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2202.07006},
}
Figure