Charting fundamental challenges of incremental in-weight learning towards continual learning for real
Author:
Abstract:
The deep learning approaches driving modern artificial intelligence assume a static world. Learning is happening one time, offline, on massive, curated datasets, and once trained the model remains frozen rigid. The world we experience, however, is dynamic and ever evolving. To remain relevant and adapt behaviors, or more generally, evolve with the environment, it would be highly beneficial for intelligent systems to be capable of continuing their learning process. This is what the research field of continual learning aspires to achieve. Intuitively, the solution is to update a model as new data arrives during deployment. Yet, doing so naively triggers a variety of challenges. Prominently, further updates with respect to only the novel content easily lead to catastrophic forgetting: the network greedily overwrites previously acquired knowledge to minimize current errors. But there are also various open questions regarding the model's learning efficiency and computational demand, respectively. Consequently, the current industry standard relies on the tried-and-tested periodic, offline re-training, which is but an exhaustive strategy that is rapidly becoming computationally, environmentally, and in some cases legally unsustainable. While the academic continual learning community has proposed numerous approaches and demonstrates steadily rising benchmark scores, these approaches are yet rarely utilized in real-world applications or industrial settings. This thesis argues that the friction between research and application exists because the fundamental challenges of sequential optimization are not yet genuinely solved. Instead, the profound structural hurdles of learning over time are frequently masked, for example by building on massively pre-trained models, or on end-to-end evaluation metrics that happen to be opaque regarding long-term knowledge accumulation. Focusing on the domain of computer vision to study such hurdles, this thesis opts to balance empirical results towards smaller scale in favor of better empirical control. Shifting focus to the learning process at representation level, we probe the underlying dynamics of sequential optimization during continual learning, using a diverse set of diagnostic tools. These include probing to evaluate accumulated representations independently of evolving classifier biases, perfect- retention ensemble baselines to control for catastrophic forgetting, and synthetic visual cues to explicitly disentangle shared from task-specific knowledge during parameter adaptation. Through four core investigations, this thesis uncovers critical aspects of continual learning challenge, and contributes to a deeper understanding of the dynamics that need to be addressed towards continual learning for real. First, we provide necessary nuance to the prevalent claim that continually trained representations posses an inherent resistance to forgetting. We empirically demonstrate that when evaluated relative to the performance newly gained during a task, forgetting in the representation tends to be as severe as forgetting at the output level, and is actively slowing down the incremental accumulation of knowledge. Second, we reveal that even when methods well-approximate the joint training objective (e.g., via incremental joint training or replay), standard gradient-based optimization still suffers from a "stability gap", a temporary forgetting upon encountering new data. We take this to demonstrate that there are challenges which can not be addressed only by engineering the loss objective. We motivate that continual learning should rethink not only what objective is optimized, but also how the optimization trajectory is navigated. Third, we chart the abilities and limitations of model merging, a post-hoc mechanism that recently gained a lot of attention with the ability to sidestep the need to explicitly mitigate catastrophic forgetting during the sequential optimization itself. In a controlled synthetic setting we demonstrate that linear merging largely preserves or even enhances shared knowledge, it rapidly degrades unshared, task-specific specializations. Finally, we establish the "co-observation effect" as a third fundamental facet of continual learning, distinct from stability and plasticity. We empirically demonstrate that even a model with perfect memory retention falls short of the generalization capabilities of joint training, indicating that synthesizing robust cross-distribution features fundamentally requires the simultaneous observation of data.