Exploring Example Influence in Continual Learning

Qing Sun, Fan Lyu, Fanhua Shang, Wei Feng, Liang Wan

Abstract

Continual Learning (CL) requires models to learn from a sequential stream of data while mitigating catastrophic forgetting. A central challenge in CL is the Stability-Plasticity (SP) dilemma: the need to remain stable enough to preserve past knowledge while being plastic enough to integrate new information. This paper presents MetaSP, a novel meta-learning framework designed to quantify the influence of individual training examples on both stability and plasticity. Unlike traditional Influence Functions that are computationally prohibitive for deep networks, MetaSP utilizes a first-order meta-learning proxy to estimate example influence. By optimizing the trade-off between stability and plasticity through a Pareto-optimal fusion strategy, MetaSP enhances both model updates and rehearsal buffer management. Our evaluation across multiple benchmarks shows that MetaSP consistently outperforms existing rehearsal-based methods in both task-incremental and class-incremental settings.

1. Introduction

The goal of Continual Learning is to enable artificial agents to acquire knowledge incrementally, much like biological systems. However, deep neural networks typically suffer from catastrophic forgetting, where new updates overwrite previously learned representations. This tension is formalized as the Stability-Plasticity dilemma. While various strategies—such as regularization, architectural changes, and rehearsal—have been proposed, most treat training data as a monolithic set.

In practice, different examples contribute differently to the model's state. Some examples act as "anchors" for old tasks, while others are "pioneers" for new concepts. Identifying these influential examples using Influence Functions (IF) is theoretically sound but practically difficult for large-scale models due to the $O(q^3)$ complexity of Hessian matrix inversion. MetaSP addresses this by providing an efficient, meta-learning-based alternative to identify and leverage these influential data points.

2. The MetaSP Framework

MetaSP introduces a three-stage process to manage example influence: estimation, fusion, and utilization.

2.1 Influence Estimation via Pseudo-Updates

To avoid the computational burden of second-order derivatives, MetaSP employs a "pseudo-update" mechanism. For a given mini-batch, the algorithm performs a single gradient step with weight perturbations. The influence of an example is then measured by its impact on two distinct validation sets:

  • Stability Validation ($V_{old}$): Measures how an update affects performance on previously learned tasks.
  • Plasticity Validation ($V_{new}$): Measures how an update affects performance on the current task. This results in two scores for every example: S-influence and P-influence.

2.2 Pareto-Optimal Influence Fusion

Stability and plasticity are often conflicting objectives. An example that strongly reinforces old knowledge might hinder the acquisition of new features. MetaSP treats the combination of S and P influences as a Dual-Objective Optimization (DOO) problem. Using the Multiple-Gradient Descent Algorithm (MGDA), the framework identifies a "fused influence" score that represents a Pareto-optimal balance, ensuring that the model prioritizes examples that benefit both objectives or provide the best possible trade-off.

2.3 Utilization in Training and Rehearsal

The fused influence is applied in two critical areas:

  1. Weighted Model Updates: During training, the loss function is reweighted based on the fused influence of each example. This ensures the gradient descent process is driven by the most constructive data points.
  2. Rehearsal Selection (RehSel): To maintain a fixed-size memory buffer, MetaSP uses K-means clustering to ensure the stored data is diverse. Within each cluster, examples are ranked by their fused influence, and only the most influential "core" examples are retained for future rehearsal.

3. Experimental Evaluation

The authors evaluated MetaSP on three standard benchmarks: Split CIFAR-10, Split CIFAR-100, and Split Mini-Imagenet. These were tested in both task-incremental and class-incremental settings.

3.1 Results and Performance

MetaSP demonstrated superior performance compared to eight state-of-the-art rehearsal methods, including GEM, MIR, and ER.

  • Accuracy Boost: In class-incremental settings, MetaSP achieved a 3.17% improvement in final accuracy ($A_\infty$) over the next best method. In task-incremental settings, the improvement was 1.77%.
  • Stability: The method significantly reduced Backward Transfer (BWT), indicating a superior ability to preserve old knowledge without sacrificing the learning of new tasks.
  • Efficiency: By restricting MetaSP logic to the final 5 epochs of each task, the authors maintained computational efficiency, making it significantly faster than traditional IF-based approaches.

4. Discussion and Conclusion

MetaSP reveals that the majority of training data is "noisy" in the context of the SP dilemma—most examples help one objective while hurting the other. By identifying the rare examples that support both, MetaSP provides a more principled approach to continual learning.

However, the method has limitations. It is sensitive to the quality of the validation sets; if the memory buffer is too small to provide a representative $V_{old}$, the influence calculations may become less reliable. Additionally, while faster than IF, it is not yet optimized for "online" settings where data is seen only once. Future work may involve using generative models to create synthetic influential examples, potentially solving the privacy and storage issues inherent in rehearsal-based methods.

In summary, MetaSP offers a robust framework for balancing stability and plasticity by treating example influence as a meta-learning objective, setting a new standard for rehearsal-based continual learning.

Summary updated

BibTeX
@inproceedings{sun2022exploring,
  author = {Qing Sun and Fan Lyu and Fanhua Shang and Wei Feng and Liang Wan},
  title = {{Exploring Example Influence in Continual Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=HzTO1kiWzz},
}
Figure