Work

Memory Design in Temporal Graph Networks — Applied to Anomaly Detection in Provenance-based Intrusion Detection Systems

Year: 2026
Type: dissertation
Abstract: Modern computer systems generate large amounts of activity logs, making it difficult to detect attacks that unfold gradually over time. System-level provenance graphs help address this problem by representing the activity of processes, files and network connections as a graph of timestamped interactions. This thesis studies how temporal graph learning can use memory to detect anomalous behavior in such graphs. In particular, it investigates the memory component of Temporal Graph Networks (TGN), including whether memory is useful, what information should be stored in it and whether a more expressive mLSTM-based memory updater can improve the model. The models are evaluated on a real system provenance dataset and on a synthetic task designed to test delayed dependencies. The results show that memory is most useful when relevant past information is no longer directly available from the recent node neighborhood. Enriching the information written into memory helps the model capture delayed cause-effect relationships and can also improve anomaly detection on real provenance data. However, replacing the standard GRU updater with mLSTM provides benefits only in selected settings, suggesting that more expressive memory mechanisms are not uniformly better and must be matched to the task and graph structure. Overall, the thesis shows that memory is an important design choice in temporal graph anomaly detection, but its effectiveness also depends on the task, the graph structure and how temporal information is stored and updated.
Language: English
Open Access status: green
OpenAlex ID: W7204015191
Cites: 48
Cited by:
Related to: 8