emtiyaz / vadam Goto Github PK
View Code? Open in Web Editor NEWCode for ICML 2018 paper on "Fast and Scalable Bayesian Deep Learning by Weight-Perturbation in Adam" by Khan, Nielsen, Tangkaratt, Lin, Gal, and Srivastava
Code for ICML 2018 paper on "Fast and Scalable Bayesian Deep Learning by Weight-Perturbation in Adam" by Khan, Nielsen, Tangkaratt, Lin, Gal, and Srivastava
According to Yarin Gal's repo DropoutUncertaintyExps, there was test set contamination due to the bayesian optmisation of hypers:
Update (2018) We replaced the Bayesian optimisation implementation (which was used to find hypers) with a grid-search over the hypers. This is following feedback from @capybaralet who spotted test-set contamination (some train-set points, used to tune hypers which were shared across all splits, were used as test-set points in later splits). The new implementation iterates over the 20 splits, and for each train-test split it creates a new train-val split to tune hypers. These hypers are discarded between different train-test splits.
Yet, it seems the UCI regression experiments here use the same splits as in the DropoutUncertaintyExps repo. Was the bug fixed or is it still there and the reason for doing so here was the reviewers' request?
This should work for any model, right? Not just for RL? I'm a bit confused for why the ActorNetworkEpsilon in the Tensorflow implementation contains code to optimise the policy network.
I'm trying to use it for StyleGAN-based image reconstruction, i.e. find a distribution over low-dimensional latents z such that G(z) match a given input image. The network is already trained and fixed, it's just the latent that I want to optimise.
Also, why is the design such that the critic network is also exposed to the outside DDPG.py? That is also something RL-specific, right?
Thanks,
Raz
In your UCI experiments, you set your objective function to a log loss (and likewise the BO objective). Surely one wants to perform VI with VADAM and should optimize an ELBO?
vadam/pytorch/vadam/optimizers.py
Line 67 in c09d3ac
See also:
vadam/pytorch/vadam/optimizers.py
Line 92 in c09d3ac
Make sure that the same mini-batch should be used here.
One way to achieve that is to use state['step']
as the seed of the random number generator for generating mini-batches. I did that in my Autograd implementation
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.