uuujf / sgdnoise Goto Github PK
View Code? Open in Web Editor NEW[ICML 2019] The Anisotropic Noise in Stochastic Gradient Descent: Its Behavior of Escaping from Sharp Minima and Regularization Effects
Home Page: https://arxiv.org/abs/1803.00195
[ICML 2019] The Anisotropic Noise in Stochastic Gradient Descent: Its Behavior of Escaping from Sharp Minima and Regularization Effects
Home Page: https://arxiv.org/abs/1803.00195
Hi,
Recently I am following your work The Anisotropic Noise in Stochastic Gradient Descent: Its Behavior of Escaping from Sharp Minima and Regularization Effects and have been doing an experiment similar to 5.3. FashionMNIST with corrupted labels.
I am planning to reproduce this work. At beginning, I programmed a PyTorch version of this experiment following the training details in D.3. FashionMNIST with corrupted labels. But I cannot reproduce the result in Fig.1. The result given by my code is shown in Fig. 2. In this part, I have two questions:
The test accuracy keeps at around 0.70 (refer to line GD pre 0.1 in Fig.2) after pretraining by GD, which is far higher than that in Fig.1 (0.6622).
Test accuracy is much lower than GD after keeping training by SGD (refer to line MSGD 0.07 20 in Fig.2). It does not grow up but drops a lot instead, which is against to Fig.1.
I run my code several times but unfortunately above questions keep showing up.
Later on, I found this repo. But I still have a few questions.
In the paper, 1200 samples in total are used to train but in this code it generates 6000 samples in training dataset(Fig.3). Please refer to line 80(click here to github website). I think it is just a typo and change it to 1200.
I ran gd.py and sgd.py after I change it to 1200. I tried several times but I still meet the problem above as my own code(Fig.4).
I really appreciate your insightful work and innovative idea. But now I really have no idea about this experiment. Would you please give me some advice? Thank you a lot for your help and I am looking forward to hearing from you soon!
Best wishes!
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.