Skip to content

Latest commit

 

History

History

NeurIPStutorial

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

NeurIPS tutorial "Lifelong Learning Machines"

The code in this repository is used as part of the NeurIPS 2022 tutorial "Lifelong Learning Machines".

In Part 2a of the tutorial, an overview is provided of currently used strategies for continual learning. In this overview, following van de Ven et al. (2022, Nature Machine Intelligence), five computational strategies for continual learning are distinguished:

image

To illustrate the relative strengths and weaknesses of these different computational strategies, an empirical comparison is performed in which for each strategy two representative examples methods are included:

The comparison is done on the Split MNIST benchmark, which is performed according to each of the three continual learning scenarios (van de Ven et al., 2022 Nature Machine Intelligence):

image

Note that in the NeurIPS tutorial, the term "task" is used instead of "context" to refer to the incremental parts of the Split MNIST protocol.

To run the experimental comparison from the tutorial yourself, the following lines of code can be used:

python NeurIPStutorial/compare_for_tutorial.py --seed=2 --n-seeds=20 --experiment=splitMNIST --scenario=task
python NeurIPStutorial/compare_for_tutorial.py --seed=2 --n-seeds=20 --experiment=splitMNIST --scenario=domain
python NeurIPStutorial/compare_for_tutorial.py --seed=2 --n-seeds=20 --experiment=splitMNIST --scenario=class

This should produce graphs similar to the ones below:

image