HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

Dinomaly: The Less Is More Philosophy in Multi-Class Unsupervised Anomaly Detection

Guo Jia ; Lu Shuai ; Zhang Weihang ; Chen Fang ; Li Huiqi ; Liao Hongen

Dinomaly: The Less Is More Philosophy in Multi-Class Unsupervised
  Anomaly Detection

Abstract

Recent studies highlighted a practical setting of unsupervised anomalydetection (UAD) that builds a unified model for multi-class images. Despitevarious advancements addressing this challenging task, the detectionperformance under the multi-class setting still lags far behindstate-of-the-art class-separated models. Our research aims to bridge thissubstantial performance gap. In this paper, we introduce a minimalisticreconstruction-based anomaly detection framework, namely Dinomaly, whichleverages pure Transformer architectures without relying on complex designs,additional modules, or specialized tricks. Given this powerful frameworkconsisted of only Attentions and MLPs, we found four simple components that areessential to multi-class anomaly detection: (1) Foundation Transformers thatextracts universal and discriminative features, (2) Noisy Bottleneck wherepre-existing Dropouts do all the noise injection tricks, (3) Linear Attentionthat naturally cannot focus, and (4) Loose Reconstruction that does not forcelayer-to-layer and point-by-point reconstruction. Extensive experiments areconducted across popular anomaly detection benchmarks including MVTec-AD, VisA,and Real-IAD. Our proposed Dinomaly achieves impressive image-level AUROC of99.6%, 98.7%, and 89.3% on the three datasets respectively, which is not onlysuperior to state-of-the-art multi-class UAD methods, but also achieves themost advanced class-separated UAD records.

Code Repositories

guojiajeremy/dinomaly
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
anomaly-detection-on-mpddDinomaly
Detection AUROC: 97.2
Segmentation AUROC: 99.1
anomaly-detection-on-mvtec-adDinomaly ViT-B (model-unified multi-class)
Detection AUROC: 99.60
Segmentation AP: 69.29
Segmentation AUPRO: 94.79
Segmentation AUROC: 98.35
anomaly-detection-on-mvtec-adDinomaly ViT-L (model-unified multi-class)
Detection AUROC: 99.77
Segmentation AP: 70.53
Segmentation AUPRO: 95.09
Segmentation AUROC: 98.54
anomaly-detection-on-visaDinomaly ViT-L (model-unified multi-class)
Detection AUROC: 98.9
F1-Score: 96.1
Segmentation AUPRO: 94.8
Segmentation AUPRO (until 30% FPR): 94.8
Segmentation AUROC: 99.1

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Dinomaly: The Less Is More Philosophy in Multi-Class Unsupervised Anomaly Detection | Papers | HyperAI