Spatial Autoregressive Modeling of DINOv3 Embeddings for Unsupervised Anomaly Detection
Not on the map. Why?
Abstract (arXiv)
DINO models provide rich patch-level representations that have recently enabled strong performance in unsupervised anomaly detection (UAD). Most existing methods extract patch embeddings from normal images and model them independently, ignoring spatial and neighborhood relationships between patches. This implicitly assumes that self-attention and positional encodings sufficiently encode contextual information within each patch embedding. In addition, the normative distribution is often modeled as memory banks or prototype-based representations, which require storing large numbers of features and performing costly comparisons at inference time, leading to substantial memory and computational overhead. In this work, we explicitly model spatial and contextual dependencies between patch embeddings using a 2D autoregressive (AR) model, allowing us to use a simple and efficient model for normative modeling. Instead of storing embeddings or clustering prototypes, our approach learns a compact parametric model of the normative distribution via an AR convolutional neural network (CNN). At test time, anomaly detection reduces to a single forward pass through the network and enables fast and memory-efficient inference. We evaluate our method on the BMAD benchmark, comprising three medical imaging datasets, and the VisA dataset, comprising 12 industrial object categories, and compare it against existing methods, including recent DINO-based approaches. Experimental results demonstrate that explicitly modeling spatial dependencies achieves competitive anomaly detection performance while substantially reducing inference time and memory requirements. Code is available at the project page: https://eerdil.github.io/spatial-ar-dinov3-uad/
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 32 of its 41 references that are in the map. First posted on arXiv 3 Mar 2026.
Builds on
32 of 41 references.
References · 32
- 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,974
- 2016Wide Residual Networkscited by 3,070
- 2025DINOv3cited by 1,414
- 2015Multi-Scale Context Aggregation by Dilated Convolutionscited by 1,133
- 2016Pixel Recurrent Neural Networkscited by 816
- 2024Autoregressive Model Beats Diffusion: Llama for Scalable Image Generationcited by 777
- 2021Towards Total Recall in Industrial Anomaly Detectioncited by 776
- 2020PaDiM: a Patch Distribution Modeling Framework for Anomaly Detection and Localizationcited by 594
- 2021The RSNA-ASNR-MICCAI BraTS 2021 Benchmark on Brain Tumor Segmentation and Radiogenomic Classificationcited by 518
- 2021DRAEM -- A discriminatively trained reconstruction embedding for surface anomaly detectioncited by 514
- 2019The Liver Tumor Segmentation Benchmark (LiTS)cited by 509
- 2019Likelihood Ratios for Out-of-Distribution Detectioncited by 453
20 more
- 2018Do Deep Generative Models Know What They Don't Know?cited by 443
- 2022Anomaly Detection via Reverse Distillation from One-Class Embeddingcited by 421
- 2022SPot-the-Difference Self-Supervised Pre-training for Anomaly Detection and Segmentationcited by 400
- 2021CFLOW-AD: Real-Time Unsupervised Anomaly Detection with Localization via Conditional Normalizing Flowscited by 321
- 2020Sub-Image Anomaly Detection with Deep Pyramid Correspondencescited by 300
- 2019Input complexity and out-of-distribution detection with likelihood-based generative modelscited by 186
- 2021Student-Teacher Feature Pyramid Matching for Anomaly Detectioncited by 146
- 2022CFA: Coupled-hypersphere-based Feature Adaptation for Target-Oriented Anomaly Localizationcited by 135
- 2024Dinomaly: The Less Is More Philosophy in Multi-Class Unsupervised Anomaly Detectioncited by 93
- 2018Unsupervised Detection of Lesions in Brain MRI using constrained adversarial auto-encoderscited by 83
- 2023BMAD: Benchmarks for Medical Anomaly Detectioncited by 82
- 2019Unsupervised Anomaly Localization using Variational Auto-Encoderscited by 73
- 2020Understanding Anomaly Detection with Deep Invertible Networks through Hierarchies of Distributions and Featurescited by 64
- 2024AnomalyDINO: Boosting Patch-based Few-shot Anomaly Detection with DINOv2cited by 53
- 2020Anomaly detection through latent space restoration using vector-quantized variational autoencoderscited by 45
- 2024Autoregressive Models in Vision: A Surveycited by 39
- 2023A Prototype-Based Neural Network for Image Anomaly Detection and Localizationcited by 7
- 2025Anomaly Detection by Clustering DINO Embeddings using a Dirichlet Process Mixturecited by 5
- 2025Deep Unsupervised Anomaly Detection in Brain Imaging: Large-Scale Benchmarking and Bias Analysiscited by 2
- 2022Shaken, and Stirred: Long-Range Dependencies Enable Robust Outlier Detection with PixelCNN++cited by 1
Built on by
Not cited yet.