Abstract
Continual Graph Learning (CGL) aims to train models on a sequence of graph-based tasks while preserving knowledge from previous tasks. Existing approaches often struggle with the rigid assumption of Euclidean geometry and a heavy reliance on labeled data. We present RieGrace, a self-supervised CGL framework that operates in adaptive Riemannian spaces. By dynamically adjusting the curvature of the underlying manifold via a specialized module called CurvNet, RieGrace effectively captures the evolving structural properties of graphs. Our framework employs a teacher-student distillation mechanism to prevent catastrophic forgetting in a label-free environment. Experimental results across five benchmark datasets demonstrate that RieGrace consistently outperforms state-of-the-art supervised and unsupervised baselines.
Introduction
Real-world graphs, such as citation networks and social media structures, often exhibit complex hierarchical or cyclical patterns that are poorly represented in flat Euclidean spaces. Furthermore, in continual learning scenarios, the structural characteristics of incoming data can shift over time, a phenomenon we term the "Euclidean Trap." Most current CGL models are also supervised, making them impractical for real-time applications where labels are scarce.
RieGrace addresses these challenges by combining non-Euclidean geometry with self-supervised distillation. It allows the model to "shift" its geometry to fit incoming data while using a Generalized Lorentz Projection (GLP) to maintain stability across different curvatures and dimensions.
Methodology
The RieGrace architecture is built upon three primary pillars designed for geometric flexibility and knowledge retention.
Adaptive Riemannian GCN (AdaRGCN) and CurvNet
At the core of RieGrace is AdaRGCN, a unified Graph Convolutional Network capable of operating across various constant curvature spaces (positive, negative, or zero). To determine the optimal geometry for a specific task, the CurvNet module estimates curvature based on the graph's structural properties, inspired by Forman-Ricci curvature. This allows the model to adapt its manifold to the hierarchical or cyclical nature of the current task graph.
Label-free Lorentz Distillation
To mitigate catastrophic forgetting, RieGrace utilizes a teacher-student framework:
- Intra-distillation: The student model learns the current task by contrasting different views of the same graph, capturing local and global structures without labels.
- Inter-distillation: The student preserves knowledge by distilling information from a teacher model (the previous task's version of itself).
- Generalized Lorentz Projection (GLP): GLP acts as a mathematical bridge, enabling the comparison of embeddings across different curvatures and dimensions, ensuring stable knowledge transfer during the distillation process.
Experimental Evaluation
RieGrace was evaluated on five benchmark datasets: Cora, Citeseer, Actor, ogbn-arXiv, and Reddit. These were adapted into sequential task formats to test the model's continual learning capabilities.
Results and Key Insights
As shown in the results table, RieGrace consistently achieves the highest Performance Mean (PM). Notably, on the Actor dataset, it reached 61.9% PM, significantly outperforming the best supervised Euclidean baseline, MSCGL (55.9%).
The model also excels in minimizing the Forgetting Mean (FM). In datasets like Actor and ogbn-arXiv, RieGrace exhibited positive knowledge transfer (positive FM), indicating that learning new tasks actually enhanced its performance on previous ones. This suggests that the structural signals captured by adaptive Riemannian geometry are highly effective for both learning and retention.
Conclusion
RieGrace represents a significant step forward in CGL by moving beyond the limitations of Euclidean space and supervised learning. By adapting the underlying geometry to the data's intrinsic structure, it achieves superior performance and stability. Future work will explore extending this framework to heterogeneous graphs and addressing the computational complexity of contrastive loss for extremely large-scale networks.
Summary updated