Diversity-Measurable Anomaly Detection

Wenrui Liu, Hong Chang, Bingpeng Ma, S. Shan, Xilin Chen
2/14/2026

No official code found. Best implementation: FlappyPeggy/DMAD (71 stars, last commit 2024-10-24).

Abstract

Reconstruction-based anomaly detection models achieve their purpose by suppressing the generalization ability for anomaly. However, diverse normal patterns are consequently not well reconstructed as well. Although some efforts have been made to alleviate this problem by modeling sample diversity, they suffer from shortcut learning due to undesired transmission of abnormal information. In this paper, to better handle the tradeoff problem, we propose Diversity-Measurable Anomaly Detection (DMAD) framework to enhance reconstruction diversity while avoid the undesired generalization on anomalies. To this end, we design Pyramid Deformation Module (PDM), which models diverse normals and measures the severity of anomaly by estimating multi-scale deformation fields from reconstructed reference to original input. Integrated with an information compression module, PDM essentially decouples deformation from prototypical embedding and makes the final anomaly score more reliable. Experimental results on both surveillance videos and industrial images demonstrate the effectiveness of our method. In addition, DMAD works equally well in front of contaminated data and anomaly-like normal samples.

View on arXivView PDF

Code Implementations(1)

FlappyPeggy/DMADCommunity100%

Official code for "Diversity-Measurable Anomaly Detection", CVPR 2023 by Wenrui Liu, Hong Chang, Bingpeng Ma, Shiguang Shan, Xilin Chen.

718PythonMar 18, 20231 years ago

Similar Papers

Cite this paper

@article{liu2026diversitymeasurable,
  title  = {Diversity-Measurable Anomaly Detection},
  author = {Wenrui Liu and Hong Chang and Bingpeng Ma and S. Shan and Xilin Chen},
  year   = {2026},
  eprint = {2303.05047},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2303.05047},
  journal = {CVPR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2303.05047.svg)](https://codeofpaper.com/paper/2303.05047)

Discussion