Dual Spatial-Temporal Attribution: Architecture-Aligned Post-Hoc Explainability for Recurrent Graph Anomaly Detection

📅 2026-08-12
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This work addresses the limited interpretability of dynamic graph anomaly detection models, which hinders their applicability in audit and trustworthy decision-making scenarios. The authors propose X-AddGraph, the first post-hoc explainability method tailored for the AddGraph framework. By introducing an architecture-aligned, three-component attribution mechanism, X-AddGraph jointly explains spatial structure, short-term temporal attention, and long-term recurrent states without compromising the original model’s performance. The approach integrates gradient-based attribution, attention weight inspection, and hidden state backtracking to deliver precise, reproducible explanations. Evaluated on the UCI Message dataset, the method achieves a reproduced AUC of 0.8705, with long-term temporal attribution significantly outperforming random baselines (0.127 vs. 0.074), thereby offering both high fidelity and comprehensive interpretability.
📝 Abstract
Deep learning detectors for anomalies in dynamic graphs have reached strong accuracy, yet they remain opaque: when an edge is flagged, the analyst receives a score but no reason. This opacity is untenable in the cooperative, regulated information systems where such detectors are deployed, where automated decisions must be auditable and trustworthy. We address this gap for AddGraph, the foundational GCN+GRU framework for edge-level anomaly detection in dynamic graphs, which to our knowledge has never been equipped with any form of explainability. We present a strictly post-hoc explainability framework, X-AddGraph, built on a Dual Spatial-Temporal Attribution (DSTA) mechanism whose three components are each aligned with one of AddGraph's architectural modules: a gradient-based relevance attribution over the current adjacency structure (spatial), a direct reading of the contextual attention weights already computed during inference (short-term temporal, at zero additional cost), and a gradient rollback through the recurrent hidden states (long-term temporal). Because the detector is frozen, detection performance is preserved exactly (Delta AUC = 0, verified empirically to ten decimal places). On the UCI Message benchmark, our trained AddGraph baseline reaches an average per-snapshot AUC of 0.8705, exceeding the originally published result; X-AddGraph reproduces every score identically while adding explanations where none existed. Evaluated across four edge populations - confident true positives, low-confidence true positives, false positives, and random samples - the long-term attribution identifies historical snapshots carrying significantly more counterfactual signal than random selection (0.127 vs. 0.074), a capability that no spatially-blind explainer can provide. We release our implementation for full reproducibility.
Problem

Research questions and friction points this paper is trying to address.

anomaly detection
dynamic graphs
explainability
post-hoc explanation
graph neural networks
Innovation

Methods, ideas, or system contributions that make the work stand out.

Dual Spatial-Temporal Attribution
Post-Hoc Explainability
Recurrent Graph Anomaly Detection
Gradient Rollback
Architecture-Aligned Explanation
🔎 Similar Papers
No similar papers found.
I
Iyad Assaad Nekka
LCSI Laboratory, National Higher School of Computer Science (ESI), Algiers, Algeria
Hamida Seba
Hamida Seba
Université Lyon 1
GraphsNetworksGraph LearningMassive data
K
Khaled Walid Hidouci
LCSI Laboratory, National Higher School of Computer Science (ESI), Algiers, Algeria
K
Karima Amrouche
LCSI Laboratory, National Higher School of Computer Science (ESI), Algiers, Algeria