Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Sketch-Based Anomaly Detection in Streaming Graphs

About

Given a stream of graph edges from a dynamic graph, how can we assign anomaly scores to edges and subgraphs in an online manner, for the purpose of detecting unusual behavior, using constant time and memory? For example, in intrusion detection, existing work seeks to detect either anomalous edges or anomalous subgraphs, but not both. In this paper, we first extend the count-min sketch data structure to a higher-order sketch. This higher-order sketch has the useful property of preserving the dense subgraph structure (dense subgraphs in the input turn into dense submatrices in the data structure). We then propose 4 online algorithms that utilize this enhanced data structure, which (a) detect both edge and graph anomalies; (b) process each edge and graph in constant memory and constant update time per newly arriving edge, and; (c) outperform state-of-the-art baselines on 4 real-world datasets. Our method is the first streaming approach that incorporates dense subgraph search to detect graph anomalies in constant memory and time.

Siddharth Bhatia, Mohit Wadhwa, Kenji Kawaguchi, Neil Shah, Philip S. Yu, Bryan Hooi• 2021

Related benchmarks

TaskDatasetResultRank
Anomaly DetectionUNSW
Running Time (s)0.32
17
Anomaly RecognitionCTU-13 Scenario 1
Running Time (s)2.29
8
Anomaly RecognitionCTU-13 Scenario 10
Running time (s)0.71
8
Anomaly RecognitionCTU-13 Scenario 13
Running Time (s)0.93
8
Anomaly DetectionCTU-13 Scenario 10 (test)
F1-Score0.331
8
Anomaly RecognitionDARPA
Running Time (s)0.33
8
Anomaly RecognitionISCX 2012
Running Time (s)0.22
8
Anomaly DetectionCIC-IDS 2017 (test)
F1-Score73.4
8
Anomaly RecognitionCIC-IDS 2017
Inference Time (s)0.64
8
Anomaly DetectionDARPA (test)
F1 Score80.9
8
Showing 10 of 16 rows

Other info

Follow for update