arXiv:2611.04751cs.LGNov 2026

Manuscript Offprint

arXiv:2611.04751

What Does It Mean to Remove an Edge? Intervention-Aware Fidelity for Graph Neural Network Explanations

Rocco Mattia Di Mauro, Marco Grassia, Giuseppe Mangioni

ABSTRACT

Graph neural network explanations are often evaluated via deletion fidelity, i.e., by deleting their top-ranked edges and measuring the resulting change in model output. Yet, in a message-passing GNN, “deleting an edge” does not specify a unique intervention. Structural deletion removes the edge from the graph and recomputes quantities such as degree normalization and attention, whereas message suppression leaves this structural context intact while blocking the message carried by the edge. The meaning of deletion fidelity therefore depends on what the intervention targets in the model computation. We formalize this distinction and derive sufficient conditions for exact equivalence. The two interventions coincide for additive message passing with edge-set-independent coefficients, but can diverge when aggregation depends on the presence of zero messages or when removing an edge changes the coefficients applied to surviving messages. We then construct intervention-specific edge attributions and evaluate each resulting ranking under both interventions, testing whether their relative fidelity changes with the evaluation intervention. Across nine datasets and a panel of GIN, GCN, and GATv2 models at depths 2–5, all nine GIN controls satisfy the equivalence predicted by the theory. On the target logit, the relative fidelity of the two rankings depends on the evaluation intervention in 10 of 11 reportable GCN and GATv2 cells, and in nine of them each ranking has the larger deletion area under the intervention it was built with. Deletion fidelity is thus not a property of an edge ranking alone. Evaluation protocols should explicitly report the intervention, output functional, target, and perturbation unit, and test alternative intervention semantics when the scientific question does not uniquely determine one.

1 INTRODUCTION

Graph Neural Networks (GNNs) have emerged as the dominant paradigm for learning from relational data. As their adoption continues to grow, explaining their predictions remains a significant challenge. The most common answer is an edge-level attribution: a score per edge that ranks how much each connection contributes to the model output, from which an explanation subgraph can be extracted. Yet, an attribution is meaningful only relative to a question about the model. Fidelity metrics pose such questions by removing edges. Sufficiency asks whether the top-ranked edges preserve the model prediction when all the others are removed, whereas deletion fidelity asks how the prediction changes as top-ranked edges are removed. Both require no ground-truth explanation, but the word “removed” leaves the intervention unspecified.

Structural deletion changes the edge set and therefore every quantity computed from it, from node degrees and neighborhoods to degree normalization in GCN (Kipf & Welling, 2017) or attention in GAT layers (Veličković et al., 2018). By contrast, message-channel suppression keeps the edges but zeroes the selected transmitted messages. Both interventions suppress the selected direct messages,

*Equal contribution.

(a) Two interventions on the same arcs U={(a,v),(b,v)}U=\{(a,v),(b,v)\}

Figure

degree-normalizedGIN, sum
GG13(ψa+ψb+ψc)\frac{1}{3}(\psi_a + \psi_b + \psi_c)ψa+ψb+ψc\psi_a + \psi_b + \psi_c
TST_Sψc\psi_cψc\psi_c
TMT_M13ψc\frac{1}{3}\psi_cψc\psi_c
gap Δv\Delta_v23ψc\frac{2}{3}\psi_c0 (control)

aggregate received by v

(b) Construction ×\times evaluation of deletion fidelity

Figure

Figure 1: Removing an edge can mean two different interventions, and both the explainer and the evaluator choose one. (a) Structural deletion TST_S removes the arcs UU into vv (teal) from the graph and recomputes the coefficients of the arcs that survive; message-channel suppression TMT_M sets the messages on UU to zero and keeps every coefficient. In a degree-normalized layer, cuv=1/∣N(v)∣c_{uv} = 1/|\mathcal{N}(v)| with the self-loop omitted, so the surviving arc (c,v)(c, v) has coefficient 1 under TST_S and 1/31/3 under TMT_M. The table gives the aggregate received by vv, where ψu\psi_u is the message from uu. The gap between the TST_S and TMT_M rows is Δv\Delta_v of Equation 2. It vanishes under sum aggregation with unit coefficients (GIN, Proposition 1), which makes GIN a control. (b) An explainer built with TST_S or TMT_M scores the arcs (illustrative values), and sorting the scores gives the ranking rSr_S or rMr_M. Each ranking is evaluated under both interventions by removing its top-q prefix Uq(r)U_q(r). FOPF_{OP} is the deletion fidelity of the ranking built with TOT_O and evaluated with TPT_P, i.e., the area under the output-change curve as qq grows. Shaded boxes are the matched pairs, in which construction and evaluation use the same intervention. Each contrast compares the two rankings within one evaluation column, and their sum is the interaction D=CS+CMD = C_S + C_M.

but they can change the contributions of surviving edges differently. This ambiguity enters twice: an explainer may use one intervention to construct a ranking, while the evaluator may use either intervention to score it (Figure 1).

We ask whether the intervention an explainer uses to build its ranking interacts with the intervention used to evaluate it, and we make four contributions. First, we give sufficient conditions for the two interventions to coincide, namely an aggregator that absorbs zero messages and coefficients that do not depend on the edge set (Section 3). GIN satisfies both, GCN and GATv2 violate the second, and mean aggregation violates the first. With a sum aggregator, the first-layer gap is carried entirely by the renormalized surviving messages. Second, we cross the two interventions in a construction-by-evaluation design, whose two matched contrasts and interaction are estimated with training seeds as clusters and with GIN as a built-in control (Section 5). Third, we apply the design to edge Integrated Gradients on 22 dataset-backbone combinations, which we call cells (Section 7). All nine GIN controls agree to within 10−510^{-5} on the target logit, as the theory predicts. On the same functional, the interaction is positive in 10 of the 11 reportable GCN and GATv2 cells, and in nine of them each ranking has the larger deletion area under the intervention it was built with. The verdict can change with the output functional and with the perturbation unit. Fourth, we repeat the crossing with GNNExplainer on the same 11 cells. A fixed learned ranking scores differently under the two interventions in seven cells on the target logit, but in only four does each learned mask have the larger deletion area under its own intervention, and restarts of the explainer often disagree, so this analysis is exploratory. We do not claim that either intervention is the correct one, that a larger deletion area means a better explanation, or that our results rank explainers. We recommend reporting fidelity together with its intervention, output functional, target and perturbation unit, and crossing the two interventions whenever the scientific question does not fix one.

References (35)