MEGA: Second-Order Gradient Alignment for Catastrophic Forgetting Mitigation in GFSCIL

Jinhui Pang, Changqing Lin, Hao Lin, Zhihui Zhang, Weiping Ding +2 more
4/18/2025
cs.LG

No confident code implementation found for this paper.

Abstract

Graph Few-Shot Class-Incremental Learning (GFSCIL) enables models to continually learn from limited samples of novel tasks after initial training on a large base dataset. Existing GFSCIL approaches typically utilize Prototypical Networks (PNs) for metric-based class representations and fine-tune the model during the incremental learning stage. However, these PN-based methods oversimplify learning via novel query set fine-tuning and fail to integrate Graph Continual Learning (GCL) techniques due to architectural constraints. To address these challenges, we propose a more rigorous and practical setting for GFSCIL that excludes query sets during the incremental training phase. Building on this foundation, we introduce Model-Agnostic Meta Graph Continual Learning (MEGA), aimed at effectively alleviating catastrophic forgetting for GFSCIL. Specifically, by calculating the incremental second-order gradient during the meta-training stage, we endow the model to learn high-quality priors that enhance incremental learning by aligning its behaviors across both the meta-training and incremental learning stages. Extensive experiments on four mainstream graph datasets demonstrate that MEGA achieves state-of-the-art results and enhances the effectiveness of various GCL methods in GFSCIL. We believe that our proposed MEGA serves as a model-agnostic GFSCIL paradigm, paving the way for future research.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{pang2025mega,
  title  = {MEGA: Second-Order Gradient Alignment for Catastrophic Forgetting Mitigation in GFSCIL},
  author = {Jinhui Pang and Changqing Lin and Hao Lin and Zhihui Zhang and Weiping Ding and Yu Liu and Xiaoshuai Hao},
  year   = {2025},
  eprint = {2504.13691},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.13691v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.13691.svg)](https://codeofpaper.com/paper/2504.13691)

Discussion