arXiv:2608.29360cs.LGAug 2026

Manuscript Offprint

arXiv:2608.29360

Spatial Entropy based Partitioning for Spatiotemporal Graph Unlearning

Qiming Guo, Wenbo Sun, Ye Wang, Wenlu Wang

Qiming Guo †^{\dagger}

Wenbo Sun ∗^{*}

Ye Wang †^{\dagger}

Wenlu Wang ‡^{\ddagger}

Abstract. Spatiotemporal graphs underpin applications such as traffic forecasting, weather forecasting, and healthcare monitoring. Privacy regulations such as the GDPR and the CCPA require the complete removal of unauthorized data from trained models, but achieving this on a spatiotemporal graph is difficult: because information propagates globally through both spatial and temporal message passing, fully erasing a node's influence forces costly full-graph retraining. ST-graph unlearning requires both exactness and efficiency. We propose IsleNet, which uses spatial-entropy-guided partitioning to create balanced, locally coherent subgraphs and reconnects them with lightweight virtual edges. Upon an unlearning request, only the affected subgraph encoder and virtual-edge layer are retrained, ensuring exact removal with low cost. Experiments on four real-world benchmarks show that IsleNet attains up to 94% of full-graph accuracy while reducing unlearning time by up to an order of magnitude. Our code is publicly available at https://github.com/wenlu-lab/STGraphUnlearning.

Key words: machine unlearning, graph unlearning, spatiotemporal graph unlearning, spatial entropy, graph neural networks, privacy-preserving learning.

1 Introduction. Privacy regulations such as the GDPR [9] and the CCPA [3] grant individuals the right to have their data erased from trained machine learning models. For spatiotemporal graph neural networks (ST-GNNs), which underpin applications from traffic forecasting to healthcare monitoring, honoring such requests is particularly difficult. To fully erase the influence of a requested node, the standard recourse is to retrain the entire ST-graph from scratch, because every node's features propagate globally through both spatial and temporal message passing, and any residual path can leak the deleted data back into the model. But full retraining has two severe consequences (Figure 1.1): it breaks the information-propagation walks that hold the ST-graph together and can even structurally isolate nodes that were never requested for deletion, and it costs as much time and compute as training the original model. Spatiotemporal graph unlearning therefore requires simultaneously meeting two goals: exactness, meaning the deleted data's influence must be completely removed, and efficiency, meaning the process must be fast without sacrificing post-unlearning accuracy.

A natural remedy is to partition the graph into independent subgraphs, train each in isolation, and retrain only affected partitions upon deletion. Spectral clustering [27] groups topologically tight nodes into locally coherent subgraphs (Figure 3.1), letting each encoder exploit dense local message passing. The remaining challenge is balance: if one subgraph collapses to a trivially small cluster its encoder degenerates. We use spatial entropy as the verification criterion, since a well-balanced partition produces subgraphs of comparable entropy, and our normalized partition entropy HˉP\bar{H}_{P} triggers redistribution when balance fails.

We propose IsleNet (Island Network for Unlearning Spatiotemporal Graphs). In Stage 1, the ST-graph is partitioned into M entropy-verified subgraphs using spatial-entropy-guided partitioning, each trained by an independent encoder with gradient-isolated optimizers. In Stage 2, encoders are frozen and lightweight virtual edges are optimized to compensate for severed cross-subgraph dependencies. Because the virtual edges are structurally decoupled from the encoders, an unlearning request only retrains the affected subgraph encoder and the virtual-edge layer, achieving exact localized deletion. This design simultaneously satisfies both exactness and efficiency on spatiotemporal graphs. Our main contributions are:

  1. Spatial entropy as a partition balance criterion. We propose a new concept “spatial entropy” as a principled measure for verifying that spectral partitioning produces balanced, non-degenerate subgraphs, each preserving dense local connectivity so that its encoder can fully exploit local spatiotemporal correlations.

  2. Virtual edges for decoupled global integration. We design a two-stage training protocol in which independently trained subgraph encoders are connected through lightweight virtual edges. The strict gradient isolation between stages guarantees exact unlearning: retraining is confined to the affected subgraph and the virtual-edge parameters.

  3. Comprehensive empirical validation. Across

