Unifying Evolution, Explanation, and Discernment: A Generative Approach for Dynamic Graph Counterfactuals
Bardh Prenkaj, Mario Villaizán-Vallelado, Tobias Leemann, Gjergji Kasneci
Abstract
We present GRACIE (Graph Recalibration and Adaptive Counterfactual Inspection and Explanation), a novel approach for generative classification and counterfactual explanations of dynamically changing graph data. We study graph classification problems through the lens of generative classifiers. We propose a dynamic, self-supervised latent variable model that updates by identifying plausible counterfactuals for input graphs and recalibrating decision boundaries through contrastive optimization. Unlike prior work, we do not rely on linear separability between the learned graph representations to find plausible counterfactuals. Moreover, GRACIE eliminates the need for stochastic sampling in latent spaces and graph-matching heuristics. Our work distills the implicit link between generative classification and loss functions in the latent space, a key insight to understanding recent successes with this architecture. We further observe the inherent trade-off between validity and pulling explainee instances towards the central region of the latent space, empirically demonstrating our theoretical findings. In extensive experiments on synthetic and real-world graph data, we attain considerable improvements, reaching 99% validity when sampling sets of counterfactuals even in the challenging setting of dynamic data landscapes.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Cited by top-tier papers3
- CoDy: Counterfactual Explainers for Dynamic GraphsZhan Qu, Daniel Gomm, Michael FärberICML 2025
- Graph Inverse Style Transfer for Counterfactual ExplainabilityBardh Prenkaj, Efstratios Zaradoukas, Gjergji KasneciICML 2025
- Training-free Counterfactual Explanation for Temporal Graph Model InferenceMingjian Lu, Haolai Che, Yangxin Fan, Qu Liu et al.ICLR 2026
Related papers
- CLEAR: Generative Counterfactual Explanations on GraphsJing Ma, Ruocheng Guo, Saumitra Mishra, Aidong Zhang et al.NeurIPS 2022 · 83 citations
- Self-Supervised Representation Learning via Latent Graph PredictionYaochen Xie, Zhao Xu, Shuiwang JiICML 2022 · 43 citations
- Topology-monitorable Contrastive Learning on Dynamic GraphsZulun Zhu, Kai Wang, Haoyu Liu, Jintang Li et al.KDD 2024 · 2 citations
- Accurate Explanation Model for Image Classifiers using Class Association EmbeddingRuitao Xie, Jingbang Chen, Limai Jiang, Rui Xiao et al.ICDE 2024 · 12 citations
- Boosting Graph Contrastive Learning via Graph Contrastive SaliencyChunyu Wei, Yu Wang, Bing Bai, Kai Ni et al.ICML 2023 · 31 citations
