Manuscript Offprint

arXiv:2609.37667

Where Privacy Belongs: Placement Diagnosis and Certified Selection for Private Counterfactual Explanations on Graphs

Yuxiang Yao, Zijun Zhao

ABSTRACT

Counterfactual explanations for graph neural networks (GNNs) find the minimal intervention that flips a node's prediction—the gold standard of recourse—but computing one requires reading sensitive graph structure, and releasing it discloses that structure. The two existing placements both fail. Privatizing the graph before explaining corrupts the explanation target on exactly the borderline nodes that need recourse, manufacturing spurious flips: interventions that flip the privatized graph but not the true one. Explaining on the clean graph and perturbing the released explanation resists certification: our re-audit of the standard heuristic shows that its implied full-release budget reaches 573–753 on Cora and 256 on CiteSeer—orders of magnitude beyond its advertised per-entry budget—with worst-case single-entry leakage at AUC 1.0. We propose PRIVCFS, which replaces certification-by-optimization with certification-by-construction: counterfactual selection over a fixed, data-independent candidate universe—edge interventions from a public prior graph, feature interventions from a public schema, with no-op semantics so that every neighboring graph shares the same output support. A validity-gated, clipped utility whose global sensitivity bound Δu≤1\Delta u \leq 1 requires no optimizer sensitivity analysis is released through the exponential mechanism, giving pure ε\varepsilon-DP for the complete released object, composable over queries—to our knowledge the first such guarantee for counterfactual explanations on graphs. Empirically, privacy noise is the cheapest stage of the pipeline: the sampled release retains 94–97% of its support-restricted non-private optimum on the recourse population and 83–95% on the general population at ε=8\varepsilon=8; the optimal likelihood-ratio edge-inference audit attains AUC 0.50 on average and 0.59 in the worst pair, against the heuristic baseline's worst entry of 1.0 under the same attack; and the mechanism transfers to a 15K-node graph with a 0.96 valid rate at ε=8\varepsilon=8. The dominant cost is instead a measurable, monotone price in public disclosure, readable off one table before any budget is spent—turning explanation privacy from an accounting risk into a purchasable decision for the data owner.

1 INTRODUCTION

Graph neural networks (GNNs) have become the default machinery for learning on relational data—social networks, molecular graphs, financial transaction graphs—much of which is inherently sensitive (Kipf & Welling, 2017). When such models support consequential decisions, counterfactual explanations are the gold standard of recourse: they answer “what minimal change to the input would have flipped the prediction?” (Wachter et al., 2018). On graphs, counterfactual explainers search for a minimal intervention—deleting a few edges or masking a few features of the target node—that flips the GNN’s prediction (Lucic et al., 2022; Bajaj et al., 2021). A counterfactual explanation, however, is only as private as the data it reads: to certify which edges matter, the explainer must inspect the target node’s neighborhood, and the released explanation itself (which edges were deleted, which

∗^{*}Equal contribution.

†^{\dagger}Corresponding author.

features were masked) then discloses structure the data owner considers sensitive. Graph-structure leakage is a demonstrated, practical threat: influence-based attacks such as LinkTeller recover private edges from model behavior (Wu et al., 2022), and released explanations amplify model-inversion attacks (Zhao et al., 2021).

The natural fix suggested by the differential-privacy literature (Dwork & Roth, 2014) is to privatize the data before explaining—add calibrated noise to the adjacency, then run an off-the-shelf explainer. This graph-level placement fails in a diagnosable way: DP noise changes the predictions of exactly the low-margin (borderline) nodes on which recourse is sought, and the explainer then optimizes a flip against a corrupted target, producing spurious flips—interventions that flip the prediction on the privatized graph but not on the true one. The explanation is privately “correct” and publicly wrong (Sec. 3.2).

The mirror-image placement—explain on the clean graph, privatize the released explanation—keeps the target intact but resists certification: the released object is the output of a non-convex optimization whose sensitivity to a one-edge change admits no tractable global bound. The standard fix, a per-entry sensitivity assumption, yields an attractive per-entry budget ( ε≈7.2\varepsilon\approx7.2) but does not certify the release: the mechanism publishes the whole vector, and our re-audit of this exact design measures full-release budgets of 573–753 (Cora) / 256 (CiteSeer), with the removed edge’s own entry fully informative on the worst adjacent pair (entry AUC 1.0; App. A). DP is a worst-case guarantee, and ≈8−9%\approx8-9\% of adjacent pairs land in different optimizer basins: heuristic output perturbation is, at best, a randomized release without a guarantee.

In this paper we propose a placement that is certifiable by construction: instead of explaining through an optimizer and perturbing its output, we select the explanation from a fixed, data-independent candidate universe and release the selection through the exponential mechanism (McSherry & Talwar, 2007). PRIVCFS (Private CounterFactual Selection) draws edge candidates from a public prior graph and feature candidates from a public schema, scores them with a validity-gated, clipped utility of global sensitivity Δu≤1\Delta u \leq 1, and releases one intervention set sampled with probability ∝exp⁡(εu/2Δu)\propto \exp(\varepsilon u/2\Delta u); deleting a nonexistent edge is a no-op, so every neighboring graph shares the same output support, and the release is pure ε\varepsilon-DP for the complete output, composable over queries. Our main contributions are:

• A placement principle for private graph explanations. We formalize graph-level DP (privatize the adjacency, then explain) versus explanation-level DP (explain on the clean graph, privatize the release), identify prediction pollution and spurious flips as the two channels through which the former corrupts counterfactual reasoning, and show that heuristic output perturbation is not certifiable at its advertised budget (App. A); at equal operation space the placement gap is the entire utility (Sec. 4.4).

• PRIVCFS. A certified private counterfactual selector on a data-independent output support: public-prior edge candidates plus public-schema feature candidates, a validity-gated utility with a provable global sensitivity bound, and an exact exponential-mechanism release that is pure ε\varepsilon-DP for the complete released object, with a utility guarantee and composition over queries (Secs. 3.3–3.5).

• The privacy–utility frontier as a purchasable price list. At ε=8\varepsilon=8, PRIVCFS retains 83–97% of its support-restricted non-private optimum—privacy noise is the cheapest stage of the pipeline—while the dominant cost is a measurable, monotone price in public disclosure, readable off one table before any budget is spent. A likelihood-ratio edge-inference audit attains AUC 0.50 (max 0.59) against the heuristic baseline’s worst entry of 1.0, and the mechanism transfers to a 15K-node core with a 0.96 valid rate (Sec. 4).

References (57)