Answers are grounded in this paper and cite their sources.
A novel approach demonstrates improved anomaly localization in images, highlighting the use of neighborhood attention mechanisms.
With the advancement of machine vision technology, automated vision inspection systems are needed in broad quality control scenarios. This paper proposes a neighborhood attention-based feature reconstruction method for image anomaly detection and localization (NAFRAD). To address the challenges of data scarcity, low visibility, and irregular defect shapes in unsupervised anomaly detection, we introduce a feature reconstruction framework that preserves high-level abstract features rather than focusing on pixel-level reconstruction. This approach enhances model robustness and generalizability by leveraging neighborhood attention (NA) mechanisms, which simultaneously capture local details and the global context through a sliding window strategy. The NA-based autoencoder reconstructs normal features by aggregating local inductive biases with translational equivariance, enabling precise anomaly localization. Extensive experiments on the MVTec Anomaly Detection (MVTec AD) dataset—comprising 15 categories with 5,354 images—demonstrate the superiority of NAFRAD. It achieves state-of-the-art performance with AUROC \({}I\) =99.02, AUROC \({}P\) =98.99, and AP=79.40, outperforming existing methods by 3.6% in AP and 0.89% in AUROC \({}P\) . The framework's effectiveness is validated through ablation studies, visualization of feature reconstruction, and comparisons with eight leading unsupervised methods. The code is made public at https://github.com/Math-Computer/NAFRAD .
No takes yet. Share an insight, caveat, or question.
Xian et al. (2026) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: