atlas

Research map / Label-efficient and robust learning / OOD and anomaly detection

ResAD: A Simple Framework for Class Generalizable Anomaly Detection

NeurIPS 2024 · Label-efficient and robust learning › OOD and anomaly detection · approach: Unified multi-class anomaly detection · 7 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes ResAD, a class-generalizable anomaly detector that learns residual features (feature minus nearest normal reference feature), constrains them to a hypersphere, and models their distribution with a normalizing flow so one model transfers to unseen classes without fine-tuning.

Problem

Anomaly detection models trained one-for-one or one-for-many degrade sharply on new object classes, and retraining or fine-tuning on target classes is often infeasible; the goal is a single model that generalizes to unseen classes using only few-shot normal references.

Approach

Learn the distribution of residual features (each patch minus its nearest few-shot normal reference patch), which varies less across classes than initial features; a shallow Conv+BN+ReLU Feature Constraintor with an abnormal-invariant OCC loss maps normal residuals onto a hypersphere, and a normalizing flow estimates their density for anomaly scoring.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use ImageBind-Huge instead of WideResNet50 as the feature extractorResAD · All Average, 4-shotImage-level AUROC: 83.0 -> 88.0Helped
Add residual feature learning (ablation)ResAD · MVTecAD, 4-shot, VisA to MVTecADImage-level AUROC: 72.8 -> 90.5Helped
Add Feature Constraintor (ablation)ResAD · MVTecAD, 4-shot, VisA to MVTecADImage-level AUROC: 82.3 -> 90.5Helped
Add abnormal invariant OCC loss (ablation)ResAD · MVTecAD, 4-shot, VisA to MVTecADImage-level AUROC: 84.9 -> 90.5; 5.6%Helped
Use simple Conv+BN+ReLU rather than a more complex constraintor (ablation)ResAD · MVTecAD, 4-shot, VisA to MVTecADImage-level AUROC: 87.6 -> 90.5; 86.0 -> 90.5; 84.1 -> 90.5; 82.3 -> 90.5; 81.0 -> 90.5Helped
Add residual feature learning to UniADUniAD · MVTecADImage-level AUROC: 67.4 -> 93.0; +25.6Helped
Add residual feature learning to UniADUniAD · VisAImage-level AUROC: 52.1 -> 72.7; +20.4Helped
Add residual feature learning to UniADUniAD · BTADImage-level AUROC: 67.1 -> 87.3; +20.0Helped
Add residual feature learning to UniADUniAD · MVTec3DImage-level AUROC: 51.7 -> 76.7; +25.0Helped
Increase few-shot normal references from 2 to 4ResAD · All AverageImage-level AUROC: 78.0 -> 83.0Helped
Use λ=0.1 rather than λ=1 for the abnormal-boundary loss (ablation)ResAD · VisA to MVTecAD, 4-shotImage-level AUROC: 90.5 -> 89.1Hurt
Use λ=0.5 rather than λ=1 for the abnormal-boundary loss (ablation)ResAD · VisA to MVTecAD, 4-shotImage-level AUROC: 90.5 -> 90.0Hurt

Surprising findings

Limitations

Experimental setup

Datasets: MVTecAD VisA BTAD MVTec3D BraTS ShanghaiTech

Benchmarks: MVTecAD VisA BTAD MVTec3D BraTS ShanghaiTech

Metrics: AUROC (image-level) AUROC (pixel-level)

Baselines: RDAD UniAD SPADE PaDiM PatchCore RegAD WinCLIP InCTRL

Builds on: normalizing flow BGAD semi-push-pull loss PatchCore one-class classification RealNVP

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy