NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning Multi-view Multi-class Anomaly Detection

Qianzi Yu, Yang Cao, Yu KangarXiv 2025 · DOI

Abstract

Researchers from USTC have introduced MVMCAD, a unified framework designed to detect industrial anomalies across multiple object categories using data from multiple camera angles simultaneously. By combining a semi-frozen encoder with a novel anomaly amplification module, the model achieves state-of-the-art performance on the challenging Real-IAD dataset, significantly outperforming existing unified models in both detection and localization.

Introduction

In industrial quality control, anomaly detection (AD) is shifting toward "unified" models—single neural networks capable of identifying defects across diverse product types without category-specific retraining. However, real-world factory environments typically utilize multiple cameras to inspect parts from various angles (multi-view). Existing multi-class models often struggle with multi-view data due to viewpoint inconsistency, where defects may only be visible from specific perspectives, and a failure to exploit correlations between different views of the same object. This paper introduces MVMCAD to bridge the gap between multi-class efficiency and multi-view accuracy.

Methodology

The MVMCAD framework utilizes an encoder-decoder architecture incorporating three key innovations to handle the complexities of multi-view industrial data:

  • Semi-Frozen Encoder (SFE): To leverage powerful general features while adapting to specific industrial environments, the model uses a frozen DINOv2-R backbone. A lightweight, trainable "pre-encoder prior enhancement mechanism" is added to handle multi-view distribution shifts and lighting variations.
  • Anomaly Amplification Module (AAM): This module employs a specialized attention mechanism to model global relationships between image patches. It calculates similarity scores to identify and suppress common "normal" patterns, effectively boosting the signal of rare, deviant tokens that likely represent anomalies.
  • Cross-Feature Loss (CFL): To detect defects across all semantic levels—from tiny texture flaws to structural deformations—CFL aligns shallow encoder features with deep decoder features. This feature exchange during training ensures sensitivity to multi-scale anomalies.
The MVMCAD architecture, highlighting the Semi-Frozen Encoder, the Anomaly Amplification Module, and the feature exchange mechanism within the Decoder.

Experimental Setup and Datasets

The model was rigorously evaluated on the Real-IAD (Real-world Industrial Anomaly Detection) dataset. This benchmark includes 30 different object categories (e.g., audio jacks, batteries, transistors), with each object captured from five different camera angles (one top view and four symmetrical side views). The dataset comprises over 36,000 normal images for training and 114,000 images for testing, making it the gold standard for multi-view, multi-class industrial scenarios.

Results and Discussion

MVMCAD established a new benchmark on the Real-IAD dataset, significantly outperforming previous state-of-the-art methods like Dinomaly.

  • Image-Level Detection: The model achieved an AUROC of 91.0, an AP of 88.6, and an F1-max of 82.1, representing a substantial improvement over existing baselines.
  • Pixel-Level Localization: MVMCAD achieved a near-perfect AUROC of 99.1, demonstrating exceptional precision in identifying the exact location of defects.
  • Generalization: Performance remained consistent across the vast majority of the 30 object categories, proving the model's robustness and lack of overfitting to specific product types.
Qualitative results showing the original images, ground truth anomaly masks, and the resulting anomaly maps generated by the MVMCAD model across various categories.

Conclusion

MVMCAD demonstrates that high-quality frozen backbones, when paired with smart adaptation layers and anomaly suppression modules, can effectively solve complex multi-view industrial detection tasks. While the model achieves superior accuracy, future work will focus on improving inference speed for Transformer-based architectures and refining the AAM to prevent over-amplification of anomaly signals, which can occasionally impact pixel-level precision.

Summary updated

BibTeX
@misc{yu2025learning,
  author = {Qianzi Yu and Yang Cao and Yu Kang},
  title = {{Learning Multi-view Multi-class Anomaly Detection}},
  year = {2025},
  eprint = {2504.21294},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.21294},
}
Figure