PVBF: A Framework for Mitigating Parameter Variation Imbalance in Online Continual Learning

Ze Tao, Hao Deng, Mingqing Liu, Lijun Zhang, Shengjie Zhao

Abstract

Online continual learning (OCL) enables AI systems to adaptively learn from non-stationary data streams. While experience replay (ER)-based methods are commonly used to retain knowledge, they often suffer from prediction bias due to deviations in parameter update directions. This paper identifies parameter variation imbalance as a critical factor contributing to this bias. We propose the Parameter Variation Balancing Framework (PVBF), which mitigates imbalance through three key components: a Manhattan distance-based parameter correlation metric (ParamCC), an encourage-and-consolidate (E&C) gradient adjustment strategy, and a dual-layer copy weights with reinit (D-CWR) strategy for the output layer. Experiments show that PVBF significantly reduces prediction bias, achieving up to 47% higher accuracy than existing ER-based methods.

The Challenge: Parameter Variation Imbalance

Online Continual Learning (OCL) requires models to learn from a one-pass data stream without forgetting previous tasks. Experience Replay (ER) is the standard defense against "catastrophic forgetting," but it frequently leads to prediction bias, where the model favors recently seen classes.

Conceptual overview of parameter variation across tasks in a one-pass data stream.

The authors identify two types of parameter variation imbalance that drive this bias:

  1. Correlation-induced Imbalance: A small subset of neurons undergoes massive changes while the majority remain inactive. This leads to inefficient learning and risks overwriting critical "memory" neurons.
  2. Layer-wise Imbalance: The output classifier layer updates significantly faster than earlier feature-extraction layers, causing the model to quickly "forget" the mapping for older classes.

The PVBF Framework

To restore balance, PVBF introduces three novel components to the training process:

1. ParamCC (Parameter Correlation Calculate)

This method quantifies the "correlation" of specific parameters to previous tasks. By tracking relative weight changes after each task using a normalized Manhattan distance metric, the system identifies which neurons are critical for past knowledge.

2. E&C (Encourage-and-Consolidate)

E&C is a gradient-adjustment strategy that uses ParamCC values as divisors for gradients.

  • Encourage: Parameters with low correlation to past tasks (the "inactive majority") receive larger gradient updates to help them learn new features.
  • Consolidate: Parameters with high correlation (the "memory" neurons) have their gradients dampened, preserving existing knowledge.

3. D-CWR (Dual-layer Copy Weights with Reinit)

Inspired by bio-inspired dual-memory systems (hippocampus and neocortex), D-CWR targets the output layer. It selectively transfers class-specific knowledge through sensory, short-term, and long-term memory pools. This slows down the update rate of the classifier, preventing it from flipping too quickly to new classes.

Key Insights and Results

The research highlights that in standard OCL, most parameters are "lazy." By forcing the model to distribute the learning load more effectively, PVBF achieves near-IID performance.

Layer-wise relative changes showing high variation in the initial convolution and final linear layers.

Experimental Performance

PVBF was evaluated on Split Cifar10, Cifar100, and MiniImageNet. Key results include:

  • Massive Accuracy Gains: PVBF outperformed standard ER by 31% to 47% across various benchmarks.
  • Efficiency: On the MiniImageNet dataset, PVBF reached 97.5% of the accuracy achieved by a model trained on the full dataset at once (IID), using a tiny replay buffer of only 500 samples.
  • Reduced Forgetting: In constrained memory scenarios, PVBF reduced the Forgetting Ratio (FR) from 50.4% (standard ER) to 24.0%.

Conclusion

PVBF addresses the root cause of prediction bias in OCL by identifying and mitigating parameter variation imbalance. By dynamically protecting task-critical neurons and stabilizing the output classifier, it provides a robust framework for learning from non-stationary data streams with minimal forgetting.

Summary updated

Abstract

Online continual learning (OCL), which enables AI systems to adaptively learn from non-stationary data streams, is commonly achieved using experience replay (ER)-based methods that retain knowledge by replaying stored past during training. However, these methods face challenges of prediction bias, stemming from deviations in parameter update directions during task transitions. This paper identifies parameter variation imbalance as a critical factor contributing to prediction bias in ER-based OCL. Specifically, using the proposed parameter variation evaluation method, we highlight two types of imbalance: correlation-induced imbalance, where certain parameters are disproportionately updated across tasks, and layer-wise imbalance, where output layer parameters update faster than those in preceding layers. To mitigate the above imbalances, we propose the Parameter Variation Balancing Framework (PVBF), which incorporates: 1) a novel method to compute parameter correlations with previous tasks based on parameter variations, 2) an encourage-and-consolidate (E&C) method utilizing parameter correlations to perform gradient adjustments across all parameters during training, 3) a dual-layer copy weights with reinit (D-CWR) strategy to slowly update output layer parameters for frequently occuring sample categories. Experiments on short and long task sequences demonstrate that PVBF significantly reduces prediction bias and improves OCL performance, achieving up to 47\% higher accuracy compared to existing ER-based methods.
BibTeX
@article{tao2025pvbf,
  author = {Ze Tao and Hao Deng and Mingqing Liu and Lijun Zhang and Shengjie Zhao},
  title = {{PVBF: A Framework for Mitigating Parameter Variation Imbalance in Online Continual Learning}},
  journal = {Neural Networks},
  year = {2025},
  doi = {10.1016/j.neunet.2025.107823},
}
Figure