[Paper Review] On the Effectiveness of Lipschitz-Driven Rehearsal in Continual Learning
This paper proposes Lipschitz-Driven Rehearsal (LiDER), a regularization method that constrains the layer-wise Lipschitz constants of neural networks during continual learning to stabilize decision boundaries and mitigate buffer overfitting. By enforcing smoothness in the model's response to input perturbations, LiDER improves generalization and consistently boosts performance across multiple state-of-the-art rehearsal methods on CIFAR-10, CIFAR-100, and Tiny-ImageNet, both with and without pre-training.
Rehearsal approaches enjoy immense popularity with Continual Learning (CL) practitioners. These methods collect samples from previously encountered data distributions in a small memory buffer; subsequently, they repeatedly optimize on the latter to prevent catastrophic forgetting. This work draws attention to a hidden pitfall of this widespread practice: repeated optimization on a small pool of data inevitably leads to tight and unstable decision boundaries, which are a major hindrance to generalization. To address this issue, we propose Lipschitz-DrivEn Rehearsal (LiDER), a surrogate objective that induces smoothness in the backbone network by constraining its layer-wise Lipschitz constants w.r.t. replay examples. By means of extensive experiments, we show that applying LiDER delivers a stable performance gain to several state-of-the-art rehearsal CL methods across multiple datasets, both in the presence and absence of pre-training. Through additional ablative experiments, we highlight peculiar aspects of buffer overfitting in CL and better characterize the effect produced by LiDER. Code is available at https://github.com/aimagelab/LiDER
Motivation & Objective
- To address the hidden pitfall of decision boundary instability caused by overfitting on small replay buffers in continual learning.
- To improve generalization and robustness in rehearsal-based continual learning by enforcing smoothness in model predictions via Lipschitz regularization.
- To investigate whether Lipschitz constraints can systematically enhance performance across diverse rehearsal methods and datasets.
- To characterize the effect of buffer overfitting and demonstrate the effectiveness of LiDER in mitigating its negative impact on decision boundaries.
- To provide a practical, plug-in regularization method that integrates seamlessly with existing rehearsal frameworks.
Proposed method
- LiDER introduces a surrogate objective that constrains the layer-wise Lipschitz constants of the neural network with respect to replayed examples.
- The method estimates an upper bound of the Lipschitz constant using spectral normalization on fully connected and convolutional layers, enforcing a global 1-Lipschitz property.
- The regularization is applied during training by adding a penalty term to the loss that limits the maximum change in the network’s output per unit input change.
- The approach is compatible with various rehearsal methods, including Experience Replay (ER), DER++, and ER-ACE, and can be applied with or without pre-training.
- The method is evaluated using both standard accuracy and robustness metrics, including adversarial robustness and Hessian-based flatness of minima.
- Ablative studies compare LiDER against fixed-target optimization and analyze hyperparameter sensitivity, confirming its superiority.
Experimental results
Research questions
- RQ1Does enforcing Lipschitz continuity on replayed examples improve decision boundary stability and generalization in continual learning?
- RQ2How does LiDER compare to fixed-target optimization strategies in terms of performance and robustness?
- RQ3To what extent does LiDER mitigate the negative effects of buffer overfitting on decision boundaries?
- RQ4Can LiDER be effectively applied across different rehearsal methods and datasets without architectural modifications?
- RQ5What is the impact of LiDER on the flatness of the loss landscape and robustness to weight perturbations?
Key findings
- LiDER consistently improves the accuracy of multiple state-of-the-art rehearsal methods across CIFAR-10, CIFAR-100, and Tiny-ImageNet, both with and without pre-training.
- The method leads to flatter minima, as measured by the sum of Hessian eigenvalues, indicating improved generalization properties.
- Models trained with LiDER show significantly higher robustness to weight perturbations and adversarial attacks compared to baseline rehearsal methods.
- Ablative studies confirm that LiDER outperforms fixed-target optimization strategies, which fail to achieve comparable performance gains.
- Visualization of decision boundaries shows that LiDER preserves robustness around replayed examples, while baseline methods exhibit sharp and deteriorating boundaries over time.
- The improvement from LiDER is most pronounced in scenarios with small memory buffers, where overfitting risk is highest.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.