Skip to content

Code for the paper "Quantitative Propagation of Chaos for SGD in Wide Neural Networks"

Notifications You must be signed in to change notification settings

fonfonx/MeanFieldSGD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MeanFieldSGD

Code for the paper Quantitative Propagation of Chaos for SGD in Wide Neural Networks by Valentin De Bortoli, Alain Durmus, Xavier Fontaine and Umut Şimşekli, in Advances in Neural Information Processing Systems, 2020.

See the paper for more details.

How to use the code

Run the run.py file by specifying which parameters to use (width, batch size, etc.) . It will produce a jobs file. Then run all the jobs of this file, for example with the parallel tool: parallel < jobs. This will create log files into a folder name width_exp_T100.

Once the networks are trained, the weights are saved into the width_exp_T100 folder. Run the ipython notebook visualize_results.ipynb to display the histograms.

Credits

The code is based on the following repository.

About

Code for the paper "Quantitative Propagation of Chaos for SGD in Wide Neural Networks"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published