Coder Social home page Coder Social logo

uuujf / sgdnoise Goto Github PK

View Code? Open in Web Editor NEW
13.0 2.0 1.0 29 KB

[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

Python 100.00%
sgd noise

sgdnoise's People

Contributors

uuujf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

siritao

sgdnoise's Issues

Regarding your Experiments in 5.3. FashionMNIST with corrupted labels

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:

  1. 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).

  2. 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.

image
(Fig. 1)

image
(Fig. 2)

Later on, I found this repo. But I still have a few questions.

  1. 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.

  2. 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).

image
(Fig.3)

image
(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!

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.