*Delft University of Technology, Netherlands (w.sun-2@tudelft.nl).

†^{\dagger}Biogen, Cambridge, MA, USA (ye.wang@biogen.com).

‡^{\ddagger}Texas A&M University - Corpus Christi, Corpus Christi, TX, USA (qguo2@islander.tamucc.edu, wenlu.wang@tamucc.edu).

Figure

Nodes | — Edges | ✗ Unlearning Target | Walk Halo (size = influence, color = walk identity)

Figure 1.1: The challenge of unlearning on spatiotemporal graphs. (a) In a complete ST-graph, walks propagate node influence globally (e.g., v4v_4 reaches v5v_5 via Walk C; v3v_3 lies on Walks A and B). (b) Target nodes are marked for unlearning (UN), blocking every walk through them. (c) After removal, Walk A no longer reaches v1v_1 or v3v_3, Walk B no longer reaches v2v_2, and uninvolved v4v_4 loses all outgoing paths, a structural cascade. (d) Retraining the fragmented graph alters the remaining node features ( v1v_1, v2v_2, v3v_3, v5v_5) and fades the walk halos that encode global context, while costing as much as full training. ST-graph unlearning must therefore be exact (deleted influence fully removed) and efficient (fast without sacrificing post-unlearning accuracy).

four real-world datasets spanning 23 to 3,220 nodes and four ST-GNN backbones, IsleNet attains up to 94% of full-graph accuracy while reducing unlearning time by up to 12×, outperforming five baselines.

2 Related Work. A Spatiotemporal Graph G=(V,E,X)\mathcal{G} = (\mathcal{V}, \mathcal{E}, \mathbf{X}) has NN nodes with adjacency matrix A∈RN×N\mathbf{A} \in \mathbb{R}^{N \times N} and features X∈RT×N×F\mathbf{X} \in \mathbb{R}^{T \times N \times F} spanning TT timesteps. ST-GNNs such as STGCN [27], STGAT [25], and DCRNN [21] couple spatial message passing with recurrent or convolutional temporal operators, producing per-node forecasts. This coupling is precisely what makes unlearning expensive: each node's features propagate through both dimensions, so a single deletion can require full retraining.

General-purpose unlearning falls into two camps. Exact methods retrain affected subsets of the model: SISA [2] partitions data into independent shards so only affected shards are retrained; Ginart et al. [11] derive deletion-efficient k-means variants. Approximate methods modify trained parameters directly: certified removal [13] uses Newton updates with differential-privacy noise, and weight scrubbing [12] perturbs weights along Fisher-information directions. Exact methods offer formal guarantees; approximate methods are faster but lack provable deletion. GraphEraser [4] pioneered graph unlearning through balanced partitioning (BLPA/BEKM) with learned aggregation; GUIDE [26] extends this with fairness-aware dynamic partitioning. GNNDelete [5] avoids partitioning by learning layer-wise deletion operators, while PROJECTOR [6] provides exact deletion for linear GNNs via orthogonal projection. These methods target static graph node classification; none address spatiotemporal forecasting, where temporal message passing amplifies residual influence. For spatiotemporal settings, STEPS [14] applies spectral partitioning with weighted aggregation to ST-GNN forecasting, handling up to 15% node removal with order-of-magnitude speedups, but lacks formal deletion proofs and requires preset partition scales. Graph Revoke [28] unlearns dynamic edges in continuous-time graphs via ML-Mixer gradient transformation, achieving 7.23×7.23 \times speedups on link prediction, but offers no theoretical deletion guarantees and may face scalability bottlenecks.

Information-theoretic measures have a long history in graph analysis [7, 18, 20] and in partition quality assessment [24, 8]. Spatial entropy specifically has been used in geographic information science to measure the evenness of point distributions [1, 19]. To our knowledge, no prior work applies entropy-based criteria to verify partition quality in spatiotemporal graph unlearning.

