Fast and Accurate Anomaly Detection in Dynamic Graphs with a Two-Pronged Approach

Minji Yoon, Bryan Hooi, Kijung Shin, Christos Faloutsos

2019 · 86 citations · 25 references

DOIFull text

Open access

Concepts

TL;DR

Dynamic graph streams can exhibit sudden anomalous patterns such as link spam, follower boosting, or denial‑of‑service attacks, and distinguishing these types requires theoretical analysis of their signatures. We introduce AnomRank, an online algorithm designed to detect and classify anomalies in dynamic graphs. AnomRank employs a two‑pronged strategy that defines two novel anomalousness metrics, each tracking the derivative of a node‑importance function to identify abrupt changes in node relevance. The method accurately detects sudden edge‑weight changes and structural graph alterations, achieving up to 49.5× speedups, 35% higher accuracy than existing techniques, linear scalability, and provable theoretical guarantees.

Abstract

Given a dynamic graph stream, how can we detect the sudden appearance of anomalous patterns, such as link spam, follower boosting, or denial of service attacks? Additionally, can we categorize the types of anomalies that occur in practice, and theoretically analyze the anomalous signs arising from each type? In this work, we propose AnomRank, an online algorithm for anomaly detection in dynamic graphs. AnomRank uses a two-pronged approach defining two novel metrics for anomalousness. Each metric tracks the derivatives of its own version of a 'node score' (or node importance) function. This allows us to detect sudden changes in the importance of any node. We show theoretically and experimentally that the two-pronged approach successfully detects two common types of anomalies: sudden weight changes along an edge, and sudden structural changes to the graph. AnomRank is (a) Fast and Accurate: up to 49.5x faster or 35% more accurate than state-of-the-art methods, (b) Scalable: linear in the number of edges in the input graph, processing millions of edges within 2 seconds on a stock laptop/desktop, and (c) Theoretically Sound: providing theoretical guarantees of the two-pronged approach.

References

25