numenta / nupic.research

Experimental algorithms. Unsupported.
https://nupicresearch.readthedocs.io
GNU Affero General Public License v3.0
107 stars 60 forks source link

GMP Pruning and Related Functionality #551

Closed mvacaporale closed 3 years ago

mvacaporale commented 3 years ago

This PR is for GMP pruning mixins, configs, and related functionality. It includes the following changes:

The last two mixins can be used together or independently depending on the use case. One may apply GMP pruning during pre-training or afterwards. If the latter, ThreeStageLRMixin should be used to enable lr phases of stabilization, pruning, and fine-tuning. Otherwise, a OneCycle LR or other schedule may be used for GMP throughout pre-training. As of now, there are experiments that try out both methods and it's an open question as to which leads to the best eval-loss.