paper-with-me

Papers

Asynchronous Local-SGD Training for Language Modeling

2024-01-17 · Bo Liu, Rachita Chhaparia, Arthur Douillard, Satyen Kale, Andrei A. Rusu, Jiajun Shen, Arthur Szlam, Marc'Aurelio Ranzato

Local stochastic gradient descent (Local-SGD), also referred to as federated averaging, is an approach to distributed optimization where each device performs more than one SGD update per communication. This work presents an empirical study of {\it asynchronous} Local-SGD for training language models; that is, each worker updates the global parameters as soon as it has finished its SGD steps. We conduct a comprehensive investigation by examining how worker hardware heterogeneity, model size, number of workers, and optimizer could impact the learning performance. We find that with naive implementations, asynchronous Local-SGD takes more iterations to converge than its synchronous counterpart despite updating the (global) model parameters more frequently. We identify momentum acceleration on the global parameters when worker gradients are stale as a key challenge. We propose a novel method that utilizes a delayed Nesterov momentum update and adjusts the workers' local training steps based on their computation speed. This approach, evaluated with models up to 150M parameters on the C4 dataset, matches the performance of synchronous Local-SGD in terms of perplexity per update step, and significantly surpasses it in terms of wall clock time.

📄 PDF Abstract BibTeX arXiv:2401.09135

Code (1)

google-deepmind/asyncdiloco 공식 구현 pytorch

Tasks

Distributed OptimizationLanguage ModelingLanguage Modelling

Methods 이 논문이 사용한 방법론

SGD Stochastic Gradient Descent is an iterative optimization technique that uses minibatches of data to form an expectation of the gradient, rather than the full gradient using…

Similar Papers 제목 키워드 기반

HALoS: Hierarchical Asynchronous Local SGD over Slow Networks for Geo-Distributed Large Language Model Training

2025-06-05 · Geon-Woo Kim, Junbo Li, Shashidhar Gandham, Omar Baldonado 외

Training large language models (LLMs) increasingly relies on geographically distributed accelerators, causing prohibitive communication costs across regions and uneven utilization of heterogeneous hardware. We propose HA…

Language ModelingLanguage ModellingLarge Language Model

No Need to Talk: Asynchronous Mixture of Language Models

2024-10-04 · Anastasiia Filippova, Angelos Katharopoulos, David Grangier, Ronan Collobert

We introduce SMALLTALK LM, an innovative method for training a mixture of language models in an almost asynchronous manner. Each model of the mixture specializes in distinct parts of the data distribution, without the ne…

Language ModelingLanguage Modelling

Unsupervised Learning for Asynchronous Resource Allocation in Ad-hoc Wireless Networks

2020-11-05 · Zhiyang Wang, Mark Eisen, Alejandro Ribeiro

We consider optimal resource allocation problems under asynchronous wireless network setting. Without explicit model knowledge, we design an unsupervised learning method based on Aggregation Graph Neural Networks (Agg-GN…

Ordered Local Momentum for Asynchronous Distributed Learning under Arbitrary Delays

2026-01-18 · Chang-Wei Shi, Shi-Shang Wang, Wu-Jun Li arxiv

Momentum SGD (MSGD) serves as a foundational optimizer in training deep models due to momentum's key role in accelerating convergence and enhancing generalization. Meanwhile, asynchronous distributed learning is crucial …

Modeling Speech Acts in Asynchronous Conversations: A Neural-CRF Approach

2018-12-01 · CL 2018 12 · Shafiq Joty, Tasnim Mohiuddin

Participants in an asynchronous conversation (e.g., forum, e-mail) interact with each other at different times, performing certain communicative acts, called speech acts (e.g., question, request). In this article, we pro…

SentenceWord Embeddings