Skip to main content
QUICK REVIEW

[Paper Review] Continual Learning via Neural Pruning

Siavash Golkar, M. Kagan|arXiv (Cornell University)|Mar 11, 2019
Domain Adaptation and Few-Shot LearningComputer Science17 references90 citations
TL;DR

CLNP trains new tasks in the unused capacity of a sparsified fixed-capacity network, ensuring zero forgetting of previous tasks while providing graceful forgetting to balance sparsity and performance.

ABSTRACT

We introduce Continual Learning via Neural Pruning (CLNP), a new method aimed at lifelong learning in fixed capacity models based on neuronal model sparsification. In this method, subsequent tasks are trained using the inactive neurons and filters of the sparsified network and cause zero deterioration to the performance of previous tasks. In order to deal with the possible compromise between model sparsity and performance, we formalize and incorporate the concept of graceful forgetting: the idea that it is preferable to suffer a small amount of forgetting in a controlled manner if it helps regain network capacity and prevents uncontrolled loss of performance during the training of future tasks. CLNP also provides simple continual learning diagnostic tools in terms of the number of free neurons left for the training of future tasks as well as the number of neurons that are being reused. In particular, we see in experiments that CLNP verifies and automatically takes advantage of the fact that the features of earlier layers are more transferable. We show empirically that CLNP leads to significantly improved results over current weight elasticity based methods.

Motivation & Objective

  • Motivate lifelong learning under fixed capacity constraints to avoid catastrophic forgetting.
  • Propose activation-based neural pruning to create reusable feature pathways for future tasks.
  • Introduce graceful forgetting to trade slight accuracy loss for regained capacity.
  • Provide diagnostics on remaining free neurons and reused neurons to gauge transferability across layers.
  • Demonstrate empirical improvements over weight-elasticity methods on MNIST and CIFAR benchmarks.

Proposed method

  • Use activation-based sparsity to partition a network into active, inactive, and interference components.
  • Train new tasks by updating only the free weights connected to inactive neurons, while setting interference weights to zero.
  • Apply an L1 weight regulator and a post-training neuron pruning step based on average neuron activity to induce sparsity.
  • Introduce a gating/masking scheme (single-head or multi-head) to manage task outputs without forgetting prior tasks.
  • Employ a graceful forgetting strategy by selecting sparsity levels that maintain validation accuracy within a small margin of the best.
  • Provide simple diagnostics for remaining free neurons and transferred features across layers.

Experimental results

Research questions

  • RQ1Can activation-based sparsity enable fixed-capacity networks to learn numerous tasks without forgetting previously learned ones?
  • RQ2How does the reuse of features across layers influence transfer learning and overall performance in continual learning?
  • RQ3Does introducing graceful forgetting improve long-term capacity while maintaining accuracy on earlier tasks?
  • RQ4What diagnostics can quantify capacity usage and transferability during continual learning?

Key findings

  • CLNP achieves near single-task SGD accuracy on permuted MNIST with fixed capacity and no forgetting across tasks.
  • In the permuted MNIST experiment, CLNP attains 98.42% ± 0.04% vs 98.48% ± 0.05% for single-task SGD and 97.0–97.6% for competing methods.
  • The approach reveals that earlier layers offer more transferable features, with later layers showing more growth in new task usage.
  • CLNP allows significant capacity left after 10 tasks (18% in layer 1 and 40% in layer 2 in one setup), enabling about 25 tasks before final capacity depletion under certain configurations.
  • Experiments on CIFAR-10 / CIFAR-100 with wide single-head networks show robustness to multiple tasks and controlled forgetting under graceful margins (1–4%).
  • A more advanced sparsification variant with fine-tuning post-pruning further improves performance and reduces forgetting in CIFAR experiments.

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.