Abstract
This paper considers the graph signal processing problem of anomaly detection in time series of graphs. We examine two related, complementary inference tasks: the detection of anomalous graphs within a time series, and the detection of temporally anomalous vertices. We approach these tasks via the adaptation of statistically principled methods for joint graph inference, specifically multiple adjacency spectral embedding (MASE). We demonstrate that our method is effective for our inference tasks. Moreover, we assess the performance of our method in terms of the underlying nature of detectable anomalies. We further provide the theoretical justification for our method and insight into its use. Applied to the Enron communication graph, a large-scale commercial search engine time series of graphs, and a larval Drosophila connectome data, our approaches demonstrate their applicability and identify the anomalous vertices beyond just large degree change.
Introduction
In many real-world systems—ranging from social networks and computer traffic to neural activity—data is most naturally represented as a sequence of graphs. A central challenge in graph signal processing is identifying anomalies within these sequences. Traditional methods often rely on simple metrics like changes in edge count or node degree. However, these approaches can fail to detect sophisticated anomalies where an actor maintains a normal volume of activity but fundamentally alters their interaction patterns.
This paper introduces a statistically principled framework for spotting anomalies in time-evolving graphs. By leveraging Multiple Adjacency Spectral Embedding (MASE), we address two primary tasks: GraphAD (identifying anomalous time points where the entire graph structure shifts) and VertexAD (identifying specific nodes behaving abnormally relative to their history).
Methodology
The core of the approach is the adaptation of MASE for joint graph inference. While standard spectral embedding techniques analyze a single network to represent nodes in a low-dimensional space, MASE jointly embeds an entire series of graphs. This assumes that while specific connections fluctuate over time, the underlying "roles" or communities—the invariant subspace—remain relatively stable.
The Detection Pipeline
The authors propose a two-step process:
- Joint Embedding: All nodes are projected into a common latent space. This joint approach allows for more stable parameter estimation and effectively "denoises" the latent positions of nodes compared to embedding each graph individually.
- Detection Mechanisms: Two "flavors" of detection are provided:
- Statistical Hypothesis Testing: Utilizing a parametric bootstrap to calculate p-values, allowing for explicit False Discovery Rate (FDR) control.
- Control Charts: Adapting Shewhart charts from industrial engineering, using moving averages and "3-sigma" limits to flag out-of-control time points or nodes.
Experimental Results
The framework was validated across synthetic simulations and three diverse real-world datasets, demonstrating its versatility and precision.
Enron Email Network
Analyzing the communication patterns of 148 employees over 44 months, the method successfully flagged major corporate crises as graph-level anomalies. Specifically, it identified the peak of Enron’s stock price in August 2000 and the resignation of CEO Jeffrey Skilling in August 2001 as significant structural shifts.
Microsoft Bing (MSB) Entity-Transition
In a massive dataset of over 33,000 vertices representing search transitions, the authors injected artificial anomalies (planted cliques). MASE detected 100% of the 473 injected anomalous vertices. Furthermore, it identified "real" anomalies in April 2019 that were missed by simpler edge-counting methods, proving its ability to see beyond volume-based metrics.
Drosophila Connectome
The method was applied to functional activity in the larval fruit fly brain during extinction learning. By analyzing 140 nodes over 160 time points, the framework identified specific neurons that consistently reacted to stimulus changes, narrowing the search space for neuroscientists.
Key Insights
- The Power of Jointness: Embedding graphs jointly is significantly more powerful than one-by-one analysis. By looking at multiple time points simultaneously, the algorithm distinguishes real anomalies from random fluctuations.
- Beyond Degree Change: A key finding is that MASE can detect anomalies that traditional methods (like SCAN) miss. It identifies shifts in a node's position within the network hierarchy even when its total number of connections remains constant.
- Theoretical Grounding: Unlike many heuristic-based detectors, this paper provides a proof of asymptotic consistency. As the number of nodes in the graph grows, the probability of correctly identifying a true anomaly approaches 1.
- Temporal Bias-Variance Tradeoff: The choice of "time span" ($s$) for embedding is critical. A longer window provides better detection power if the network structure is stable, while a shorter window is preferable for rapidly evolving networks.
Limitations and Future Work
The current framework relies on the assumption that the underlying latent subspace is somewhat invariant over the studied window. If the network's community structure changes too abruptly, performance may degrade. Additionally, while the model treats time points as a sequence, it does not yet explicitly model auto-regressive structures (where $t$ depends directly on $t-1$). Future research will focus on incorporating auto-regressive latent position models and optimizing the computational load for joint SVD on extremely large graph concatenations.
Conclusion
By combining joint spectral embedding with rigorous statistical testing, this research provides a robust tool for anomaly detection in dynamic networks. Its ability to identify both global and local anomalies with theoretical guarantees makes it a significant advancement for fields as diverse as cybersecurity, social science, and neuroscience.
Summary updated