3 Method. IsleNet partitions the ST-graph into locally coherent subgraphs that preserve dense internal connectivity, with spatial entropy verifying that no subgraph degenerates. Lightweight virtual edges, structurally decoupled from the encoders, compensate for severed long-range dependencies. A two-stage protocol first trains each encoder in isolation, then freezes them and trains only the virtual edges, confining each node's influence to one subgraph so that unlearning retrains only the affected encoder and the virtual-edge layer.

3.1 Problem Formulation. Consider a spatiotemporal graph G=(V,E,X)\mathcal{G} = (\mathcal{V}, \mathcal{E}, \mathbf{X}), where V\mathcal{V} is a set of

Figure

a. Low Spatial Entropy

b. High Spatial Entropy

c. Degenerate Partition

d. Balanced Partition

Figure 3.1: Spatial entropy in IsleNet. Top: Spatial entropy HsH_{s} (Eq. 3.2) quantifies how a subgraph's nodes are distributed across space. (a) Low: nodes concentrate in narrow regions. (b) High: nodes spread uniformly. Bottom: IsleNet uses spatial entropy to verify partition quality: blue and red halos mark the two subgraphs, and the dashed line separates them. (c) A degenerate partition: one subgraph shrinks to a small corner, so IsleNet detects the imbalance and redistributes nodes. (d) A balanced partition: both subgraphs cover comparable spatial extents.

