Skip to main content
QUICK REVIEW

[Paper Review] An Empirical Investigation of the Role of Pre-training in Lifelong Learning

Sanket Vaibhav Mehta, Darshan Patil|arXiv (Cornell University)|Dec 16, 2021
Domain Adaptation and Few-Shot LearningComputer Science42 citations
TL;DR

The paper shows that generic pre-trained initializations implicitly reduce catastrophic forgetting in sequential task learning, analyzes why this happens via loss landscape flatness, and proposes a sharpness-aware optimization method to further mitigate forgetting.

ABSTRACT

The lifelong learning paradigm in machine learning is an attractive alternative to the more prominent isolated learning scheme not only due to its resemblance to biological learning but also its potential to reduce energy waste by obviating excessive model re-training. A key challenge to this paradigm is the phenomenon of catastrophic forgetting. With the increasing popularity and success of pre-trained models in machine learning, we pose the question: What role does pre-training play in lifelong learning, specifically with respect to catastrophic forgetting? We investigate existing methods in the context of large, pre-trained models and evaluate their performance on a variety of text and image classification tasks, including a large-scale study using a novel data set of 15 diverse NLP tasks. Across all settings, we observe that generic pre-training implicitly alleviates the effects of catastrophic forgetting when learning multiple tasks sequentially compared to randomly initialized models. We then further investigate why pre-training alleviates forgetting in this setting. We study this phenomenon by analyzing the loss landscape, finding that pre-trained weights appear to ease forgetting by leading to wider minima. Based on this insight, we propose jointly optimizing for current task loss and loss basin sharpness to explicitly encourage wider basins during sequential fine-tuning. We show that this optimization approach outperforms several state-of-the-art task-sequential continual learning algorithms across multiple settings, occasionally even without retaining a memory that scales in size with the number of tasks.

Motivation & Objective

  • Motivate lifelong learning as an energy-efficient alternative to isolated training and address catastrophic forgetting.
  • Systematically evaluate the impact of pre-training on forgetting across NLP and CV benchmarks with varied task diversity.
  • Analyze loss landscapes to understand why pre-training mitigates forgetting.
  • Propose and test an optimization objective targeting flat loss basins to explicitly reduce forgetting.

Proposed method

  • Compare pre-trained versus randomly initialized models on standard task-incremental lifelong learning benchmarks in CV and NLP.
  • Use DistilBERT and ResNet-18 architectures with both pre-trained and random initializations.
  • Analyze loss landscapes and sharpness to assess minima structure after sequential fine-tuning.
  • Compute sharpness metrics and perform linear interpolation of sequential task minima to assess basin width.
  • Apply Sharpness-Aware Minimization (SAM) to jointly optimize current task loss and basin sharpness, and compare with baselines (FT, EWC, ER).
  • Control pre-training overlap by removing overlapping ImageNet classes when pre-training ResNet-18-PT.

Experimental results

Research questions

  • RQ1Does pre-training implicitly alleviate forgetting in lifelong learning across diverse tasks and domains?
  • RQ2Do pre-trained models forget similarly on homogeneous versus diverse task sequences?
  • RQ3How do different pre-trained initializations (model size, corpus diversity) affect forgetting?
  • RQ4Can explicit optimization for flat minima further reduce forgetting beyond pre-training effects?

Key findings

  • Pre-trained initializations lead to significantly less forgetting than random initializations across multiple baselines and benchmarks.
  • The forgetting advantage of pre-training persists in NLP and CV, though diverse task sequences still pose challenges.
  • Model capacity and diversity of the pre-training corpus (e.g., RoBERTa-base, larger models) reduce forgetting more effectively.
  • Pre-trained weights tend to place sequential fine-tuning in broader (flatter) minima, evidenced by loss landscape analyses and sharpness measures.
  • Explicitly optimizing for flat basins with SAM improves forgetting performance and can outperform several state-of-the-art continual learning methods in multiple settings.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.