Coder Social home page Coder Social logo

Comments (3)

MannyKayy avatar MannyKayy commented on May 14, 2024 1

@toshihikoyanase Thanks for the pointer to the ASHA pruner (now merged). According to the ICLR 2019 ASHA submission, ASHA > PBT in most cases so I will close out this issue.

from optuna.

toshihikoyanase avatar toshihikoyanase commented on May 14, 2024

Thank you for your feature request. We also think PBT is a quite efficient method especially for optimization of neural network architectures.

I think we can implement PBT on Optuna, but it will take a substantial amount of implementation/deployment costs. This is because current Optuna does not have any mechanisms to share snapshots of models (e.g., weights of neural networks) among trials, which are required to implement 'exploit' step of PBT. The developers of PBT will need to implement the storage for model snapshots which works in parallel and distributed environments, and the users will need to deploy it by themselves.

For a meantime, we do not have plans to implement features to share model snapshots. If we receive such requests from many users, we'll prioritize the implementation of the snapshot feature and PBT.

By the way, the successive halving algorithm and hyperband, which are competitive methods with PBT, will be merged to master soon. We'll recommend them if you want to accelerate optimization.

from optuna.

MannyKayy avatar MannyKayy commented on May 14, 2024

Yep, true. I quickly hacked together a PBT solution on top of optuna by integrating fabric and pex. It also required the addition of a class PartialTrial(BaseTrial) as some categorical hyper-parameters relate to architectural changes which must be fixed when foward sampling hyper-parameters. The storage model and database had to be modified to support distributed model version tracking. I will leave this issue open and if more people show interest in this feature, i will make some time and look into cleaning up the code and making a pull request.

from optuna.

Related Issues (20)

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.