Effective End-to-end Unsupervised Outlier Detection via Inlier Priority of Discriminative Network
By Siqi Wang, Yijie Zeng, Xinwang Liu, En Zhu, Jianping Yin, Chuanfu Xu, Marius Kloft. In NeurIPS 2019.
Update
- 2020/07/13: Added multiple score refinement strategies (ensemble, re-weighting) which improve performance of E3Outlier. Added several recent unsupervised outlier detection implementations, including DSEBM, RSRAE, RSRAE+, MO-GAAL. Checkout the
extension
branch for more information.
Introduction
This is the official implementation of the E3Outlier framework presented by "Effective End-to-end Unsupervised Outlier Detection via Inlier Priority of Discriminative Network".
The codes are used to reproduce experimental results of E3Outlier and other unsupervised outlier detection (UOD) methods reported in the paper.
Requirements
- Python 3.6
- PyTorch 0.4.1 (GPU)
- Keras 2.2.0
- Tensorflow 1.8.0 (GPU)
- sklearn 0.19.1
Usage
To obtain the results of E3Outlier and other UOD methods compared in the paper with default settings, simply run the following command:
python outlier_experiments.py
This will automatically run all UOD methods reported in the manuscript. Please see outlier_experiments.py
for more details.
After training, to print UOD results for a specific algorithm in AUROC/AUPR, run:
# AUROC of E3Outlier on CIFAR10 with outlier ratio 0.1
python evaluate_roc_auc.py --dataset cifar10 --algo_name e3outlier-0.1
# AUPR of CAE-IF on MNIST with outlier ratio 0.25 and inliers as the postive class
python evaluate_pr_auc.py --dataset mnist --algo_name cae-iforest-0.25 --postive inliers
The algorithm names are defined in outlier_experiments.py
.
Citation
@incollection{NIPS2019_8830,
title = {Effective End-to-end Unsupervised Outlier Detection via Inlier Priority of Discriminative Network},
author = {Wang, Siqi and Zeng, Yijie and Liu, Xinwang and Zhu, En and Yin, Jianping and Xu, Chuanfu and Kloft, Marius},
booktitle = {Advances in Neural Information Processing Systems 32},
editor = {H. Wallach and H. Larochelle and A. Beygelzimer and F. d\textquotesingle Alch\'{e}-Buc and E. Fox and R. Garnett},
pages = {5960--5973},
year = {2019},
publisher = {Curran Associates, Inc.},
url = {http://papers.nips.cc/paper/8830-effective-end-to-end-unsupervised-outlier-detection-via-inlier-priority-of-discriminative-network.pdf}
}
License
E3Outlier is released under the MIT License.