Skip to content
Book Open access

Counterfactual Analysis on Large Graphs

Aug 2026 · Proceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V.2 · pp. 390-401 · 0 citations · 38 references

TL;DR

This paper proposes Concept-guided Counterfactual Subgraph Retrieval (CCSGR), a dataset-grounded formulation that retrieves from a large graph subgraphs that are structurally and semantically similar to a query but induce different predictions under the same model, yielding domain-valid and verifiable counterfactual explanations.

Abstract

Counterfactual analysis aims to identify minimal and semantically meaningful changes that alter a model's prediction. Existing perturbation approaches generate counterfactuals by directly editing nodes, edges, or attributes, often producing explanations that are model-dependent and detached from the underlying data distribution. In this paper, we introduce Counterfactual Subgraph Retrieval (CF-SGR), a dataset-grounded formulation that retrieves from a large graph subgraphs that are structurally and semantically similar to a query but induce different predictions under the same model, yielding domain-valid and verifiable counterfactual explanations. To solve CF-SGR, we propose Concept-guided Counterfactual Subgraph Retrieval (CCSGR), which operates in a shared multi-scale graph concept space aligned with a trained GNN and replaces fine-grained node-level edits with concept-level reasoning. CCSGR performs retrieval via concept-based filtering, robustness-aware ranking, and diversity-aware selection, enabling scalable and non-redundant search over large graphs. We provide theoretical guarantees on correctness, robustness, and efficiency and demonstrate that CCSGR improves retrieval quality by up to 40% while achieving speedups of 20× on large-scale graphs across six real-world datasets spanning five domains.

Read PDF

Similar papers

#machine learning Preprint Sep 2026

A Comparative Study of Counterfactual Explainers for Graph Neural Networks Enabling Multiple Types of Graph Edit

Counterfactual explanations for graph-structured data seek to determine minimal and realistic modifications required in an input graph to alter a model's prediction to a predefined output. Although counterfactual explainers that support modifying the graph by both adding and removing edges have recently emerged, there...

Maria Myrto Villia, Filippos Gouidis, T. Patkos et al. · 0 citations
Open access Sep 2026

On the Minimization of Graph Counterfactual Explanations: Theory and a Local Bounded Search Algorithm

Graph counterfactual explainability (GCE) addresses the interpretability limitations of opaque machine learning models on graph-structured data by producing graph counterfactuals (GCs): alternative graphs that remain maximally similar to a given instance while inducing a different model prediction. State-of-the-art GCE...

Rodrigo García, Mario Alfonso Prado-Romero, Francesco Gullo et al. · 1 citation
#natural language process... Preprint Sep 2026

GraphProfiler: Source-Linked Sensitive Attribute Inference via Personal Knowledge Graphs

Sensitive attributes such as age, income, and occupation can be inferred from user-generated content by aggregating indirect cues across many ordinary posts. LLM-based profilers can perform this aggregation automatically and with high accuracy, which makes large-scale personal attribute inference a major privacy threat...

Ahmed Sohair Khan, Estrid He, Chenglong Ma et al. · 0 citations
#machine learning Preprint Sep 2026

RACE: Relation-Level Counterfactual Explanations for Heterogeneous Graph Neural Networks

Counterfactual explanations of graph neural networks identify edge deletions that flip a prediction. On heterogeneous graphs, however, existing methods first collapse the graph into untyped edges, so they cannot answer the question a domain expert actually asks: which relation type drives this prediction? We present RA...

Yu-Xi Yao, Zi-Jun Zhao · 0 citations
Conference Sep 2026

Aggregating Duplicate Edges in Text-Derived Knowledge Graphs

Large language models augmented with external knowledge produce more factual and context-rich answers. We present a domain-agnostic framework that transforms unstructured textual evidence into a consolidated knowledge graph, in which nodes are concepts with metadata and edges are statements with structured attributes....

Illia Dagil, I. Vergunova · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.