Unsupervised Multi-View Visual Anomaly Detection via Progressive Homography-Guided Alignment

Xintao Chen, Xiaohao Xu, Bozhong Zheng, Yun Liu, Yingna WuarXiv 2025 · DOI

Abstract

In industrial inspection, multi-view systems are essential for detecting defects hidden by complex geometries. However, existing unsupervised anomaly detection (AD) methods often treat multiple views independently, leading to high false-positive rates due to viewpoint-dependent variations. We propose ViewSense-AD (VSAD), a novel framework that integrates homography-guided alignment within a latent diffusion model to create viewpoint-invariant representations. VSAD progressively aligns features across views during the denoising process, ensuring consistent physical region comparison. Our method achieves state-of-the-art results on the RealIAD and MANTA datasets, demonstrating superior robustness and accuracy in multi-view industrial scenarios.

1. Introduction

Modern manufacturing relies on multi-view camera setups to ensure comprehensive coverage of parts. Traditional AD methods typically process these views as a "bag-of-views," ignoring the underlying 3D geometric relationships. This lack of spatial awareness often results in models misidentifying lighting shifts or perspective distortions as physical defects. To address this, we introduce ViewSense-AD (VSAD), which mimics human inspection by "mentally aligning" different perspectives to verify anomalies.

Comparison of traditional AD methods vs. the proposed VSAD method, highlighting the shift toward viewpoint-invariant feature distributions.

2. Methodology

The VSAD architecture is built upon three core components designed to handle geometric transformations explicitly:

2.1 Multi-View Alignment Module (MVAM)

The MVAM acts as the "geometric brain" of the system. It utilizes pre-computed homography matrices—mathematical maps relating flat surfaces across different camera angles—to project feature regions between adjacent views. A cross-attention mechanism then refines these projections to ensure precise patch-level alignment, effectively compensating for minor misalignments or occlusions across the object's surface.

2.2 View-Align Latent Diffusion Model (VALDM)

By integrating MVAM into the denoising layers of a Latent Diffusion Model, VSAD performs progressive alignment. Unlike standard encoders that process images in a single pass, VALDM's iterative denoising allows the model to reconcile coarse geometric structures before refining fine-grained textures. This hierarchical approach builds a coherent 3D-aware representation from the latent space.

2.3 Fusion Refiner Module (FRM)

After alignment, the FRM serves as a post-processing step. It employs convolutional blocks and Squeeze-and-Excitation (SE) attention to suppress residual noise and enforce global consistency across the aligned multi-view features.

The ViewSense-AD (VSAD) architecture, detailing the training and inference phases and the integration of the MVAM and FRM modules.

3. Experimental Evaluation

VSAD was rigorously tested on two large-scale multi-view industrial datasets: RealIAD and MANTA.

  • RealIAD: Comprising 151,050 images across 30 classes, VSAD achieved state-of-the-art performance with a sample-level AUROC (S-AUROC) of 94.8% and a pixel-level AUROC (P-AUROC) of 98.3%. This outperformed existing leaders like PatchCore and FiCo by significant margins.
  • MANTA: On this dataset focusing on tiny objects with large viewpoint variations, VSAD maintained high accuracy, reaching an average P-AUROC of 96.8%.

Ablation studies confirmed that the inclusion of the MVAM was pivotal; removing it led to a performance drop of over 8% in some categories, proving that raw multi-view data without geometric alignment is insufficient for high-precision AD.

4. Discussion and Conclusion

VSAD demonstrates that incorporating geometric priors into deep generative models significantly enhances multi-view anomaly detection. By aligning features progressively, the model distinguishes between actual material defects (like scratches or contaminants) and benign perspective shifts. While currently limited by a dependency on rigid homography and pre-calibrated cameras, the framework sets a new benchmark for viewpoint-invariant industrial inspection. Future work will explore end-to-end learning of transformation fields to accommodate non-rigid objects and dynamic camera environments.

Summary updated

BibTeX
@misc{chen2025unsupervised,
  author = {Xintao Chen and Xiaohao Xu and Bozhong Zheng and Yun Liu and Yingna Wu},
  title = {{Unsupervised Multi-View Visual Anomaly Detection via Progressive Homography-Guided Alignment}},
  year = {2025},
  eprint = {2511.18766},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.18766},
}
Figure