Variance reduction in decentralized training over heterogeneous data
Large-scale machine learning (ML) applications benefit from decentralized learning since it could execute parallel training and only needs to communicate with neighbors. However, comparing to exact averaging in centralized training, decentralized could only provide inexact averaging, resulting in model difference among workers, or to say model variance. When data partition is heterogeneous, the variance would be even larger and results in more severe client drift with standard Local SGD. In this work, we propose a new decentralized variance reduction method, decentralized SCAFFOLD which uses control variates to correct for the client drift in its local updates. Benefiting from reducing variance in every local steps, we show that decentralized SCAFFOLD is 2-3 times faster in terms of communcation rounds comparing to decentralized Local SGD when heterogeneous data. Further, we show that interpolating a few steps doing SCAFFOLD correction in decentralized Local SGD training could also achieve acceleration and remedy client drift, based on which we build a well-performing mixture decentralized training system with both low computation and low communication complexity.
Cite this item
Liu, Y. (2021). Variance reduction in decentralized training over heterogeneous data [Master thesis, ETH Zurich; Supervised by S. U. Stich]. https://infoscience.epfl.ch/handle/20.500.14299/265618
Click Copy to copy the citation, or select the text manually.
MA-2020-32.pdf
Main Document
Published version
openaccess
N/A
2.15 MB
Adobe PDF
ee27b1202732e2dd164ed8edca6f5a39