Detecting Edge and Node Anomalies with Temporal GNNs

Conference Paper (2024)
Author(s)

A. Cavallo (TU Delft - Multimedia Computing)

Luca Gioacchini (Politecnico di Torino)

Luca Vassio (Politecnico di Torino)

Marco Mellia (Politecnico di Torino)

Multimedia Computing
DOI related publication
https://doi.org/10.1145/3694811.3697818
More Info
expand_more
Publication Year
2024
Language
English
Multimedia Computing
Pages (from-to)
7-13
ISBN (electronic)
979-8-4007-1254-8
Reuse Rights

Other than for strictly personal use, it is not permitted to download, forward or distribute the text or part of it, without the consent of the author(s) and/or copyright holder(s), unless the work is under an open content license such as Creative Commons.

Abstract

Computer and social networks can be effectively represented as complex temporal graphs where entities (nodes) keep interconnecting through various relationships (edges), forming evolving structures. Anomaly Detection (AD) in such networks consists of identifying patterns diverging from what is expected or normal. This task is fundamental for the detection of potential threats - e.g. suspicious connections (edge AD) or misbehaving entities (node AD), and challenging due to the lack of a common definition of anomaly. However, the literature is scarce about solutions to detect node anomalies on temporal graphs. This work addresses three challenges in AD as found in computer and social networks: fast-evolving graph structure, lack of ground truth, and simultaneous presence of anomalous nodes and edges. For this, we propose to use temporal Graph Neural Networks (tGNNs) coupled with specialised AD blocks trained in a self-supervised way. We also embed an attention mechanism providing interpretability to the decision process. We extensively validate the tGNNs on synthetic and real-world datasets showing that they successfully detect both node and edge anomalies simultaneously (≈0.9 of average AUC).