Graph continual learning keeps backdoors it should forget
Reviewing BadGCL: Towards Persistent Backdoor Attack on Graph Continual Learning Systems · Dong Li, Yufei Han, Xintao Wu et al.

Researchers show a backdoor planted in only the first training task of a graph continual learning system can survive many later updates, because it is shaped to look like the clean signal the system works to preserve. The anti-forgetting machinery meant to protect learned knowledge ends up protecting the attack.
Graph models that keep learning are supposed to forget old poison. A new study shows the opposite. If the poison is shaped right, the system's memory works for the attacker.
The setting is graph continual learning. A graph neural network learns a sequence of tasks over time, such as classifying nodes in a growing graph. The hard part is keeping earlier tasks while learning new ones. So these systems carry anti-forgetting machinery: replaying stored examples, penalising changes to important weights, or setting aside parameters for each task.
Backdoors in this setting have tended to fade. Plant a trigger early and successive updates wash it out. That gave the comfortable impression that continual updates cleanse a model naturally. The researchers behind BadGCL asked whether that was a property of the setting or just of naive triggers.
It is the triggers. Their attack touches only the first task and never interferes again. It learns a small subgraph, a handful of nodes and edges, that flips the prediction when attached to a target. The skill is in how that trigger is optimised. One objective pushes the poisoned gradients to move in step with the gradients from clean training. The other keeps the trigger's effect steady as information spreads from neighbour to neighbour through the network's layers.
Why that works is the clever part. Anti-forgetting mechanisms protect whatever the model learned that agrees with the clean task. If the backdoor looks like part of that signal, it gets protected too. Lowering the clean loss also lowers the backdoor loss, so later benign training has little reason to undo it. The attacker free-rides on the defence against forgetting.
The results hold across replay, regularisation and parameter-isolation designs, in four benchmarks. Against one victim that isolates parameters per task, the backdoor reached 100% attack success with no forgetting at all. Revisiting old tasks, which you would expect to dilute it, can re-consolidate it instead. Clean accuracy stays close to an unpoisoned model, so routine monitoring would see nothing odd. Some of the defences tested did cut attack success, but only by badly damaging clean accuracy.
The preconditions are real. The attacker needs white-box access to the model during that first training window. In practice that means an insider, a compromised training pipeline or a poisoned starting model, not someone feeding in data later. The theory also rests on smoothness assumptions, and the evaluation covers a chosen set of architectures and defences.
None of that changes the lesson. What surprised me is that persistence comes from the victim's own design, not from any ongoing effort by the attacker. A continual learner inherits the integrity of its first task, so that is where provenance and access control matter most. I would not count on later updates to clean anything up. The memory keeps what it was given.
Further analysis
Problem
This paper examines whether backdoor attacks can persist in graph continual learning (GCL) systems and why. Conventional results suggest that continual updates and anti-forgetting mechanisms erode injected backdoors, but the authors show the opposite risk: when a structural trigger is optimised to be compatible with the clean-task optimisation signal and stable under graph message passing, GCL's knowledge-preservation mechanisms can inadvertently consolidate and keep the backdoor across many subsequent tasks. For graph neural networks the threat is amplified because structural triggers alter local message-passing paths and can induce representation shifts that are preserved by continual-learning mechanisms.
Approach
BadGCL is a model-agnostic, early-stage intervention framework that poisons only the first task. The method learns a small subgraph trigger with learnable node features and adjacency logits. Trigger optimisation is performed in three phases: clean pre-training to obtain a reference optimisation signal, trigger optimisation with frozen model parameters using (i) a gradient mutual-information objective that couples poisoned gradients with the clean-task gradient distribution and (ii) a propagation consistency objective that stabilises trigger-induced representation shifts across message-passing depths, and brief poisoning fine-tuning to implant the trigger while preserving clean utility. A structure regulariser controls trigger size and density. The authors provide a theoretical characterisation showing how gradient compatibility and propagation stability reduce the initial loss gap and bound its drift under benign downstream updates. Experiments cover task-incremental and class-incremental protocols, four benchmark datasets, and four representative GCL victim systems.
Key Findings
- Persistent attacks: BadGCL sustains high attack success rate (ASR) across task-IL and class-IL protocols and multiple datasets, substantially outperforming static graph and adapted continual-learning backdoor baselines while keeping clean utility close to benign models.
- Mechanism: The gradient mutual-information objective produces poisoned gradients that co-vary with the clean-task optimisation signal, enabling joint descent of clean and backdoor losses and reducing the initial clean–backdoor loss gap; the propagation objective reduces trigger drift caused by message passing.
- Robustness and generality: BadGCL remains effective across replay-based, regularisation-based and parameter-isolation victims; for a parameter-isolation victim (TPP) the backdoor achieved 100% ASR with zero backdoor forgetting. BadGCL is robust to task-order changes, benign task revisiting (which can re-consolidate the backdoor), hyperparameter variation and several representative defences.
Limitations
The threat model assumes white-box access during an early intervention window (here the first task) and no control over later tasks; results rely on assumptions used in the theoretical analysis such as Lipschitz smoothness, bounded representation and gradient perturbations, non-degeneracy of negative gradients and small trigger footprint. Evaluations cover several victim designs and defences but are limited to the chosen benchmarks, model architectures and defence set; some defences can reduce ASR at the cost of substantial clean-utility degradation.
Implications
An attacker who can poison early training of a GCL system can implant a structural trigger that persists without further intervention by exploiting anti-forgetting dynamics. Such triggers are embedded in the graph message-passing computation, making them harder to erase or detect and allowing benign replays or task revisits to reinforce the backdoor. Practical attacks can therefore "free-ride" on continual-learning preservation mechanisms, posing a long-term persistent threat to systems that update GNNs over time.
The paper title, authors and abstract
BadGCL: Towards Persistent Backdoor Attack on Graph Continual Learning Systems
Backdoor attacks pose a persistent security threat to machine learning systems, yet their behavior under graph continual learning (GCL) remains underexplored. Conventional graph backdoor attacks often lose effectiveness as models are updated across successive tasks, creating the impression that continual updates naturally weaken malicious associations. This work reveals a contrasting vulnerability: knowledge-preservation mechanisms in GCL can also preserve early injected backdoors when the poisoned update is compatible with the clean-task signal being retained. For graph data, this risk is amplified by structural triggers, which are embedded into the message-passing paths of graph neural networks (GNNs) and can induce stable representation shifts across tasks. To expose this risk, we propose BadGCL, a model-agnostic framework for persistent backdoor attacks under a strict early-stage intervention setting. BadGCL learns topology-aware structural triggers using a gradient mutual-information objective that couples poisoned gradients with clean-task optimization signals, together with a propagation consistency objective that stabilizes trigger-induced effects through graph message passing. We provide theoretical analysis showing that gradient compatibility and propagation stability jointly support long-term backdoor persistence under benign continual updates. Extensive experiments across task-IL and class-IL protocols, four GCL benchmarks, and diverse victim systems show that BadGCL achieves persistent attack effectiveness with limited clean-utility degradation, substantially outperforming graph and continual-learning backdoor baselines and remaining robust against representative defenses.


