跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 分布式、并行与集群计算

arXiv:2102.09032 (cs)
[提交于 2021年2月17日]

标题:Consistent Lock-free Parallel Stochastic Gradient Descent for Fast and Stable Convergence

作者:Karl Bäckström, Ivan Walulya, Marina Papatriantafilou, Philippas Tsigas
查看论文《Consistent Lock-free Parallel Stochastic Gradient Descent for Fast and Stable Convergence》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Stochastic gradient descent (SGD) is an essential element in Machine Learning (ML) algorithms. Asynchronous parallel shared-memory SGD (AsyncSGD), including synchronization-free algorithms, e.g. HOGWILD!, have received interest in certain contexts, due to reduced overhead compared to synchronous parallelization. Despite that they induce staleness and inconsistency, they have shown speedup for problems satisfying smooth, strongly convex targets, and gradient sparsity. Recent works take important steps towards understanding the potential of parallel SGD for problems not conforming to these strong assumptions, in particular for deep learning (DL). There is however a gap in current literature in understanding when AsyncSGD algorithms are useful in practice, and in particular how mechanisms for synchronization and consistency play a role. We focus on the impact of consistency-preserving non-blocking synchronization in SGD convergence, and in sensitivity to hyper-parameter tuning. We propose Leashed-SGD, an extensible algorithmic framework of consistency-preserving implementations of AsyncSGD, employing lock-free synchronization, effectively balancing throughput and latency. We argue analytically about the dynamics of the algorithms, memory consumption, the threads' progress over time, and the expected contention. We provide a comprehensive empirical evaluation, validating the analytical claims, benchmarking the proposed Leashed-SGD framework, and comparing to baselines for training multilayer perceptrons (MLP) and convolutional neural networks (CNN). We observe the crucial impact of contention, staleness and consistency and show how Leashed-SGD provides significant improvements in stability as well as wall-clock time to convergence (from 20-80% up to 4x improvements) compared to the standard lock-based AsyncSGD algorithm and HOGWILD!, while reducing the overall memory footprint.
评论: 13 pages, 10 figures. Accepted in the 35th IEEE International Parallel & Distributed Processing Symposium
主题: 分布式、并行与集群计算 (cs.DC); 数据结构与算法 (cs.DS)
引用方式: arXiv:2102.09032 [cs.DC]
  (或者 arXiv:2102.09032v1 [cs.DC] 对于此版本)
  https://doi.org/10.48550/arXiv.2102.09032

提交历史

来自:Karl Bäckström
[v1] 2021年2月17日 星期三 21:24:44 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.DC
< 上一篇   |   下一篇 >
最新 | 近期 | 2021-02
切换浏览方式为:
cs
cs.DS

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站