Structural-Temporal Coupling Anomaly Detection with Dynamic Graph Transformer

Chang Zong, Yueting Zhuang, Jian Shao, Weiming Lu
5/13/2025
cs.LGcs.SI

No official code found. Best implementation: changzong/STCAD (3 stars, Apache-2.0, last commit 2023-07-13).

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.

View on arXivView PDF

Code Implementations(1)

changzong/STCADCommunity100%
Apache-2.0
30Python, Jupyter NotebookJul 13, 20233 years agoApache-2.0

Similar Papers

Cite this paper

@article{zong2025structuraltemporal,
  title  = {Structural-Temporal Coupling Anomaly Detection with Dynamic Graph Transformer},
  author = {Chang Zong and Yueting Zhuang and Jian Shao and Weiming Lu},
  year   = {2025},
  eprint = {2505.08330},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.08330v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.08330.svg)](https://codeofpaper.com/paper/2505.08330)

Discussion