EntropyStop: Unsupervised Deep Outlier Detection with Loss Entropy

Yihong Huang, Yuang Zhang, Liping Wang, Fan Zhang, Xuemin Lin
5/21/2024
cs.LGcs.AI

No official code found. Best implementation: goldenNormal/EntropyStop-KDD2024 (7 stars, Apache-2.0, last commit 2025-03-16).

Abstract

Unsupervised Outlier Detection (UOD) is an important data mining task. With the advance of deep learning, deep Outlier Detection (OD) has received broad interest. Most deep UOD models are trained exclusively on clean datasets to learn the distribution of the normal data, which requires huge manual efforts to clean the real-world data if possible. Instead of relying on clean datasets, some approaches directly train and detect on unlabeled contaminated datasets, leading to the need for methods that are robust to such conditions. Ensemble methods emerged as a superior solution to enhance model robustness against contaminated training sets. However, the training time is greatly increased by the ensemble. In this study, we investigate the impact of outliers on the training phase, aiming to halt training on unlabeled contaminated datasets before performance degradation. Initially, we noted that blending normal and anomalous data causes AUC fluctuations, a label-dependent measure of detection accuracy. To circumvent the need for labels, we propose a zero-label entropy metric named Loss Entropy for loss distribution, enabling us to infer optimal stopping points for training without labels. Meanwhile, we theoretically demonstrate negative correlation between entropy metric and the label-based AUC. Based on this, we develop an automated early-stopping algorithm, EntropyStop, which halts training when loss entropy suggests the maximum model detection capability. We conduct extensive experiments on ADBench (including 47 real datasets), and the overall results indicate that AutoEncoder (AE) enhanced by our approach not only achieves better performance than ensemble AEs but also requires under 2\% of training time. Lastly, our proposed metric and early-stopping approach are evaluated on other deep OD models, exhibiting their broad potential applicability.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

This is the official code for paper "EntropyStop: Unsupervised Deep Outlier Detection with Loss Entropy" (KDD2024)

70PythonMay 30, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{huang2024entropystop,
  title  = {EntropyStop: Unsupervised Deep Outlier Detection with Loss Entropy},
  author = {Yihong Huang and Yuang Zhang and Liping Wang and Fan Zhang and Xuemin Lin},
  year   = {2024},
  eprint = {2405.12502},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.12502v3}
}

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/2405.12502.svg)](https://codeofpaper.com/paper/2405.12502)

Discussion