Visual Anomaly Detection (VAD) is often considered a solved problem in controlled laboratory settings, with state-of-the-art models achieving near-perfect scores on standard benchmarks. However, real-world industrial environments present significant challenges—specifically the "view-illumination interplay"—where the detectability of a defect depends on the physical interaction between the object's geometry, the camera's viewpoint, and the lighting conditions. This paper introduces $M^2AD$, a large-scale benchmark designed to bridge the gap between lab performance and industrial reliability.
The Challenge of View-Illumination Interplay
In practical inspection, a subtle scratch or dent might be glaringly obvious under specific side-lighting but completely invisible under direct overhead illumination. Most existing benchmarks assume near-ideal, static imaging conditions, failing to test a model's robustness to these physical variations. The $M^2AD$ dataset addresses this by systematically varying both viewpoint and illumination, providing a dense grid of 120 configurations (12 views × 10 lights) for every specimen.
The $M^2AD$ Dataset and Methodology
The $M^2AD$ dataset comprises 119,880 ultra-high-resolution images ($3648 \times 5472$ pixels) across 10 diverse categories, including materials like clay, plastic, wood, and metal. To capture this data, the researchers built a custom hardware prototype featuring a high-precision motorized turntable and a programmable photometric illumination module.
A critical component of the benchmark is the "Detectability Assessment" framework. To ensure the dataset only tests visual recognition rather than physical impossibility, the authors employed a consensus of three Mask R-CNN models followed by human verification to categorize images as "detectable" or "undetectable." This rigorous process enables two evaluation protocols:
- $M^2AD$-Synergy: Tests the ability to fuse information from all 120 configurations to reach a single object-level verdict.
- $M^2AD$-Invariant: Measures single-image robustness on frames where the defect is confirmed to be physically visible.
Key Insights and Experimental Results
The introduction of $M^2AD$ reveals that current "top-tier" models are less robust than previously thought. For instance, Dinomaly, which achieves 99.6% AUROC on MVTec AD, scores only 81.3% on the $M^2AD$-Invariant setup.
Several key insights emerged from the study:
- The Fusion Paradox: Simply averaging scores across multiple views (naive fusion) can actually degrade performance. "Bad" views, where defects are obscured, introduce more noise than signal, highlighting the need for intelligent attention-based fusion architectures.
- Resolution is Critical: Many industrial defects occupy as little as 0.05% of the image area. The researchers found that doubling input resolution (from 256 to 512) led to significant accuracy gains, suggesting that standard downsampling is a major bottleneck.
- Geometric Sensitivity: Models performed well on simple shapes like "Teapots" but struggled with complex geometries and reflective materials found in the "Bird" and "Car" categories.
Conclusion
By releasing the $M^2AD$ dataset and hardware designs, the authors provide a necessary "reality check" for visual anomaly detection. The benchmark shifts the focus toward developing models that can intelligently attend to informative views and lighting conditions, a prerequisite for reliable deployment in the wild.
Summary updated