Primal Dual Continual Learning: Balancing Stability and Plasticity through Adaptive Memory Allocation

Juan Elenter, Navid NaderiAlizadeh, Tara Javidi, Alejandro Ribeiro
9/29/2023
cs.LGcs.AIeess.SP

No confident code implementation found for this paper.

Abstract

Continual learning is inherently a constrained learning problem. The goal is to learn a predictor under a no-forgetting requirement. Although several prior studies formulate it as such, they do not solve the constrained problem explicitly. In this work, we show that it is both possible and beneficial to undertake the constrained optimization problem directly. To do this, we leverage recent results in constrained learning through Lagrangian duality. We focus on memory-based methods, where a small subset of samples from previous tasks can be stored in a replay buffer. In this setting, we analyze two versions of the continual learning problem: a coarse approach with constraints at the task level and a fine approach with constraints at the sample level. We show that dual variables indicate the sensitivity of the optimal value of the continual learning problem with respect to constraint perturbations. We then leverage this result to partition the buffer in the coarse approach, allocating more resources to harder tasks, and to populate the buffer in the fine approach, including only impactful samples. We derive a deviation bound on dual variables as sensitivity indicators, and empirically corroborate this result in diverse continual learning benchmarks. We also discuss the limitations of these methods with respect to the amount of memory available and the expressiveness of the parametrization.

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{elenter2023primal,
  title  = {Primal Dual Continual Learning: Balancing Stability and Plasticity through Adaptive Memory Allocation},
  author = {Juan Elenter and Navid NaderiAlizadeh and Tara Javidi and Alejandro Ribeiro},
  year   = {2023},
  eprint = {2310.00154},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.00154v2}
}

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/2310.00154.svg)](https://codeofpaper.com/paper/2310.00154)

Discussion