Unsupervised Anomaly Detection via Deep Metric Learning with End-to-End Optimization

Selim F. Yilmaz, Suleyman S. Kozat
5/12/2020
cs.LGstat.ML

Official code: selimfirat/addml (12 stars, Python, last commit 2023-03-23).

Abstract

We investigate unsupervised anomaly detection for high-dimensional data and introduce a deep metric learning (DML) based framework. In particular, we learn a distance metric through a deep neural network.

Show full abstract

Through this metric, we project the data into the metric space that better separates the anomalies from the normal data and reduces the effect of the curse of dimensionality for high-dimensional data. We present a novel data distillation method through self-supervision to remedy the conventional practice of assuming all data as normal. We also employ the hard mining technique from the DML literature. We show these components improve the performance of our model and significantly reduce the running time. Through an extensive set of experiments on the 14 real-world datasets, our method demonstrates significant performance gains compared to the state-of-the-art unsupervised anomaly detection methods, e.g., an absolute improvement between 4.44% and 11.74% on the average over the 14 datasets. Furthermore, we share the source code of our method on Github to facilitate further research.

View on arXivView PDF

Code Implementations(1)

selimfirat/addmlOfficial100%

Unsupervised Anomaly Detection via Deep Metric Learning with End-to-End Optimization

121PythonMay 10, 20203 years ago

Similar Papers

Cite this paper

@article{yilmaz2020unsupervised,
  title  = {Unsupervised Anomaly Detection via Deep Metric Learning with End-to-End Optimization},
  author = {Selim F. Yilmaz and Suleyman S. Kozat},
  year   = {2020},
  eprint = {2005.05865},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2005.05865}
}

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

Discussion