Giter VIP home page Giter VIP logo

pgn_anomaly_detection's Introduction

PGN

: Prior Generating Networks for Anomaly Detection

Interpreting Rate-Distortion of Variational Autoencoder and Using Model Uncertainty for Anomaly Detection
Seonho Park (U. of Florida), George Adosoglou (U. of Florida), Panos M. Pardalos (U. of Florida)

Abstract Building a scalable machine learning system for unsupervised anomaly detection via representation learning is highly desirable. One of the prevalent methods is using a reconstruction error of variational autoencoder (VAE) by maximizing the evidence lower bound. We revisit VAE from the perspective of information theory to provide some theoretical foundations on using the reconstruction error and finally arrive at a simpler yet effective model for anomaly detection. In addition, to enhance the effectiveness of detecting anomalies, we incorporate a practical model uncertainty measure into the anomaly score. We show empirically the competitive performance of our approach on benchmark data sets.

Requirements

  • python == 3.7.3
  • pytorch == 1.0.1

Execution - Anomaly Detection

python main_pgn.py
  • Tested on CIFAR10, FMNIST, MNIST Datasets
  • one could find some options in utils.py
  • other methods (GPND, DSVDD, AE, VAE, AAE) can be executed in a similar way with execution files main_dsvdd.py, main_gpnd.py and so on.

Execution - beta-VAE for rate-distortion analysis

python beta_vae_test.py

Results

Ablation study

Anomaly detection on MNIST & FMNIST

Anomaly detection on CIFAR10

Citation

If you want to cite this, please refer to the following:

@article{park2020anomaly,
  title={Interpreting Rate-Distortion of Variational Autoencoder and Using Model Uncertainty for Anomaly Detection},
  author={Park, Seonho and Adosoglou, George and Pardalos, Panos M},
  journal={arXiv preprint arXiv:2005.01889},
  year={2020}
}

pgn_anomaly_detection's People

Contributors

seonho-park avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.