atlas

Research map / Time series / Anomaly detection

AR-Pro: Counterfactual Explanations for Anomaly Repair with Formal Properties

NeurIPS 2024 · Time series › Anomaly detection · approach: Time series anomaly detection evaluation · 4 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 AR-Pro, which formalizes four domain-independent counterfactual-explanation properties for linearly decomposable anomaly detectors and uses property-guided masked diffusion to repair anomalous inputs as explanations.

Problem

Anomaly detectors are black boxes that localize anomalies but do not explain what a non-anomalous version of the input should look like; counterfactual repairs need quality criteria.

Approach

Observes that many anomaly detectors are linearly decomposable (score = sum of feature-wise scores plus regularizer), uses this to define four formal properties (overall improvement, similarity, localized improvement, non-degradation) as loss functions, and guides a diffusion model with these losses plus masked in-filling of the non-anomalous region.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add property guidance to diffusionDDPM + FastFlow · VisAM_s (overall anomaly score): +26.54%Helped
Add property guidance to diffusionDDPM + FastFlow · VisAM_d (non-anomalous-region distance): +97.46%Helped
Add property guidance to diffusionDDPM + FastFlow · MVTec-ADM_s (overall anomaly score): +8.35%Helped
Add property guidance to diffusionDDPM + FastFlow · MVTec-ADM_d (non-anomalous-region distance): +97.34%Helped
Add property guidance to diffusionDiffusion-TS + Llama2/GPT-2 · SWaT, WADI, HAIM_d (non-anomalous-region distance): +20.77% (Llama2); -34.37% (GPT-2)Mixed
Add property guidance to diffusionDiffusion-TS + Llama2/GPT-2 · SWaT, WADI, HAIM_ω (anomalous-region score change): +110.32% (Llama2); +177.79% (GPT-2)Helped
Add property guidance to diffusionDDPM + FastFlow · VisA and MVTec-ADTNR: 100%Helped
Add property guidance to diffusionDiffusion-TS + time-series detectors · SWaT, HAI, WADITNR: 95.33% vs. 2.67%Helped
Add property guidance to diffusionDDPM and Diffusion-TS · Vision and time-seriesmedian runtime (seconds): 126.50 -> 236.37 (vision); 10.86 -> 12.49 (time-series)Hurt
Vary the property-loss weights λ1, λ2, λ3, and λ4 (ablation)AR-Pro · Time-seriesformal property metricsNo clear effect
Vary the overall guidance scale λφ (ablation)AR-Pro · Time-series and image dataformal property metricsNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: MVTec-AD VisA SWaT WADI HAI

Benchmarks: MVTec-AD VisA SWaT WADI HAI

Metrics: M_s (overall score) M_d (similarity distance) M_omega (anomalous-region score change) M_omega-bar (non-anomalous-region score change) true negative rate

Baselines: non-guided diffusion repair (DDPM / Diffusion-TS baseline)

Builds on: DDPM guided diffusion Diffusion-TS FastFlow EfficientAD

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