ATEX-CF: Attack-Informed Counterfactual Explanations for Graph Neural Networks

Yu Zhang, Sean Bin Yang, Arijit Khan, Cuneyt Gurcan Akcora
2/5/2026
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

Counterfactual explanations offer an intuitive way to interpret graph neural networks (GNNs) by identifying minimal changes that alter a model's prediction, thereby answering "what must differ for a different outcome?". In this work, we propose a novel framework, ATEX-CF that unifies adversarial attack techniques with counterfactual explanation generation-a connection made feasible by their shared goal of flipping a node's prediction, yet differing in perturbation strategy: adversarial attacks often rely on edge additions, while counterfactual methods typically use deletions. Unlike traditional approaches that treat explanation and attack separately, our method efficiently integrates both edge additions and deletions, grounded in theory, leveraging adversarial insights to explore impactful counterfactuals. In addition, by jointly optimizing fidelity, sparsity, and plausibility under a constrained perturbation budget, our method produces instance-level explanations that are both informative and realistic. Experiments on synthetic and real-world node classification benchmarks demonstrate that ATEX-CF generates faithful, concise, and plausible explanations, highlighting the effectiveness of integrating adversarial insights into counterfactual reasoning for GNNs.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhang2026atexcf,
  title  = {ATEX-CF: Attack-Informed Counterfactual Explanations for Graph Neural Networks},
  author = {Yu Zhang and Sean Bin Yang and Arijit Khan and Cuneyt Gurcan Akcora},
  year   = {2026},
  eprint = {2602.06240},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.06240v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2602.06240.svg)](https://codeofpaper.com/paper/2602.06240)

Discussion