You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
@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?
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.)
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.
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.
Activity
renyi533 commentedon Mar 27, 2017
I am also very interested with this. Any update?
just-a-jazz commentedon Apr 1, 2017
I can do this
just-a-jazz commentedon Apr 4, 2017
@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?
aselle commentedon Apr 4, 2017
@mrry, might be able to give you more direction in this vein (also @tfboyd )
mrry commentedon Apr 8, 2017
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.Optimizersubclass, 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.)YirenBj commentedon Apr 19, 2017
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.
MorganGellert commentedon Oct 25, 2017
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.
dynamicwebpaige commentedon Oct 26, 2019
Closing this issue, as the PR for DC-ASGD was merged (#9551). Thank you! 👍