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

AL-GNN: Privacy-Preserving and Replay-Free Continual Graph Learning via Analytic Learning

Xuling Zhang, Jindong Li, Yifei Zhang, Menglin YangarXiv 2025 · DOI

Abstract

Continual Graph Learning (CGL) aims to update models incrementally as new graph data arrives without suffering from catastrophic forgetting. Traditional methods often rely on experience replay, which poses significant privacy risks and computational overhead. This paper presents AL-GNN, a novel framework that replaces iterative backpropagation with analytic learning. By formulating the learning process as a recursive least-squares problem, AL-GNN achieves near-zero forgetting and inherent privacy preservation without storing historical data.

Introduction

In dynamic environments such as social networks or recommendation systems, graph data is constantly evolving. The challenge of Continual Graph Learning (CGL) is to integrate new information into a model while maintaining performance on previously learned tasks. Most existing CGL approaches utilize "experience replay," where a subset of historical data is stored and revisited. However, this approach is often untenable due to data privacy regulations and the high computational cost of re-training.

AL-GNN addresses these challenges by introducing a "replay-free" and "backpropagation-free" paradigm. By leveraging analytic learning, the model updates its parameters through closed-form mathematical solutions rather than iterative gradient descent.

Methodology

The AL-GNN framework operates in three distinct stages:

1. Base Training

The process begins with a standard Graph Convolutional Network (GCN) backbone trained on an initial set of classes using traditional backpropagation. Once this feature extractor is optimized, its weights are frozen to serve as a stable foundation for subsequent tasks.

2. Feature Expansion Graph (FEG)

To enhance the model's capacity to represent increasingly complex data, the extracted features are passed through a Feature Expansion Graph layer. This layer uses a randomly initialized, fixed weight matrix to project features into a higher-dimensional space. This expansion facilitates linear separability for the final classification layer.

3. Recursive Analytic Updates

The core of AL-GNN lies in its recursive update mechanism. Instead of updating the classifier via gradients, the model maintains a regularized feature autocorrelation matrix ($R_n$). Using the Woodbury matrix identity, the model can update its weights ($W$) using only the new incoming data and the current state of $R_n$. This update is mathematically equivalent to training on the entire dataset (past and present) simultaneously, theoretically achieving zero forgetting for the classifier.

Experimental Results

The authors evaluated AL-GNN against six node-classification benchmarks, including Cora, Citeseer, Ogbn-arxiv, CoraFull, Reddit, and Amazon Computer.

Performance and Forgetting

AL-GNN demonstrated superior accuracy, notably achieving a 10% improvement on the CoraFull dataset compared to state-of-the-art baselines like ER-GNN. Crucially, the model significantly mitigated catastrophic forgetting; on the Reddit dataset, average forgetting was reduced by over 30%.

Efficiency and Privacy

The analytic approach offers massive gains in training speed. On the Reddit benchmark, AL-GNN completed training in approximately 28 seconds, whereas replay-based methods required over 75 minutes. Furthermore, because the model only stores the autocorrelation matrix—a summary of second-order statistics—it is inherently privacy-preserving. Original node and edge data cannot be reconstructed from this matrix, eliminating the need for a sensitive "memory bank."

Discussion and Conclusion

AL-GNN represents a significant shift in CGL by proving that analytic learning can match or exceed the performance of gradient-based methods while offering superior efficiency and privacy. While the current implementation relies on a fixed GCN backbone—which may limit adaptability if the graph's underlying structure changes drastically—the "zero forgetting" property of the analytic classifier is a major advancement. Future research will likely focus on extending analytic updates to the GNN backbone itself to further enhance flexibility in non-stationary environments.

Summary updated

BibTeX
@misc{zhang2025al,
  author = {Xuling Zhang and Jindong Li and Yifei Zhang and Menglin Yang},
  title = {{AL-GNN: Privacy-Preserving and Replay-Free Continual Graph Learning via Analytic Learning}},
  year = {2025},
  eprint = {2512.18295},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.18295},
}
Figure