TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/EfficientAD: Accurate Visual Anomaly Detection at Millisec...

EfficientAD: Accurate Visual Anomaly Detection at Millisecond-Level Latencies

Kilian Batzner, Lars Heckler, Rebecca König

2023-03-25Semi-supervised Anomaly DetectionUnsupervised Anomaly DetectionAnomaly Detection
PaperPDFCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCode

Abstract

Detecting anomalies in images is an important task, especially in real-time computer vision applications. In this work, we focus on computational efficiency and propose a lightweight feature extractor that processes an image in less than a millisecond on a modern GPU. We then use a student-teacher approach to detect anomalous features. We train a student network to predict the extracted features of normal, i.e., anomaly-free training images. The detection of anomalies at test time is enabled by the student failing to predict their features. We propose a training loss that hinders the student from imitating the teacher feature extractor beyond the normal images. It allows us to drastically reduce the computational cost of the student-teacher model, while improving the detection of anomalous features. We furthermore address the detection of challenging logical anomalies that involve invalid combinations of normal local features, for example, a wrong ordering of objects. We detect these anomalies by efficiently incorporating an autoencoder that analyzes images globally. We evaluate our method, called EfficientAD, on 32 datasets from three industrial anomaly detection dataset collections. EfficientAD sets new standards for both the detection and the localization of anomalies. At a latency of two milliseconds and a throughput of six hundred images per second, it enables a fast handling of anomalies. Together with its low error rate, this makes it an economical solution for real-world applications and a fruitful basis for future research.

Results

TaskDatasetMetricValueModel
Anomaly DetectionMVTec ADDetection AUROC99.8EfficientAD (early stopping)
Anomaly DetectionMVTec ADFPS269EfficientAD (early stopping)
Anomaly DetectionMVTec ADDetection AUROC99.1EfficientAD-M
Anomaly DetectionMVTec ADFPS269EfficientAD-M
Anomaly DetectionMVTec ADSegmentation AUPRO93.5EfficientAD-M
Anomaly DetectionMVTec ADDetection AUROC98.7EfficientAD-S
Anomaly DetectionMVTec ADFPS614EfficientAD-S
Anomaly DetectionMVTec ADSegmentation AP65.9EfficientAD-S
Anomaly DetectionMVTec ADSegmentation AUPRO93.1EfficientAD-S
Anomaly DetectionVisADetection AUROC98.1EfficientAD-M
Anomaly DetectionVisASegmentation AUPRO (until 30% FPR)94EfficientAD-M
Anomaly DetectionVisADetection AUROC97.5EfficientAD-S
Anomaly DetectionVisASegmentation AUPRO (until 30% FPR)93.1EfficientAD-S
Anomaly DetectionMVTec LOCO ADAvg. Detection AUROC90.7EfficientAD-M
Anomaly DetectionMVTec LOCO ADDetection AUROC (only logical)86.8EfficientAD-M
Anomaly DetectionMVTec LOCO ADDetection AUROC (only structural)94.7EfficientAD-M
Anomaly DetectionMVTec LOCO ADSegmentation AU-sPRO (until FPR 5%)79.8EfficientAD-M
Anomaly DetectionMVTec LOCO ADAvg. Detection AUROC90EfficientAD-S
Anomaly DetectionMVTec LOCO ADDetection AUROC (only logical)85.8EfficientAD-S
Anomaly DetectionMVTec LOCO ADDetection AUROC (only structural)94.1EfficientAD-S
Anomaly DetectionMVTec LOCO ADSegmentation AU-sPRO (until FPR 5%)77.8EfficientAD-S

Related Papers

Multi-Stage Prompt Inference Attacks on Enterprise LLM Systems2025-07-213DKeyAD: High-Resolution 3D Point Cloud Anomaly Detection via Keypoint-Guided Point Clustering2025-07-17A Semi-Supervised Learning Method for the Identification of Bad Exposures in Large Imaging Surveys2025-07-17A Privacy-Preserving Framework for Advertising Personalization Incorporating Federated Learning and Differential Privacy2025-07-16Bridge Feature Matching and Cross-Modal Alignment with Mutual-filtering for Zero-shot Anomaly Detection2025-07-15Adversarial Activation Patching: A Framework for Detecting and Mitigating Emergent Deception in Safety-Aligned Transformers2025-07-12Towards High-Resolution 3D Anomaly Detection: A Scalable Dataset and Real-Time Framework for Subtle Industrial Defects2025-07-10seMCD: Sequentially implemented Monte Carlo depth computation with statistical guarantees2025-07-08