Anomaly Detection via Graphical Lasso

Haitao Liu, Randy C. Paffenroth, Jian Zou, Chong Zhou
11/10/2018
stat.MLcs.LG

Official code: lht1949/AnomalyDetection (1 star, Python, last commit 2020-06-12).

Abstract

Anomalies and outliers are common in real-world data, and they can arise from many sources, such as sensor faults. Accordingly, anomaly detection is important both for analyzing the anomalies themselves and for cleaning the data for further analysis of its ambient structure.

Show full abstract

Nonetheless, a precise definition of anomalies is important for automated detection and herein we approach such problems from the perspective of detecting sparse latent effects embedded in large collections of noisy data. Standard Graphical Lasso-based techniques can identify the conditional dependency structure of a collection of random variables based on their sample covariance matrix. However, classic Graphical Lasso is sensitive to outliers in the sample covariance matrix. In particular, several outliers in a sample covariance matrix can destroy the sparsity of its inverse. Accordingly, we propose a novel optimization problem that is similar in spirit to Robust Principal Component Analysis (RPCA) and splits the sample covariance matrix $M$ into two parts, $M=F+S$, where $F$ is the cleaned sample covariance whose inverse is sparse and computable by Graphical Lasso, and $S$ contains the outliers in $M$. We accomplish this decomposition by adding an additional $ \ell_1$ penalty to classic Graphical Lasso, and name it "Robust Graphical Lasso (Rglasso)". Moreover, we propose an Alternating Direction Method of Multipliers (ADMM) solution to the optimization problem which scales to large numbers of unknowns. We evaluate our algorithm on both real and synthetic datasets, obtaining interpretable results and outperforming the standard robust Minimum Covariance Determinant (MCD) method and Robust Principal Component Analysis (RPCA) regarding both accuracy and speed.

View on arXivView PDF

Code Implementations(1)

Anomaly Detection vis Graphical Lasso

10PythonFeb 9, 20186 years ago

Similar Papers

Cite this paper

@article{liu2018anomaly,
  title  = {Anomaly Detection via Graphical Lasso},
  author = {Haitao Liu and Randy C. Paffenroth and Jian Zou and Chong Zhou},
  year   = {2018},
  eprint = {1811.04277},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1811.04277}
}

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

Discussion