Extreme Value Modelling of Feature Residuals for Anomaly Detection in Dynamic Graphs
Sevvandi Kandanaarachchi, Conrad Sanderson, Rob J. Hyndman
TL;DR
This work tackles anomaly detection in sequences of dynamic graphs by combining a rich feature-based representation with ARIMA-based temporal modelling to obtain residuals, followed by robust dimensionality reduction and Extreme Value Theory (EVT) to model extremes. The approach directly handles variable-sized graphs and complex temporal changes, achieving significantly better accuracy than TensorSplat and Laplacian Anomaly Detection across multiple graph models (ER, BA, WS). By modelling residuals and focusing on low-density extremes with a Generalized Pareto Distribution, the method aims to reduce false positives while preserving detection power. The proposed pipeline offers a practical, scalable framework for detecting graph-level anomalies in domains such as transport, energy, and cyber networks, with clear avenues for explainability and subgraph extensions in future work.
Abstract
Detecting anomalies in a temporal sequence of graphs can be applied is areas such as the detection of accidents in transport networks and cyber attacks in computer networks. Existing methods for detecting abnormal graphs can suffer from multiple limitations, such as high false positive rates as well as difficulties with handling variable-sized graphs and non-trivial temporal dynamics. To address this, we propose a technique where temporal dependencies are explicitly modelled via time series analysis of a large set of pertinent graph features, followed by using residuals to remove the dependencies. Extreme Value Theory is then used to robustly model and classify any remaining extremes, aiming to produce low false positives rates. Comparative evaluations on a multitude of graph instances show that the proposed approach obtains considerably better accuracy than TensorSplat and Laplacian Anomaly Detection.
