cs.LGOct 4, 2026

MAGIC: Topology-Aware Analytic Graph Few-Shot Class-Incremental Learning

Authors: Junlin Chen, Yuhan Wang, Xuefei Wang, Xiao Wang, Ruijie Wang, Jianxin Li

Organizations: Beihang University, Beijing, China

Abstract

Graph few-shot class-incremental learning (GFSCIL) requires a model to continually recognize emerging classes from only a few labeled nodes while preserving previously acquired knowledge. Beyond the catastrophic forgetting inherited from conventional graph continual learning, GFSCIL presents two distinctive challenges: extremely limited novel-class supervision causes severe overfitting, while cross-session edges---edges connecting newly arriving nodes with historical nodes---alter historical propagation neighborhoods and thereby induce representation drift. We propose MAGIC, a replay-free GFSCIL framework that combines a frozen graph representation backbone (e.g., an intrinsically parameter-free backbone such as SGC or a pretrained graph foundation model) with closed-form analytic continual learning. To alleviate novel-session overfitting, MAGIC learns a topological prior from the base graph that can characterize both homophilous and heterophilous relations, and injects this prior through Potts Markov random field inference to refine supervision for novel classes. To mitigate representation drift, MAGIC transfers previous predictions from the old representations of affected historical nodes to their updated representations through drift-aware analytic distillation. Experiments across five datasets and eight baselines demonstrate the effectiveness of MAGIC. Under the 5-shot setting, MAGIC improves Mean Accuracy and Final Accuracy by 5.48 percentage points and 9.33 percentage points on average, and reduces Performance Drop by 10.78 percentage points on average compared with the best baselines. MAGIC also shows clear advantages under the 1- and 3-shot settings, with larger gains as the number of supports increases. Moreover, MAGIC requires substantially less training time.

Figures & tables

Appendix figures & tables9 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Advancing Graph Few-Shot Learning via In-Context Learning

    May 23, 2026Renchu Guan, Yajun Wang, Chunli Guo +5Meta-LearningFew-Shot Learning

  2. MAEM: Mitigating Recency Bias via a Replay-Free, Capacity-Controlled Dynamic Mixture of Experts for Class-Incremental Graph Learning

    Oct 14, 2026Junlin Chen, Wenhao Wang, Junchao Xu +5Class-Incremental LearningGraph Neural Networks

  3. Learning to Curate What You Generate for Generalizable Few-Shot Class-Incremental Learning

    Oct 4, 2026Junhui Yin, Yuchen Yang, Yilin Yin +6Class-Incremental LearningData Selection