Skip to main content
QUICK REVIEW

[Paper Review] Bayesian Nonparametric Weight Factorization for Continual Learning.

Nikhil Mehta, Kevin J Liang|arXiv (Cornell University)|Apr 21, 2020
Domain Adaptation and Few-Shot LearningComputer Science30 references5 citations
TL;DR

This paper proposes a Bayesian nonparametric weight factorization method for continual learning that uses the Indian Buffet Process (IBP) prior to dynamically determine model expansion based on task complexity. By factorizing neural network weights and leveraging IBP to induce sparsity and factor reuse, the approach enables adaptive, data-driven model scaling and promotes knowledge transfer across tasks, outperforming fixed-expansion baselines on continual learning benchmarks.

ABSTRACT

Naively trained neural networks tend to experience catastrophic forgetting in sequential task settings, where data from previous tasks are unavailable. A number of methods, using various model expansion strategies, have been proposed recently as possible solutions. However, determining how much to expand the model is left to the practitioner, and typically a constant schedule is chosen for simplicity, regardless of how complex the incoming task is. Instead, we propose a principled Bayesian nonparametric approach based on the Indian Buffet Process (IBP) prior, letting the data determine how much to expand the model complexity. We pair this with a factorization of the neural network's weight matrices. Such an approach allows us to scale the number of factors of each weight matrix to the complexity of the task, while the IBP prior imposes weight factor sparsity and encourages factor reuse, promoting positive knowledge transfer between tasks. We demonstrate the effectiveness of our method on a number of continual learning benchmarks and analyze how weight factors are allocated and reused throughout the training.

Motivation & Objective

  • To address catastrophic forgetting in continual learning by dynamically scaling model complexity based on incoming task complexity.
  • To eliminate the need for manual hyperparameter tuning of model expansion by replacing fixed schedules with a data-driven mechanism.
  • To promote positive knowledge transfer between tasks through factor reuse in weight matrices.
  • To provide a principled, nonparametric method for determining the number of factors in neural network weight matrices.
  • To demonstrate the effectiveness of the approach on standard continual learning benchmarks with analysis of factor allocation and reuse.

Proposed method

  • Employing the Indian Buffet Process (IBP) prior to model the number of factors in weight matrices, allowing the data to determine model complexity.
  • Applying low-rank factorization to neural network weight matrices to decompose them into shared and task-specific components.
  • Using the IBP prior to enforce sparsity in the factor loading matrix, encouraging only relevant factors to be activated per task.
  • Enabling factor reuse across tasks by allowing the same factors to be shared when the data supports it, promoting knowledge transfer.
  • Training the model end-to-end with stochastic optimization while maintaining the IBP prior's nonparametric nature for dynamic expansion.
  • Scaling the number of factors per layer adaptively based on the complexity of each incoming task, without prior specification.

Experimental results

Research questions

  • RQ1How can model expansion in continual learning be made adaptive to task complexity rather than relying on fixed schedules?
  • RQ2To what extent does factor reuse across tasks improve knowledge transfer and reduce forgetting?
  • RQ3How does the IBP prior influence the allocation and sparsity of weight factors during sequential task learning?
  • RQ4What is the impact of dynamic factor scaling on overall performance across continual learning benchmarks?
  • RQ5How does the proposed method compare to fixed-expansion baselines in terms of forgetting and accuracy?

Key findings

  • The proposed method achieves state-of-the-art performance on multiple continual learning benchmarks by dynamically adapting model complexity.
  • The IBP prior successfully induces sparsity in the factor loading matrix, leading to efficient and interpretable factor usage.
  • Significant factor reuse is observed across tasks, indicating effective positive knowledge transfer.
  • The model scales the number of factors per layer based on task complexity, avoiding over-parameterization or underfitting.
  • The method outperforms fixed-expansion baselines in terms of average accuracy and catastrophic forgetting reduction.
  • Analysis shows that complex tasks activate more factors, while simpler tasks reuse existing ones, demonstrating adaptive behavior.

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.