atlas

Research map / Graph learning / Knowledge and temporal graphs

A Generalizable Anomaly Detection Method in Dynamic Graphs

AAAI 2025 · Graph learning › Knowledge and temporal graphs · approach: Continuous-time dynamic graph learning · 15 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes GeneralDyG, which samples temporal k-hop ego-graphs around anomalous events, encodes them with a node-edge alternating GNN (TensGNN) and a temporal-aware Transformer, to detect node and edge anomalies in dynamic graphs with better generalizability.

Problem

Anomaly detection in dynamic graphs lacks generalizability across datasets and task types (node-level and edge-level), due to poor encoding of anomalous events, weak temporal capture, and high computational cost on large graphs.

Approach

Sample temporal ego-graphs around each event as tokens, insert hierarchical special tokens, encode structure with TensGNN that alternately applies node and edge message passing, and feed both raw and structure-enriched sequences into a Transformer whose query/key carry structural information and value carries event features.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Remove temporal ego-graph sampling (ablation)GeneralDyG · Bitcoin-AlphaAP: 26.73 -> 19.33Helped
Remove TensGNN structural extraction (ablation)GeneralDyG · Bitcoin-AlphaAUC: 96.28 -> 92.02Helped
Remove Transformer temporal module (ablation)GeneralDyG · Bitcoin-AlphaAP: 26.73 -> 20.20Helped
Remove hierarchical special tokens (ablation)GeneralDyG · Bitcoin-AlphaAP: 26.73 -> 26.80No clear effect
Remove temporal sorting (ablation)GeneralDyG · Bitcoin-AlphaAUC: 96.28 -> 95.37Helped
Remove temporal sorting and special tokens (ablation)GeneralDyG · Bitcoin-AlphaAUC: 96.28 -> 95.20Helped
Increase TensGNN depth from 1 to 5 layers (k=2) (ablation)GeneralDyG · Bitcoin-AlphaAP: 25.03; 26.73 (peak); 25.63; 23.99; 22.77Hurt
Increase ego-graph hop count from 2 to 5 (K=2) (ablation)GeneralDyG · Bitcoin-AlphaAP: 26.73; 24.45; 23.62; 22.57Hurt
Add temporal ego-graph sampling (ablation)GeneralDyG · Bitcoin-Alpha 1%AP: 14.72 -> 24.00Helped

Surprising findings

Limitations

Experimental setup

Datasets: SWaT WADI Bitcoin-Alpha Bitcoin-OTC

Benchmarks: Bitcoin-Alpha Bitcoin-OTC SWaT WADI

Metrics: AUC AP F1

Baselines: node2vec DeepWalk TGAT TGN ADDGRAPH StrGNN TADDY SAD SLADE GDN MST-GAT FuSAGNet

Builds on: TADDY SimpleDyG StrGNN GDN

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy