Lune

NeurIPS2024Top-tier venue

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

Xiayan Ji, Anton Xue, Eric Wong, Oleg Sokolsky, Insup Lee

Abstract

Anomaly detection is widely used for identifying critical errors and suspicious behaviors, but current methods lack interpretability. We leverage common properties of existing methods and recent advances in generative models to introduce counterfactual explanations for anomaly detection. Given an input, we generate its counterfactual as a diffusion-based repair that shows what a non-anomalous version should have looked like. A key advantage of this approach is that it enables a domain-independent formal specification of explainability desiderata, offering a unified framework for generating and evaluating explanations. We demonstrate the effectiveness of our anomaly explainability framework, AR-Pro, on vision (MVTec, VisA) and time-series (SWaT, WADI, HAI) anomaly datasets. The code used for the experiments is accessible at: https://github.com/xjiae/arpro.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Diffusion Models Beat GANs on Image Synthesis cites Denoising Diffusion Probabilistic Models
  • SDEdit: Guided Image Synthesis and Editing with Stochastic Differential Equations cites Diffusion Models Beat GANs on Image Synthesis
  • SDEdit: Guided Image Synthesis and Editing with Stochastic Differential Equations cites Denoising Diffusion Probabilistic Models
  • One Fits All: Power General Time Series Analysis by Pretrained LM cites Anomaly Transformer: Time Series Anomaly Detection with Association Discrepancy
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. Reimagining Anomalies: What If Anomalies Were Normal?Philipp Liznerski, Saurabh Varshneya, Ece Calikus, Puyu Wang et al.AAAI 2026 · 4 citations
  2. DCFO: Density-Based Counterfactuals for OutliersTommaso Amico, Pernille Matthews, Lena Krieger, Arthur Zimek et al.KDD 2026

Builds on12

  1. Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
  2. Diffusion Models Beat GANs on Image SynthesisPrafulla Dhariwal, Alexander Quinn NicholNeurIPS 2021 · 13,211 citations
  3. SDEdit: Guided Image Synthesis and Editing with Stochastic Differential EquationsChenlin Meng, Yutong He, Yang Song, Jiaming Song et al.ICLR 2022 · 2,128 citations
  4. One Fits All: Power General Time Series Analysis by Pretrained LMTian Zhou, Peisong Niu, Xue Wang, Liang Sun et al.NeurIPS 2023 · 1,178 citations
  5. Anomaly Transformer: Time Series Anomaly Detection with Association DiscrepancyJiehui Xu, Haixu Wu, Jianmin Wang, Mingsheng LongICLR 2022 · 960 citations

Related papers

  1. One-for-More: Continual Diffusion Model for Anomaly DetectionXiaofan Li, Xin Tan, Zhuo Chen, Zhizhong Zhang et al.CVPR 2025
  2. Unseen Visual Anomaly GenerationHan Sun, Yunkang Cao, Hao Dong, Olga FinkCVPR 2025
  3. Generating and Reweighting Dense Contrastive Patterns for Unsupervised Anomaly DetectionSongmin Dai, Yifan Wu, Xiaoqiang Li, Xiangyang XueAAAI 2024 · 25 citations
  4. Removing Anomalies as Noises for Industrial Defect LocalizationFanbin Lu, Xufeng Yao, Chi-Wing Fu, Jiaya JiaICCV 2023 · 53 citations
  5. Unsupervised Surface Anomaly Detection with Diffusion Probabilistic ModelXinyi Zhang, Naiqi Li, Jiawei Li, Tao Dai et al.ICCV 2023 · 112 citations
Dusk over the sea between two cliffs drawn in fine vertical lines