Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

LoRanPAC: Low-rank Random Features and Pre-trained Models for Bridging Theory and Practice in Continual Learning

About

The goal of continual learning (CL) is to train a model that can solve multiple tasks presented sequentially. Recent CL approaches have achieved strong performance by leveraging large pre-trained models that generalize well to downstream tasks. However, such methods lack theoretical guarantees, making them prone to unexpected failures. Conversely, principled CL approaches often fail to achieve competitive performance. In this work, we aim to bridge this gap between theory and practice by designing a simple CL method that is theoretically sound and highly performant. Specifically, we lift pre-trained features into a higher dimensional space and formulate an over-parametrized minimum-norm least-squares problem. We find that the lifted features are highly ill-conditioned, potentially leading to large training errors (numerical instability) and increased generalization errors. We address these challenges by continually truncating the singular value decomposition of the lifted features. Our approach, termed LoRanPAC, is stable with respect to the choice of hyperparameters, can handle hundreds of tasks, and outperforms state-of-the-art CL methods on multiple datasets. Importantly, our method satisfies a recurrence relation throughout its continual learning process, which allows us to prove it maintains small training and test errors by appropriately truncating a fraction of SVD factors. This results in a stable continual learning method with strong empirical performance and theoretical guarantees. Code available: https://github.com/liangzu/loranpac.

Liangzu Peng, Juan Elenter, Joshua Agterberg, Alejandro Ribeiro, Ren\'e Vidal• 2024

Related benchmarks

TaskDatasetResultRank
Class-incremental learningImageNet-R B0 Inc20
Last Accuracy71.81
79
Class-incremental learningImageNet-R Inc5 (test)
Average Accuracy6.66
13
Coarse-grained object recognitionCIFAR100 T=10
Last Task Accuracy91.32
11
Class-incremental learningObjectNet Inc-5 B-0 (test)
Favg10.25
7
Class-incremental learningOmniBenchmark Inc-10 B-0 (test)
Average F-Score8.29
7
Class-incremental learningImageNet-A Inc-5 B-0 (test)
Average Score10.98
7
Class-incremental learningObjectNet Inc-10 B-0 (test)
Favg9.54
7
Class-incremental learningOmniBenchmark Inc-5 B-0 (test)
Favg8.29
7
Class-incremental learningImageNet-R Inc-10 B-0 (test)
Favg6.03
7
Class-incremental learningImageNet-A Inc-10 B-0 (test)
Favg10.48
7
Showing 10 of 12 rows

Other info

Follow for update