Skip to content

DC-ASGD(Delay Compensated Asynchronous Stochastic Gradient Descent)? #8744

Closed

Description

@liufei1656

DC-ASGD is Microsoft's very useful algorithm for distributed asynchronous training. Compared with the ordinary ASGD algorithm, DC-ASGD has no significant loss in speed, but can get almost the same effect as Sequential SGD. As far as I know, other mainstream deep learning open source tools have implemented this algorithm, such as: CNTK, Mxnet, Paddle and so on. But in Tensorflow I have not found similar modules.

What related GitHub issues or StackOverflow threads have you found by searching the web for your problem?

microsoft/CNTK#1295
PaddlePaddle/Paddle#185
apache/mxnet#3614

What other attempted solutions have you tried?

I tried to implement this algorithm in Tensorflow by myself. I do not have enough ability to do this now.

The link address of the paper

Asynchronous Stochastic Gradient Descent with Delay Compensation for Distributed Deep Learning

Activity

  1. renyi533 commented on Mar 27, 2017

    @renyi533

    I am also very interested with this. Any update?

  2. added
    type:feature
    stat:contribution welcome
    on Mar 28, 2017
  3. just-a-jazz commented on Apr 1, 2017

    @just-a-jazz

    I can do this

  4. just-a-jazz commented on Apr 4, 2017

    @just-a-jazz

    @aselle Tensorflow's documentation on distributed computing leads me to believe that the end user is responsible for assigning workers and parameter servers to different devices. Should I then only implement Gradient Descent with Delay Compensation, which the user will have to implement asynchronously?

  5. aselle commented on Apr 4, 2017

    @aselle
    Contributor

    @mrry, might be able to give you more direction in this vein (also @tfboyd )

  6. mrry commented on Apr 8, 2017

    @mrry
    Contributor

    I haven't read the paper in depth, but from a quick skim of the paper you could implement the update rule as a tf.train.Optimizer subclass, and the asynchronous execution would be provided by whatever training loop the user used. (It would presumably "work" in a synchronous case as well, because wt – wbak would be zero, and hence it would devolve into classic SGD.)

  7. YirenBj commented on Apr 19, 2017

    @YirenBj

    I already implemented this. Currently, I am verifying its impact on metrics, such as AUC, in our ads data. I will send the pull request if this is really useful.

  8. MorganGellert commented on Oct 25, 2017

    @MorganGellert

    Is support for the adaptive variance parameter version of DC-ASGD planned on being added? The paper found that it performed better in all cases than the constant version which is currently implemented.

  9. dynamicwebpaige commented on Oct 26, 2019

    @dynamicwebpaige
    Contributor

    Closing this issue, as the PR for DC-ASGD was merged (#9551). Thank you! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    stat:contribution welcometype:feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions