Isconna: Streaming Anomaly Detection with Frequency and Patterns

Rui Liu, Siddharth Bhatia, Bryan Hooi
4/4/2021
4 citations
cs.LGcs.AI

Official code: liurui39660/Isconna (6 stars, C++, Apache-2.0, last commit 2023-03-31). 1 more implementation below.

Abstract

An edge stream is a common form of presentation of dynamic networks. It can evolve with time, with new types of nodes or edges being continuously added.

Show full abstract

Existing methods for anomaly detection rely on edge occurrence counts or compare pattern snippets found in historical records. In this work, we propose Isconna, which focuses on both the frequency and the pattern of edge records. The burst detection component targets anomalies between individual timestamps, while the pattern detection component highlights anomalies across segments of timestamps. These two components together produce three intermediate scores, which are aggregated into the final anomaly score. Isconna does not actively explore or maintain pattern snippets; it instead measures the consecutive presence and absence of edge records. Isconna is an online algorithm, it does not keep the original information of edge records; only statistical values are maintained in a few count-min sketches (CMS). Isconna's space complexity $O(rc)$ is determined by two user-specific parameters, the size of CMSs. In worst case, Isconna's time complexity can be up to $O(rc)$, but it can be amortized in practice. Experiments show that Isconna outperforms five state-of-the-art frequency- and/or pattern-based baselines on six real-world datasets with up to 20 million edge records.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
liurui39660/IsconnaOfficial6C++Apache-2.02023-03-31
liurui39660/Isconna.PythonOfficial1PythonApache-2.02021-06-07
Apache-2.0

Isconna: Streaming Anomaly Detection with Frequency and Patterns

60C++, CMakeJan 19, 20213 years agoApache-2.0
anomaly-detectionintrusion-detectionoutlier-detection
Apache-2.0

Python porting of the Isconna algorithm.

10PythonApr 16, 20215 years agoApache-2.0
anomaly-detectionintrusion-detectionoutlier-detection

Similar Papers

Cite this paper

@article{liu2021isconna,
  title  = {Isconna: Streaming Anomaly Detection with Frequency and Patterns},
  author = {Rui Liu and Siddharth Bhatia and Bryan Hooi},
  year   = {2021},
  eprint = {2104.01632},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.01632}
}

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

Discussion