Demeaned Sparse: Efficient Anomaly Detection by Residual Estimate
Abstract
Frequency-domain image anomaly detection methods can substantially enhance anomaly detection performance, however, they still lack an interpretable theoretical framework to guarantee the effectiveness of the detection process. We propose a novel test to detect anomalies in structural image via a Demeaned Fourier transform (DFT) under factor model framework, and we proof its effectiveness. We also briefly give the asymptotic theories of our test, the asymptotic theory explains why the test can detect anomalies at both the image and pixel levels within the theoretical lower bound. Based on our test, we derive a module called Demeaned Fourier Sparse (DFS) that effectively enhances detection performance in unsupervised anomaly detection tasks, which can construct masks in the Fourier domain and utilize a distribution-free sampling method similar to the bootstrap method. The experimental results indicate that this module can accurately and efficiently generate effective masks for reconstruction-based anomaly detection tasks, thereby enhancing the performance of anomaly detection methods and validating the effectiveness of the theoretical framework.
Cite
Text
Fang et al. "Demeaned Sparse: Efficient Anomaly Detection by Residual Estimate." Proceedings of the 42nd International Conference on Machine Learning, 2025.Markdown
[Fang et al. "Demeaned Sparse: Efficient Anomaly Detection by Residual Estimate." Proceedings of the 42nd International Conference on Machine Learning, 2025.](https://mlanthology.org/icml/2025/fang2025icml-demeaned/)BibTeX
@inproceedings{fang2025icml-demeaned,
title = {{Demeaned Sparse: Efficient Anomaly Detection by Residual Estimate}},
author = {Fang, Yifan and Fang, Yifei and Chen, Ruizhe and Xu, Haote and Ding, Xinghao and Huang, Yue},
booktitle = {Proceedings of the 42nd International Conference on Machine Learning},
year = {2025},
pages = {15901-15924},
volume = {267},
url = {https://mlanthology.org/icml/2025/fang2025icml-demeaned/}
}