GithubHelp home page GithubHelp logo

loop-math / esjacobians Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sowmaster/esjacobians

0.0 0.0 0.0 613 KB

Implementations of the algorithms described in the paper: On the Convergence Theory for Hessian-Free Bilevel Algorithms.

Python 10.54% Jupyter Notebook 89.46%

esjacobians's Introduction

Partial Zeroth-Order based Bilevel Optimizers

Implementations of the algorithms described in the NeurIPS 22 paper On the Convergence Theory for Hessian-Free Bilevel Algorithms.

Authors

Daouda Sow, Kaiyi Ji, and Yingbin Liang

Quickstart

This repository is built on hypertorch. You can get started with the simple examples in IPython notebooks HyperRepresentation.ipynb and DeepHyperRepresentation.ipynb.

Appropriate datasets will be downloaded and put into data folder.

Examples

To run the deep hyper-representation experiment with PZOBO-S algorithm on the MNIST dataset, please run the following command:

python bilevel_training_mnist.py --dataset MNIST 

To run few-shot meta-learning experiment with PZOBO algorithm on the MiniImageNet dataset, please run the following command:

python meta_learning.py --dataset miniimagenet 

Other supported dataset for few-shot meta-learning are Omniglot and FC100. Please, check the file meta-learning.py for other command-line arguments that can be set.

Cite

If this code is useful for your research, please cite the following papers:

@article{sow2021based,
  title={Es-based jacobian enables faster bilevel optimization},
  author={Sow, Daouda and Ji, Kaiyi and Liang, Yingbin},
  journal={arXiv preprint arXiv:2110.07004},
  year={2021}
}
@inproceedings{grazzi2020iteration,
  title={On the Iteration Complexity of Hypergradient Computation},
  author={Grazzi, Riccardo and Franceschi, Luca and Pontil, Massimiliano and Salzo, Saverio},
  journal={Thirty-seventh International Conference on Machine Learning (ICML)},
  year={2020}
}

esjacobians's People

Contributors

sowmaster avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.