Task Difficulty Aware Parameter Allocation & Regularization for Lifelong Learning

Wenjin Wang, Yunqing Hu, Qianglong Chen, Yin Zhang
4/11/2023
cs.LGcs.AIcs.CV

No official code found. Best implementation: WenjinW/PAR (8 stars, MIT, last commit 2023-06-02).

Abstract

Parameter regularization or allocation methods are effective in overcoming catastrophic forgetting in lifelong learning. However, they solve all tasks in a sequence uniformly and ignore the differences in the learning difficulty of different tasks. So parameter regularization methods face significant forgetting when learning a new task very different from learned tasks, and parameter allocation methods face unnecessary parameter overhead when learning simple tasks. In this paper, we propose the Parameter Allocation & Regularization (PAR), which adaptively select an appropriate strategy for each task from parameter allocation and regularization based on its learning difficulty. A task is easy for a model that has learned tasks related to it and vice versa. We propose a divergence estimation method based on the Nearest-Prototype distance to measure the task relatedness using only features of the new task. Moreover, we propose a time-efficient relatedness-aware sampling-based architecture search strategy to reduce the parameter overhead for allocation. Experimental results on multiple benchmarks demonstrate that, compared with SOTAs, our method is scalable and significantly reduces the model's redundancy while improving the model's performance. Further qualitative analysis indicates that PAR obtains reasonable task-relatedness.

View on arXivView PDF

Code Implementations(1)

WenjinW/PARCommunity100%
MIT
80Shell, PythonMar 20, 20233 years agoMIT

Cite this paper

@article{wang2023task,
  title  = {Task Difficulty Aware Parameter Allocation & Regularization for Lifelong Learning},
  author = {Wenjin Wang and Yunqing Hu and Qianglong Chen and Yin Zhang},
  year   = {2023},
  eprint = {2304.05288},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2304.05288v1},
  journal = {CVPR 2023 2023}
}

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

Discussion