atlas

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

CostFilter-AD: Enhancing Anomaly Detection through Matching Cost Filtering

ICML 2025 · Label-efficient and robust learning › OOD and anomaly detection · approach: Unified multi-class anomaly detection · 0 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 CostFilter-AD, a plug-in that builds a global patch-matching cost volume between an input and normal templates and refines it with a 3D U-Net guided by input features and an initial anomaly map, improving multi-class and single-class UAD on MVTec-AD and VisA.

Problem

Unsupervised anomaly detection relies on image- or feature-level matching between inputs and normal templates, and this matching is noisy (identical shortcut, misalignment), blurring normal/anomaly boundaries and hurting detection of subtle anomalies.

Approach

Treat anomaly scoring as cost volume filtering borrowed from stereo/flow estimation: build a global matching cost volume across multiple templates (including intermediate diffusion reconstructions), then filter it with a 3D U-Net whose residual channel-spatial attention is queried by input features and an initial anomaly map, plus a class-aware adaptor in the loss.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add CostFilter-AD to HVQ-TransHVQ-Trans · MVTec-ADimage AUROC: 98.0 -> 99.0Helped
Add CostFilter-AD to AnomalDFAnomalDF · MVTec-ADpixel AUROC: 98.1 -> 98.8Helped
Add CostFilter-AD to UniADUniAD · VisApixel AUROC: 98.0 -> 98.6Helped
Add CostFilter-AD to DinomalyDinomaly · BTADpixel AP: 70.1 -> 74.3Helped
Map the matching dimension to depth rather than channel (ablation)GLAD+CostFilter-AD · MVTec-ADimage AUROC: 96.2 -> 87.8Hurt
Add N-1 intermediate denoising-step templates (ablation)GLAD+CostFilter-AD · MVTec-ADimage AUROC: 96.2 -> 96.7Helped
Add spatial guidance (SG) (ablation)GLAD+CostFilter-AD · MVTec-ADimage AUROC: 96.7 -> 97.8Helped
Add matching guidance (MG) from the initial anomaly map (ablation)GLAD+CostFilter-AD · MVTec-ADimage AUROC: 97.8 -> 98.3Helped
Add class-aware adaptor / cross-entropy loss (ablation)GLAD+CostFilter-AD · MVTec-ADimage AUROC: 98.3 -> 98.5Helped
Add SSIM and Soft-IoU structural losses (ablation)GLAD+CostFilter-AD · MVTec-ADpixel AUROC: 98.0 -> 98.2Helped
Train a hybrid model on both reconstruction- and embedding-based volumes (ablation)CostFilter-AD · MVTec-ADimage AUROC: 98.7 -> 98.8Mixed
Train a hybrid model on both reconstruction- and embedding-based volumes (ablation)CostFilter-AD · VisApixel AUROC: 99.2 -> 99.3Helped

Surprising findings

Limitations

Experimental setup

Datasets: MVTec-AD VisA MPDD BTAD

Benchmarks: MVTec-AD VisA MPDD BTAD

Metrics: I-AUROC I-AP I-F1max P-AUROC P-AP P-F1max AUPRO

Baselines: UniAD GLAD HVQ-Trans AnomalDF Dinomaly PatchCore DiAD VPDM MambaAD JNLD OmniAL

Builds on: GLAD AnomalyDINO HVQ-Trans DINO stereo matching cost volume filtering

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