N nodes, E\mathcal{E} encodes edges in a binary adjacency matrix A∈{0,1}N×N\mathbf{A} \in \{0,1\}^{N \times N}, and X∈RT×N×F\mathbf{X} \in \mathbb{R}^{T \times N \times F} contains temporal features of length TT with FF-dimensional features per node. A GNN model fθ:(X,A)↦Yf_{\theta} : (\mathbf{X}, \mathbf{A}) \mapsto \mathbf{Y} predicts future node states Y∈RN×H\mathbf{Y} \in \mathbb{R}^{N \times H} over a horizon HH. The unlearning task is to remove a subset of nodes UN⊂V\mathcal{U}_N \subset \mathcal{V} and their edges UE={(u,v)∈E:u∈UN or v∈UN}\mathcal{U}_E = \{(u, v) \in \mathcal{E} : u \in \mathcal{U}_N \text{ or } v \in \mathcal{U}_N\}, producing a new model fθ′f_{\theta'} that approximates the performance of a model retrained from scratch on the remaining graph G′=(V∖UN,E∖UE,X′)\mathcal{G}' = (\mathcal{V} \setminus \mathcal{U}_N, \mathcal{E} \setminus \mathcal{U}_E, \mathbf{X}').

Formally, given a loss function L\mathcal{L} (e.g., L1 loss), the unlearning objective is:

(3.1)

θ′≈arg⁡min⁡θE(X′,Y′)L(fθ(X′,A′),Y′),\theta^{\prime}\approx\arg\min_{\theta}\mathbb{E}_{(\mathbf{X}^{\prime},\mathbf{Y}^{\prime})}\mathcal{L}(f_{\theta}(\mathbf{X}^{\prime},\mathbf{A}^{\prime}),\mathbf{Y}^{\prime}),

where A′A' is the adjacency matrix of G′G', and X′X', Y′Y' exclude data associated with UNU_N. Following the SISA framework [2], we say that unlearning is exact if the post-unlearning model fθ′f_{\theta'} is statistically indistinguishable from a model retrained from scratch under the same partition and training protocol on G′G'. IsleNet satisfies this condition because gradient isolation (Eq. 3.7) ensures that no encoder parameter outside the affected subgraph was ever influenced by the deleted nodes, and the virtual-edge layer is re-initialized and re-trained on the remaining data.

3.2 IsleNet Architecture. IsleNet decomposes the graph into M independent subgraphs and integrates them via a virtual edge mechanism to balance local isolation and global information flow. The architecture comprises three components: spatial-entropy-guided partitioning, subgraph-independent spatiotemporal encoding, and virtual edges.

3.2.1 Spatial-Entropy-Guided Partitioning. We partition G\mathcal{G} into MM disjoint subgraphs {G1,…,GM}\{\mathcal{G}_1, \ldots, \mathcal{G}_M\}, where Gi=(Vi,Ei,Xi)\mathcal{G}_i = (\mathcal{V}_i, \mathcal{E}_i, \mathbf{X}_i), Vi∩Vj=∅\mathcal{V}_i \cap \mathcal{V}_j = \emptyset for i≠ji \neq j, and ⋃iVi=V\bigcup_i \mathcal{V}_i = \mathcal{V}. A key insight of IsleNet is that locally coherent subgraphs with dense internal connectivity allow each encoder to fully exploit spatiotemporal correlations through GCN message passing. However, the partition must also be balanced: no subgraph should degenerate to a trivially small or collapsed cluster. We use spatial entropy to formalize and verify this balance property.

We define Spatial Entropy by discretizing the spatial domain of G\mathcal{G} into RR non-overlapping regions (e.g., grid cells based on node coordinates). For any node subset V′⊆V\mathcal{V}' \subseteq \mathcal{V}, let pr(V′)=∣{v∈V′:sv∈region r}∣/∣V′∣p_r(\mathcal{V}') = |\{v \in \mathcal{V}' : \mathbf{s}_v \in \text{region } r\}| / |\mathcal{V}'| denote the fraction of nodes falling in region rr. The spatial entropy of V′\mathcal{V}' is defined as:

(3.2)

Hs(V′)=−∑r=1Rpr(V′)log⁡pr(V′),H_{s}(\mathcal{V}^{\prime})=-\sum_{r=1}^{R}p_{r}(\mathcal{V}^{\prime})\log p_{r}(\mathcal{V}^{\prime}),

where 0log⁡0≜00 \log 0 \triangleq 0. The maximum entropy Hsmax⁡=log⁡RH_s^{\max} = \log R is attained when nodes are uniformly distributed across all regions.

For a partition P={V1,…,VM}\mathcal{P} = \{\mathcal{V}_1, \ldots, \mathcal{V}_M\}, we define the partitioning entropy as the minimum spatial entropy across all subgraphs, together with its normalized form:

(3.3)

HP=min⁡i∈{1,…,M}Hs(Vi),(3.4)H_{\mathcal{P}}=\min_{i\in\{1,\ldots,M\}}H_{s}(\mathcal{V}_{i}), \tag{3.4} HˉP=HPHs(V).\bar{H}_{\mathcal{P}}=\frac{H_{\mathcal{P}}}{H_{s}(\mathcal{V})}.

HˉP\bar{H}_{\mathcal{P}} ranges from 0 (a degenerate partition where one subgraph has collapsed) to 1 (all subgraphs have comparable spatial extent). We accept a partition when HˉP≥1−ϵ\bar{H}_{\mathcal{P}} \geq 1 - \epsilon; otherwise balanced redistribution is triggered (detailed below).

IsleNet seeks a partition that minimizes inter-subgraph edge cuts (preserving local connectivity) subject to balance constraints verified by partition entropy:

(3.5)

min⁡P∑i=1M∑u∈Viv∉ViAuvs.t.∣∣Vi∣−NM∣≤δ,HˉP≥1−ϵ,\min_{\mathcal{P}}\sum_{i=1}^{M}\sum_{\substack{u\in\mathcal{V}_{i}\\ v\notin\mathcal{V}_{i}}}\mathbf{A}_{u v}\quad\mathrm{s.t.}\quad\left|\left|\mathcal{V}_{i}\right|-\frac{N}{M}\right|\leq\delta,\bar{H}_{\mathcal{P}}\geq1-\epsilon,

Figure

Figure 3.2: Framework of IsleNet. (a) The original graph. (b) Split into smaller subgraphs, each with its own encoder. (c) Virtual edges (green) reconnect subgraphs; on a deletion request, edges touching the target are marked for removal (RM). (d) Only the affected subgraph is retrained and virtual edges are rebuilt; other subgraphs stay untouched. How it works: Spatial entropy guides the split so no subgraph degenerates. Each encoder trains in isolation, and virtual edges stitch subgraphs back together. To unlearn, IsleNet retrains only the affected encoder and rebuilds the virtual edges from scratch. Untouched subgraphs keep their weights, making unlearning fast and exact.

where δ\delta controls size tolerance and HˉP\bar{H}_{\mathcal{P}} (defined in Eq. 3.4) is the normalized partition entropy. Algorithmically, we first run spectral clustering on the graph Laplacian L=D−A\mathbf{L} = \mathbf{D} - \mathbf{A} with balance constraint ∣Vi∣≈N/M|\mathcal{V}_i| \approx N/M, producing an initial partition P(0)\mathcal{P}^{(0)}. We then compute HˉP(0)\bar{H}_{\mathcal{P}^{(0)}} over a discretized grid on the node coordinates. If HˉP(0)≥1−ϵ\bar{H}_{\mathcal{P}^{(0)}} \geq 1 - \epsilon the partition is accepted; otherwise, a balanced redistribution procedure (below) is invoked to produce a spatially non-degenerate partition. We use ϵ=0.1\epsilon = 0.1 throughout.

When HˉP(0)<1−ϵ\bar{H}_{\mathcal{P}^{(0)}} < 1 - \epsilon, we iteratively rebalance: at each step, we identify the subgraph Vi∗\mathcal{V}_i^* with the lowest spatial entropy, select the node farthest (in Euclidean distance) from its centroid, and reassign it to the subgraph with highest entropy among those with ∣Vj∣<N/M+δ|\mathcal{V}_j| < N/M + \delta; then recompute HˉP\bar{H}_{\mathcal{P}}. The procedure terminates when HˉP≥1−ϵ\bar{H}_{\mathcal{P}} \geq 1 - \epsilon or after three iterations; on failure we fall back to a size-balanced random partition. To quantify balance across subgraphs beyond the minimum criterion, we also monitor the entropy variance σH2=1M∑i=1M(Hs(Vi)−Hˉs)2\sigma_H^2 = \frac{1}{M} \sum_{i=1}^M (H_s(\mathcal{V}_i) - \bar{H}_s)^2, where Hˉs=1M∑iHs(Vi)\bar{H}_s = \frac{1}{M} \sum_i H_s(\mathcal{V}_i). A partition is spatially adequate if both HP≥1−ϵH_{\mathcal{P}} \geq 1 - \epsilon (non-degeneracy) and σH2≤τ\sigma_H^2 \leq \tau (low imbalance). IsleNet's spectral clustering with balance constraints satisfies both on all benchmarks with ϵ≤0.1\epsilon \leq 0.1 and τ≤0.01\tau \leq 0.01.

PROPOSITION 3.1 (Representational Fidelity). If a partition P\mathcal{P} satisfies Hs(Vi)≥Hs(V)−ϵH_s(\mathcal{V}_i) \geq H_s(\mathcal{V}) - \epsilon for all i, then each subgraph Gi\mathcal{G}_i occupies at least a fraction (1−ϵ)(1 - \epsilon) of the spatial regions of G\mathcal{G}, so no subgraph is spatially degenerate and every encoder receives a non-trivial portion of the graph's extent.

Proof. Let Ri=∣{r:pr(Vi)>0}∣R_i = |\{r : p_r(\mathcal{V}_i) > 0\}|. Since Hs(Vi)≤log⁡RiH_s(\mathcal{V}_i) \leq \log R_i, we have Ri≥eHs(Vi)≥eHs(V)−ϵR_i \geq e^{H_s(\mathcal{V}_i)} \geq e^{H_s(\mathcal{V}) - \epsilon}. When V\mathcal{V} approximately uniformly covers R+R^+ occupied regions, Hs(V)≈log⁡R+H_s(\mathcal{V}) \approx \log R^+, so Ri/R+≥e−ϵ≥1−ϵR_i/R^+ \geq e^{-\epsilon} \geq 1 - \epsilon.

THEOREM 3.2 (Post-Unlearning Entropy Bound). Under a spatially adequate partition P, removing a fraction γi=∣UN∩Vi∣/∣Vi∣\gamma_i = |\mathcal{U}_N \cap \mathcal{V}_i| / |\mathcal{V}_i| of nodes from Vi\mathcal{V}_i yields Hs(Vi∖UN)≥Hs(Vi)−γilog⁡RH_s(\mathcal{V}_i \setminus \mathcal{U}_N) \geq H_s(\mathcal{V}_i) - \gamma_i \log R, so the retrained subgraph preserves enough spatial coverage for small-fraction unlearning.

Proof. Removing γi∣Vi∣\gamma_i|\mathcal{V}_i| nodes reduces entropy by at most γilog⁡R\gamma_i \log R (the information content of uniformly-distributed removed nodes). Combined with Hs(Vi)≥(1−ϵ)Hs(V)H_s(\mathcal{V}_i) \geq (1-\epsilon)H_s(\mathcal{V}), the post-unlearning entropy remains close to Hs(V)H_s(\mathcal{V}) for small γi\gamma_i.

3.2.2 Subgraph-Independent Spatiotemporal Encoding. Each subgraph Gi\mathcal{G}_i is processed by a dedicated encoder fθif_{\theta_i} (e.g., STGCN), taking features Xi∈RB×T×∣Vi∣×F\mathbf{X}_i \in \mathbb{R}^{B \times T \times |\mathcal{V}_i| \times F} and edge index Ei⊆Ei\mathbf{E}_i \subseteq \mathcal{E}_i, producing embeddings Hi∈RB×∣Vi∣×H\mathbf{H}_i \in \mathbb{R}^{B \times |\mathcal{V}_i| \times H}:

(3.6)

Hi=fθi(Xi,Ei).\mathbf{H}_{i}=f_{\theta_{i}}(\mathbf{X}_{i},\mathbf{E}_{i}).

The encoder applies graph convolutions for spatial modeling and recurrent units for temporal modeling, outputting per-node predictions. Independence is ensured by gradient isolation:

(3.7)

∂Li∂θj=0∀i≠j,\frac{\partial\mathcal{L}_{i}}{\partial\theta_{j}}=0\quad\forall i\neq j,

where Li\mathcal{L}_i is the loss on subgraph ii. Isolation is enforced mechanically: each encoder fθif_{\theta_i} has its own Adam optimizer operating on a disjoint parameter group, and Li\mathcal{L}_i is computed only from (Xi,Ei,yi)(\mathbf{X}_i, \mathbf{E}_i, \mathbf{y}_i), so the computation graph for encoder j≠ij \neq i is never instantiated during a step that updates encoder ii. Consequently, no parameter in θj\theta_j can depend on any node in Vi\mathcal{V}_i, which is the prerequisite for exact localized unlearning.

Gradient Isolation Bound. For a deletion fraction γ=∣UN∣/N\gamma = |\mathcal{U}_N|/N, the post-unlearning loss satisfies Lunlearn≤Lorig+O(γ∑i∈SaffectedLi)\mathcal{L}_{\text{unlearn}} \leq \mathcal{L}_{\text{orig}} + O(\gamma \sum_{i \in \mathcal{S}_{\text{affected}}} \mathcal{L}_i), ensuring minimal error increase since ∣Saffected∣≤M|\mathcal{S}_{\text{affected}}| \leq M.

3.2.3 Virtual Edge Construction. To restore global connectivity lost during partitioning, we introduce virtual edges comprising intra-subgraph and inter-subgraph connections, which aggregate information via attention-based embeddings. In principle, virtual edges can be parameterized by any network designed for information summarization; in this work, we adopt a multilayer perceptron.

For each subgraph Gi\mathcal{G}_i, we select the top ki=max⁡(2,⌈0.1⋅∣Vi∣⌉)k_i = \max(2, \lceil 0.1 \cdot |\mathcal{V}_i| \rceil) structurally influential nodes Ki\mathcal{K}_i using PageRank centrality [23]. The PageRank vector p∈R∣Vi∣\mathbf{p} \in \mathbb{R}^{|\mathcal{V}_i|} is computed via the standard power iteration with damping factor α\alpha, and the key node set is:

(3.8)

Ki=TopK(p,ki).\mathcal{K}_{i}=\mathrm{T o p K}(\mathbf{p},k_{i}).

These key nodes serve as endpoints for the virtual edges that restore cross-subgraph information flow.

Each virtual edge aggregates embeddings from a set of key nodes Ksrc\mathcal{K}_{\mathrm{src}} via scaled dot-product attention followed by an MLP. Let HK∈RB×n×D\mathbf{H}_{\mathcal{K}} \in \mathbb{R}^{B \times n \times D} collect the embeddings of nn selected key nodes. The virtual-edge feature is computed as:

(3.9)

W=softmax(HKHK⊤D),(3.10)\mathbf{W}=\mathrm{softmax}\left(\frac{\mathbf{H}_{\mathcal{K}}\mathbf{H}_{\mathcal{K}}^{\top}}{D}\right), \tag{3.10} hb=MLP(flatten(WHK)),\mathbf{h}_{b}=\mathrm{M L P}(\mathrm{f l a t t e n}(\mathbf{W}\mathbf{H}_{\mathcal{K}})),

where MLP : RnD→RDb\mathbb{R}^{nD} \to \mathbb{R}^{D_b} is a two-layer network with ReLU activation. We instantiate two types of virtual edges: intra-subgraph edges that connect the top-2 key nodes within each subgraph (n=2, yielding M edges), and inter-subgraph edges that connect the top-3 key nodes from each pair of subgraphs (n=6, yielding (M2)\binom{M}{2} edges). The total number of virtual edges is M+(M2)M + \binom{M}{2}. The top-2/top-3 choice is a parameter-efficiency trade-off: the (M2)\binom{M}{2} inter-subgraph edges dominate the parameter budget, so a larger receptive field there (six key nodes) is more impactful than widening the M intra-subgraph edges.

Virtual-edge features are aggregated residually:

(3.11)

Henhanced=H+β∑b∈BPbProj(hb),\mathbf{H}^{\mathrm{e n h a n c e d}}=\mathbf{H}+\beta\sum_{b\in\mathcal{B}}\mathbf{P}_{b}\mathrm{P r o j}(\mathbf{h}_{b}),

where H=[H1;…;HM]∈RB×N×D\mathbf{H} = [\mathbf{H}_1; \ldots; \mathbf{H}_M] \in \mathbb{R}^{B \times N \times D} concatenates subgraph embeddings, Proj : RDb→RD\mathbb{R}^{D_b} \to \mathbb{R}^D is a linear layer, β>0\beta > 0 is a residual scaling factor tuned on a validation set to balance local and global contributions (we use β=0.1\beta = 0.1 throughout), and Pb∈{0,1}N×1\mathbf{P}_b \in \{0, 1\}^{N \times 1} maps virtual edge bb to its connected nodes. This approximates A\mathbf{A} with a low-rank structure, ensuring efficient global information flow.

The attention weights W\mathbf{W} (Eq. 3.9) are row-stochastic with ∥W∥2≤1\|\mathbf{W}\|_2 \leq 1, ensuring stable information propagation. The M+(M2)M + \binom{M}{2} virtual edges approximate the full adjacency A\mathbf{A} with only O(M2)O(M^2) parameters, maintaining global connectivity at low cost.

3.3 Two-Stage Training Protocol. Stage 1 trains each encoder fθif_{\theta_i} independently to minimize an L1L_1 loss on its own subgraph:

(3.12)

Li=1B∑b∑v∈Vi∥yi,b,v−fθi(Xi,b,Ei)v∥1.\mathcal{L}_{i}=\frac{1}{B}\sum_{b}\sum_{v\in\mathcal{V}_{i}}\|\mathbf{y}_{i,b,v}-f_{\theta_{i}}(\mathbf{X}_{i,b},\mathbf{E}_{i})_{v}\|_{1}.

Stage 2 freezes all encoders and trains only the virtual edges on a full-graph L1L_{1} loss with L2L_{2} regularization: (3.13)

Lve=1B∑b∑v∈V∥yb,v−IsleNet(Xb,E)v∥1+λ∥Wve∥22.\mathcal{L}_{\mathrm{v e}}=\frac{1}{B}\sum_{b}\sum_{v\in\mathcal{V}}\|\mathbf{y}_{b,v}-\mathrm{I s l e N e t}(\mathbf{X}_{b},\mathbf{E})_{v}\|_{1}+\lambda\|\mathcal{W}_{\mathrm{v e}}\|_{2}^{2}.

Freezing preserves subgraph gradient isolation while virtual edges learn global connectivity.

3.4 Efficient Unlearning Protocol. Unlearning localizes retraining to affected subgraphs. Given UN\mathcal{U}_N, we identify:

(3.14)

Saffected={i:Vi∩UN≠∅}.\mathcal{S}_{\mathrm{a f f e c t e d}}=\{i:\mathcal{V}_{i}\cap\mathcal{U}_{N}\neq\emptyset\}.

Virtual edges connected to UN\mathcal{U}_N are removed:

(3.15)

Bnew={b∈B:Kb∩UN=∅},\mathcal{B}^{\mathrm{n e w}}=\{b\in\mathcal{B}:\mathcal{K}_{b}\cap\mathcal{U}_{N}=\emptyset\},

and rebuilt using Eq. (3.9)–(3.10). For each i∈Saffectedi \in \mathcal{S}_{\text{affected}}, retrain fθif_{\theta_i} on Vi∖UN\mathcal{V}_i \setminus \mathcal{U}_N:

(3.16)

θinew=arg⁡min⁡θLi(θ,Xi′,Ei′,yi′).\theta_{i}^{\mathrm{n e w}}=\arg\min_{\theta}\mathcal{L}_{i}(\theta,\mathbf{X}_{i}^{\prime},\mathbf{E}_{i}^{\prime},\mathbf{y}_{i}^{\prime}).

Encoders are frozen, and virtual edges are re-optimized using Eq. (3.13). Finally, encoders are unfrozen to enable future fine-tuning, ensuring flexibility without compromising the unlearned state.

Algorithm 1: IsleNet Training and Unlearning

1: Input: G=(V,E,X)\mathcal{G} = (\mathcal{V}, \mathcal{E}, \mathbf{X}), partitions MM, forget nodes UN\mathcal{U}_N

2: // Training

3: Partition G\mathcal{G} into {Gi}i=1M\{\mathcal{G}_i\}_{i=1}^M via spectral clustering (Eq. 3.5)

4: If HˉP<1−ϵ\bar{H}_{\mathcal{P}} < 1 - \epsilon, apply balanced redistribution

5: For each i: train fθif_{\theta_i} (Eq. 3.12); select Ki\mathcal{K}_i via PageRank

6: Construct B\mathcal{B} via attention + MLP (Eq. 3.9–3.10)

7: Freeze {fθi}\{f_{\theta_i}\}; optimize B\mathcal{B} (Eq. 3.13)

8: // Unlearning

9: Identify Saffected\mathcal{S}_{\text{affected}} (Eq. 3.14)

10: Drop B\mathcal{B} edges incident to UN\mathcal{U}_N

11: For each i∈Saffectedi \in \mathcal{S}_{\text{affected}}: retrain fθif_{\theta_i} on Vi∖UN\mathcal{V}_i \setminus \mathcal{U}_N

12: Re-initialize and re-train Bnew\mathcal{B}^{\text{new}} with frozen encoders (Eq. 3.13)

13: Output: Unlearned IsleNet

4 Experiments. We assess IsleNet on: 1) accuracy parity with a full-graph model (Scratch) before deletion; 2) resilience after erasure of a chosen node/edge subset; and 3) component and efficiency analysis via ablations plus timing and memory profiling on large graphs.

References (21)