├── .gitignore ├── LICENSE ├── README.md ├── assets ├── intro.png └── results.png ├── backbone ├── EfficientNet.py ├── MNISTMLP.py ├── MNISTMLP_PNN.py ├── ResNet18.py ├── ResNet18_PNN.py ├── __init__.py └── utils │ ├── __init__.py │ └── modules.py ├── datasets ├── __init__.py ├── mnist_360.py ├── perm_mnist.py ├── rot_mnist.py ├── seq_cifar10.py ├── seq_cifar100.py ├── seq_miniimagenet.py ├── seq_mnist.py ├── seq_tinyimagenet.py ├── transforms │ ├── __init__.py │ ├── denormalization.py │ ├── permutation.py │ └── rotation.py └── utils │ ├── __init__.py │ ├── continual_dataset.py │ ├── gcl_dataset.py │ └── validation.py ├── gem_license ├── models ├── __init__.py ├── agem.py ├── agem_r.py ├── bic.py ├── der.py ├── derpp.py ├── er.py ├── er_ace.py ├── ewc_on.py ├── fdr.py ├── gdumb.py ├── gem.py ├── gss.py ├── hal.py ├── icarl.py ├── joint.py ├── joint_gcl.py ├── lucir.py ├── lwf.py ├── mer.py ├── pnn.py ├── rpc.py ├── sgd.py ├── si.py ├── soif.py ├── utils │ ├── __init__.py │ └── continual_model.py ├── xder.py ├── xder_ce.py └── xder_rpc.py ├── requirements.txt ├── tests ├── test_der_example.py └── test_er_example.py └── utils ├── __init__.py ├── args.py ├── augmentations.py ├── batch_norm.py ├── best_args.py ├── buffer.py ├── conf.py ├── continual_training.py ├── gss_buffer.py ├── ifs_buffer.py ├── influence_ntk.py ├── loggers.py ├── magic.py ├── main.py ├── metrics.py ├── ntk_generator.py ├── ring_buffer.py ├── simclrloss.py ├── status.py └── training.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/README.md -------------------------------------------------------------------------------- /assets/intro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/assets/intro.png -------------------------------------------------------------------------------- /assets/results.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/assets/results.png -------------------------------------------------------------------------------- /backbone/EfficientNet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/backbone/EfficientNet.py -------------------------------------------------------------------------------- /backbone/MNISTMLP.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/backbone/MNISTMLP.py -------------------------------------------------------------------------------- /backbone/MNISTMLP_PNN.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/backbone/MNISTMLP_PNN.py -------------------------------------------------------------------------------- /backbone/ResNet18.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/backbone/ResNet18.py -------------------------------------------------------------------------------- /backbone/ResNet18_PNN.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/backbone/ResNet18_PNN.py -------------------------------------------------------------------------------- /backbone/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/backbone/__init__.py -------------------------------------------------------------------------------- /backbone/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /backbone/utils/modules.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/backbone/utils/modules.py -------------------------------------------------------------------------------- /datasets/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/datasets/__init__.py -------------------------------------------------------------------------------- /datasets/mnist_360.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/datasets/mnist_360.py -------------------------------------------------------------------------------- /datasets/perm_mnist.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/datasets/perm_mnist.py -------------------------------------------------------------------------------- /datasets/rot_mnist.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/datasets/rot_mnist.py -------------------------------------------------------------------------------- /datasets/seq_cifar10.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/datasets/seq_cifar10.py -------------------------------------------------------------------------------- /datasets/seq_cifar100.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/datasets/seq_cifar100.py -------------------------------------------------------------------------------- /datasets/seq_miniimagenet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/datasets/seq_miniimagenet.py -------------------------------------------------------------------------------- /datasets/seq_mnist.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/datasets/seq_mnist.py -------------------------------------------------------------------------------- /datasets/seq_tinyimagenet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/datasets/seq_tinyimagenet.py -------------------------------------------------------------------------------- /datasets/transforms/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /datasets/transforms/denormalization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/datasets/transforms/denormalization.py -------------------------------------------------------------------------------- /datasets/transforms/permutation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/datasets/transforms/permutation.py -------------------------------------------------------------------------------- /datasets/transforms/rotation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/datasets/transforms/rotation.py -------------------------------------------------------------------------------- /datasets/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /datasets/utils/continual_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/datasets/utils/continual_dataset.py -------------------------------------------------------------------------------- /datasets/utils/gcl_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/datasets/utils/gcl_dataset.py -------------------------------------------------------------------------------- /datasets/utils/validation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/datasets/utils/validation.py -------------------------------------------------------------------------------- /gem_license: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/gem_license -------------------------------------------------------------------------------- /models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/models/__init__.py -------------------------------------------------------------------------------- /models/agem.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/models/agem.py -------------------------------------------------------------------------------- /models/agem_r.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/models/agem_r.py -------------------------------------------------------------------------------- /models/bic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/models/bic.py -------------------------------------------------------------------------------- /models/der.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/models/der.py -------------------------------------------------------------------------------- /models/derpp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/models/derpp.py -------------------------------------------------------------------------------- /models/er.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/models/er.py -------------------------------------------------------------------------------- /models/er_ace.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/models/er_ace.py -------------------------------------------------------------------------------- /models/ewc_on.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/models/ewc_on.py -------------------------------------------------------------------------------- /models/fdr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/models/fdr.py -------------------------------------------------------------------------------- /models/gdumb.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/models/gdumb.py -------------------------------------------------------------------------------- /models/gem.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/models/gem.py -------------------------------------------------------------------------------- /models/gss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/models/gss.py -------------------------------------------------------------------------------- /models/hal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/models/hal.py -------------------------------------------------------------------------------- /models/icarl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/models/icarl.py -------------------------------------------------------------------------------- /models/joint.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/models/joint.py -------------------------------------------------------------------------------- /models/joint_gcl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/models/joint_gcl.py -------------------------------------------------------------------------------- /models/lucir.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/models/lucir.py -------------------------------------------------------------------------------- /models/lwf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/models/lwf.py -------------------------------------------------------------------------------- /models/mer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/models/mer.py -------------------------------------------------------------------------------- /models/pnn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/models/pnn.py -------------------------------------------------------------------------------- /models/rpc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/models/rpc.py -------------------------------------------------------------------------------- /models/sgd.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/models/sgd.py -------------------------------------------------------------------------------- /models/si.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/models/si.py -------------------------------------------------------------------------------- /models/soif.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/models/soif.py -------------------------------------------------------------------------------- /models/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /models/utils/continual_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/models/utils/continual_model.py -------------------------------------------------------------------------------- /models/xder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/models/xder.py -------------------------------------------------------------------------------- /models/xder_ce.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/models/xder_ce.py -------------------------------------------------------------------------------- /models/xder_rpc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/models/xder_rpc.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/requirements.txt -------------------------------------------------------------------------------- /tests/test_der_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/tests/test_der_example.py -------------------------------------------------------------------------------- /tests/test_er_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/tests/test_er_example.py -------------------------------------------------------------------------------- /utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/utils/__init__.py -------------------------------------------------------------------------------- /utils/args.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/utils/args.py -------------------------------------------------------------------------------- /utils/augmentations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/utils/augmentations.py -------------------------------------------------------------------------------- /utils/batch_norm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/utils/batch_norm.py -------------------------------------------------------------------------------- /utils/best_args.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/utils/best_args.py -------------------------------------------------------------------------------- /utils/buffer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/utils/buffer.py -------------------------------------------------------------------------------- /utils/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/utils/conf.py -------------------------------------------------------------------------------- /utils/continual_training.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/utils/continual_training.py -------------------------------------------------------------------------------- /utils/gss_buffer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/utils/gss_buffer.py -------------------------------------------------------------------------------- /utils/ifs_buffer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/utils/ifs_buffer.py -------------------------------------------------------------------------------- /utils/influence_ntk.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/utils/influence_ntk.py -------------------------------------------------------------------------------- /utils/loggers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/utils/loggers.py -------------------------------------------------------------------------------- /utils/magic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/utils/magic.py -------------------------------------------------------------------------------- /utils/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/utils/main.py -------------------------------------------------------------------------------- /utils/metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/utils/metrics.py -------------------------------------------------------------------------------- /utils/ntk_generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/utils/ntk_generator.py -------------------------------------------------------------------------------- /utils/ring_buffer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/utils/ring_buffer.py -------------------------------------------------------------------------------- /utils/simclrloss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/utils/simclrloss.py -------------------------------------------------------------------------------- /utils/status.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/utils/status.py -------------------------------------------------------------------------------- /utils/training.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feifeiobama/InfluenceCL/HEAD/utils/training.py --------------------------------------------------------------------------------