Structural-Temporal Coupling Anomaly Detection with Dynamic Graph Transformer
Chang Zong, Yueting Zhuang, Jian Shao, Weiming Lu
TL;DR
STCAD tackles anomaly detection in dynamic graphs by integrating structural-temporal coupling into a dynamic graph transformer with a novel 2D positional encoding. It introduces two-level anomaly-aware features and a mixed supervision framework that jointly captures discriminative and contextual signals. Across six benchmark datasets, STCAD consistently surpasses state-of-the-art baselines, with ablation studies highlighting the importance of coupling features and 2D encoding. A case study on emerging technology identification demonstrates the method's practical utility for discovering novel domain co-occurrences and evolving patterns.
Abstract
Detecting anomalous edges in dynamic graphs is an important task in many applications over evolving triple-based data, such as social networks, transaction management, and epidemiology. A major challenge with this task is the absence of structural-temporal coupling information, which decreases the ability of the representation to distinguish anomalies from normal instances. Existing methods focus on handling independent structural and temporal features with embedding models, which ignore the deep interaction between these two types of information. In this paper, we propose a structural-temporal coupling anomaly detection architecture with a dynamic graph transformer model. Specifically, we introduce structural and temporal features from two integration levels to provide anomaly-aware graph evolutionary patterns. Then, a dynamic graph transformer enhanced by two-dimensional positional encoding is implemented to capture both discrimination and contextual consistency signals. Extensive experiments on six datasets demonstrate that our method outperforms current state-of-the-art models. Finally, a case study illustrates the strength of our method when applied to a real-world task.
