NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Online Learning with Certified Unlearning over Graphs

Ruijie Du, Yanning ShenNeurIPS 2026

TL;DR

Real-world graphs—like social networks and financial webs—constantly grow while users simultaneously demand their data be erased. Instead of halting everything to retrain a model from scratch, this paper introduces OLUG, a framework that learns from streaming graph data while mathematically guaranteeing the erasure of requested nodes, edges, or features on the fly. It achieves accuracy right on par with full retraining without losing its footing as an online learner.

What Problem Does This Paper Address?

Imagine trying to build a jigsaw puzzle while someone hands you new pieces and occasionally demands you rip out pieces you’ve already connected. That is the reality of modern graph-structured machine learning. Data arrives continuously (requiring online learning), and privacy regulations like GDPR allow users to demand their data be deleted at any moment (requiring machine unlearning).

Existing "certified unlearning" methods—which guarantee a model looks statistically indistinguishable from one that never saw the deleted data—almost universally assume an offline, post-training world. You finish training, the model converges, and then you process deletions using the full dataset.

In online graph learning, those assumptions break down completely:

  1. Interleaved updates: Deletions happen mid-flight, long before the model's weights have stabilized.
  2. Structural ripple effects: Graphs aren't made of independent data points. Deleting an edge or a node alters neighborhood topologies and sends shockwaves through message-passing pathways.
  3. Partial visibility: An online learner only sees the current incoming batch of data, not the entire historical graph.

Until now, simultaneously achieving effective online learning ("no-regret" performance) and certified unlearning over graphs was an open question.

Methods

To make the math tractable without losing the essence of graph message passing, the authors build their theoretical foundation on Simplified Graph Convolutions (SGC)—essentially a Graph Convolutional Network (GCN) stripped of nonlinear activation functions.

They propose OLUG (Online Learning with Certified Unlearning over Graphs), which operates in a two-stage loop at every time step $t$:

  • Stage 1 (Standard Online Learning): A new batch of graph nodes arrives, and the model updates its weights via standard gradient descent.
  • Stage 2 (Local Second-Order Unlearning): If a deletion request arrives (whether to scrub a node's features, sever an edge, or wipe out an entire node), OLUG performs a retroactive surgical strike.

Standard post-training unlearning uses a Newton-style second-order update (involving the inverse Hessian matrix of the loss) across the whole dataset to approximate retraining. What's novel here is that OLUG estimates both the gradient difference and the Hessian locally, using only the current incoming data batch. Because local, mid-training approximations are naturally noisier than full-graph, post-convergence ones, OLUG injects carefully calibrated Gaussian noise into the update. Drawing from differential privacy principles, this noise masks any residual trace of the deleted data, securing $(\epsilon, \delta)$-certified removal.

Datasets

The authors evaluate node classification across three standard, publicly available graph benchmarks (no new datasets are introduced):

  • Cora: A small citation network (2,708 nodes).
  • Amazon Computers: A medium-scale co-purchase network.
  • ogbn-arxiv: A large-scale citation network from the Open Graph Benchmark.

Key Insights and Ideas

  • Unlearning doesn't ruin online learning: The authors prove that OLUG achieves a cumulative regret of $\mathcal{O}(\log T + n_r)$, where $T$ is time and $n_r$ is the number of deletions. As long as deletions are sublinear ($n_r = o(T)$), the average regret approaches zero. You get certified privacy for merely an additive cost.
  • Graph anatomy dictates privacy noise: How much noise do you need to hide a deletion? The authors' bounds reveal fascinating structural sensitivities based on $K$ (how many hops messages travel) and $d_m$ (the degree of the deleted node):
  • Node feature removal sensitivity scales with node degree ($d_m^2$), because a hub node's features leak into many neighbors—remarkably, independent of $K$.
  • Edge removal sensitivity depends only on propagation depth ($K$), not node degree.
  • Full node removal is the hardest case, amplifying sensitivity by both degree and depth: $K(2d_m - 1)$.
  • Early unlearning requires louder noise: Because an online model hasn't converged yet, its weights aren't sitting neatly at the global minimum. The math explicitly accounts for this distance, requiring slightly more noise early on—which naturally shrinks if you give the model a brief "warm-start" phase.

Key Results

Across all three datasets and deletion types, OLUG closely tracks the test accuracy of full retraining from scratch and CEU (a post-training graph unlearning baseline), while avoiding the massive computational bottleneck of retraining.

Test accuracy on Computers during node feature unlearning

As seen above on the Computers dataset (and similarly on ogbn-arxiv below), OLUG rapidly warms up and maintains steady test accuracy across thousands of sequential removals. Meanwhile, the post-training baseline CEU requires frequent full-retraining interventions on large datasets just to keep up.

Test accuracy on ogbn-arxiv during edge unlearning

Quantitatively, when evaluating accuracy specifically on the targeted nodes after unlearning (to verify the model actually forgot them relative to a standard online learner):

  • Node Feature Unlearning: OLUG drops accuracy on forgotten nodes from 81.60% to 79.73% on Cora, and from 72.83% to 68.07% on Computers.
  • Edge Unlearning: Individual edges carry less sway over global representations; test accuracy is rock-solid, with target-node accuracy shifting from 56.80% to 55.84% on ogbn-arxiv.
  • Node Unlearning: Reflecting its theoretical difficulty, removing whole nodes causes the sharpest utility drop when removals get extreme (e.g., deleting >700 of Cora's 2,708 nodes degrades all methods, including retraining), while target-node accuracy drops from 49.35% to 46.48% on ogbn-arxiv.

Finally, empirical tests on nonlinear GCN and GraphSAGE architectures show the exact same convergence trends, proving the algorithm works outside its linear SGC sandbox.

Limitations and Future Work

  • Linear theoretical guarantees: While OLUG works empirically on nonlinear GNNs like GCN and GraphSAGE, the formal mathematical proofs for sublinear regret and $(\epsilon, \delta)$-certified unlearning strictly apply to convex losses on linear SGC models.
  • Infrequent deletion assumption: Maintaining "no-regret" learning requires deletion requests to happen less frequently than data arrivals ($n_r = o(T)$). A flood of simultaneous deletions can destabilize learning via accumulated noise.
  • Conservative batch bounds: Because the online learner only sees a small batch rather than the full graph, scaling the local gradient residual up to a full-graph guarantee yields a conservative upper bound—meaning OLUG likely injects more privacy noise than strictly necessary, trading away a slice of model utility. Future work might tighten these local-to-global approximations or extend theoretical certificates to deep, nonlinear architectures.

Summary updated

BibTeX
@inproceedings{du2026online,
  author = {Ruijie Du and Yanning Shen},
  title = {{Online Learning with Certified Unlearning over Graphs}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=Y9ZVSXcXaD},
}
Figure