Search papers, labs, and topics across Lattice.
This paper introduces the Hypergraph Normal World Model, which enhances logical visual anomaly detection by utilizing a novel approach that distills frozen DINOv2 patch tokens into a comprehensive hypergraph structure. By constructing spatial hyperedges and scoring test images based on a multifaceted information quotient, the model significantly improves detection performance, achieving an AUROC of 0.9279 on the MVTec LOCO dataset. The findings emphasize the importance of modeling relational and hypergraph statistics in detecting logical anomalies, which traditional local-only methods fail to capture effectively.
Logical visual anomalies can be detected with 10% higher accuracy by modeling spatial relations rather than relying solely on local features.
Visual anomaly detection is often deployed with only normal training images. Most one-class detectors map test patches or features to a normal reference distribution. This works well for local structural defects. Logical anomalies are different. Each visible part may look normal, while the whole image violates a normal count, co-occurrence, or spatial relation. This paper studies whether a model can learn such a category-specific normal world from nominal images alone. We propose the Hypergraph Normal World Model, a normal-only detector that distills frozen DINOv2 patch tokens into patch, relation, and hypergraph statistics. It builds spatial hyperedges over token groups. It then scores each test image with an information quotient that separates local, relational, hyperedge, and hyperedge-relation evidence. On the available MVTec LOCO breakfast-box validation data, the full hypergraph model improves logical anomaly AUROC from 0.8434 for DINOv2 patch-kNN to 0.9279. It also improves over the non-hypergraph variant, from 0.9013 to 0.9279. Few-shot experiments show that the model remains effective with very limited normal images. We also test whether the score reflects normal-world knowledge rather than a shallow mapping. t-SNE separates logical anomalies in the learned energy space. Relation counterfactuals increase the information quotient by 83.13 on average. Random hypergraphs reduce logical AUROC, and hyperedge attribution is much larger on logical anomalies. Qualitative examples show that high scores are driven by relation-bearing terms. These results suggest that logical visual anomaly detection should model normal relations, not only normal local patches.