Disentangling and Mitigating the Impact of Task Similarity for Continual Learning
<|reference_start|>Disentangling and Mitigating the Impact of Task Similarity for Continual Learning: Continual learning of partially similar tasks poses a challenge for artificial neural networks, as task similarity presents both an opportunity for knowledge transfer and a risk of interference and catastrophic forgetting. However, it remains unclear how task similarity in input features and readout patterns influences knowledge transfer and forgetting, as well as how they interact with common algorithms for continual learning. Here, we develop a linear teacher-student model with latent structure and show analytically that high input feature similarity coupled with low readout similarity is catastrophic for both knowledge transfer and retention. Conversely, the opposite scenario is relatively benign. Our analysis further reveals that task-dependent activity gating improves knowledge retention at the expense of transfer, while task-dependent plasticity gating does not affect either retention or transfer performance at the over-parameterized limit. In contrast, weight regularization based on the Fisher information metric significantly improves retention, regardless of task similarity, without compromising transfer performance. Nevertheless, its diagonal approximation and regularization in the Euclidean space are much less robust against task similarity. We demonstrate consistent results in a permuted MNIST task with latent variables. Overall, this work provides insights into when continual learning is difficult and how to mitigate it.<|reference_end|>
@article{hiratani2024disentangling,
    title={Disentangling and Mitigating the Impact of Task Similarity for Continual
  Learning},
    author={Naoki Hiratani},
    journal={arXiv preprint arXiv:2405.20236},
    year={2024},
    archivePrefix={arXiv},
    eprint={2405.20236},
    primaryClass={stat.ML cs.LG}
}