8000 GitHub - simonguiroy/ABE: Activation-Based Early-Stopping
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

simonguiroy/ABE

Repository files navigation

ABE - Activation-Based Early-Stopping

This repository includes code accompagnying our paper Improving Meta-Learning Generalization with Activation-Based Early-Stopping (see link), accepted at CoLLAs 2022 and to be published in the Proceedings of Machine Learning Research (PMLR). Here is also a short YouTube video explaining the paper.

Authors : Simon Guiroy, Christopher Pal, Gonçalo Mordido, Sarath Chandar.

In this repo you will find :

  • activation_based_early_stopping.py : Simple implementation of the functions of ABE, namely for computing the aggregated moments and obtain the neural activation trajectory (Equation 3), and computing the objective value (Equation 4) which is maximized to identify the critical layer, critical moment, and critical time. The implementation is in PyTorch (for GPU support) but it can easily be implemented in Tensoflow (see notebook), or in Numpy, and even in pure python.
  • ABE_tensorflow.ipynb : Jupyter notebook example for how to apply the method, implemented in Tensorflow
  • ABE_pytorch.ipynb : Jupyter notebook example for how to apply the method, implemented in PyTorch

About

Activation-Based Early-Stopping

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0