Introduction
In the rapidly shifting landscape of social networks and cyber-security, graphs are inherently dynamic. New connections form, communities migrate, and "normal" behavior evolves over time. Traditional anomaly detection tools often act as global alarms—they signal that something is wrong within the network but fail to pinpoint the specific location or nature of the deviation. This paper introduces a framework designed to provide both detection and contextualization by analyzing graphs through a hierarchical lens.
The GBTER Framework
The core of the proposed approach is the Generalized Block Two-Level Erdős-Rényi (GBTER) model. An evolution of the standard BTER model, GBTER offers increased flexibility in representing community structures. The model generates edges in a two-stage process:
- Intra-community edges: Connections within a group are modeled using an Erdős-Rényi process.
- Inter-community edges: Connections between different groups are generated using a Chung-Lu process, ensuring the resulting graph matches desired degree distributions.
This hierarchical structure is key to the framework's "multi-scale" capability, allowing for anomaly scores to be calculated at the node, community, and global graph levels simultaneously.
Multi-Scale Detection Methodology
A significant contribution of this work is the development of a Multi-Scale Statistics Detector. The researchers identified a "Labeling Trap" in standard graph models: for labeled graphs, the most probable configuration under a standard probability model is often an empty graph. Consequently, a "Probability Detector" might incorrectly flag a normal, active graph as anomalous simply due to its edge density.
To overcome this, the authors developed a detector that focuses on the statistics of node degrees—specifically, the distribution of edges within a node's community versus those outside of it. By using a Bayesian approach to learn parameters from previous snapshots, the system calculates $p$-values for every component of the graph. This mathematical decomposition allows users to "zoom in" from a flagged graph to the specific subgraphs or nodes causing the anomaly.
Experimental Evaluation
The framework was rigorously tested using both synthetic and real-world datasets.
Synthetic Benchmarks
In controlled experiments, the Multi-Scale Statistics Detector was compared against a raw Probability Detector and a standard Gaussian baseline. Two primary scenarios were tested: node swapping between communities (Experiment 1) and changes in edge densities (Experiment 2).
In Experiment 1, the Statistics Detector achieved a near-perfect AUC of 0.9912, significantly outperforming the Gaussian baseline of 0.785.
Similarly, in Experiment 2, the Statistics Detector maintained high accuracy with an AUC of 0.9937, compared to 0.8092 for the baseline.
Real-World Application: NCAA Football
The model was also applied to NCAA football data from 2008 to 2012, where teams represent nodes and games represent edges. The "anomalies" in this dataset are the major conference realignments of 2011 and 2012. The detector successfully identified teams changing conferences with perfect recall (11/11) and a precision of 0.786. Crucially, the model correctly identified the 2010 season as stable while flagging the subsequent years of realignment as highly anomalous.
Conclusion
The multi-level framework presented in this paper addresses the critical need for granularity in streaming graph anomaly detection. By moving beyond global scores to contextualized, multi-scale analysis, it provides analysts with the "map" needed to navigate complex network deviations. Future work will focus on improving the scalability of $p$-value calculations for massive datasets and reducing dependency on initial community partitions.
Reference: Bridges, R. A., Collins, J., Ferragut, E. M., Laska, J., & Sullivan, B. D. (2015). Multi-Level Anomaly Detection on Time-Varying Graph Data. arXiv:1410.4355v4 [cs.SI].
Summary updated