EDiT trains LLMs with local SGD plus model sharding, adding a pseudo-gradient penalty to stabilize loss; it reports modest quality gains and higher throughput, though a proof of convergence contains an error.
Local SGD Accelerates Convergence by Exploiting Second Order Information of the Loss Function
1 Pith paper cite this work. Polarity classification is still indexing.
abstract
With multiple iterations of updates, local statistical gradient descent (L-SGD) has been proven to be very effective in distributed machine learning schemes such as federated learning. In fact, many innovative works have shown that L-SGD with independent and identically distributed (IID) data can even outperform SGD. As a result, extensive efforts have been made to unveil the power of L-SGD. However, existing analysis failed to explain why the multiple local updates with small mini-batches of data (L-SGD) can not be replaced by the update with one big batch of data and a larger learning rate (SGD). In this paper, we offer a new perspective to understand the strength of L-SGD. We theoretically prove that, with IID data, L-SGD can effectively explore the second order information of the loss function. In particular, compared with SGD, the updates of L-SGD have much larger projection on the eigenvectors of the Hessian matrix with small eigenvalues, which leads to faster convergence. Under certain conditions, L-SGD can even approach the Newton method. Experiment results over two popular datasets validate the theoretical results.
citation-role summary
citation-polarity summary
fields
cs.DC 1years
2024 1verdicts
CONDITIONAL 1roles
background 1polarities
background 1representative citing papers
citing papers explorer
-
EDiT: A Local-SGD-Based Efficient Distributed Training Method for Large Language Models
EDiT trains LLMs with local SGD plus model sharding, adding a pseudo-gradient penalty to stabilize loss; it reports modest quality gains and higher throughput, though a proof of convergence contains an error.