Distributed deep learning is an effective way to reduce the training time for large datasets as well as complex models. However, the limited scalability caused by network-overheads makes it difficult to synchronize the parameters of all workers and gossip-based methods that demonstrate stable scalability regardless of the number of workers have been proposed. However, to use gossip-based methods in general cases, the validation accuracy for a large mini-batch needs to be verified. For this, we first empirically study the characteristics of gossip methods in a large mini-batch problem and observe that gossip methods preserve higher validation accuracy than AllReduce-SGD (stochastic gradient descent) when the number of batch sizes is increased, and the number of workers is fixed. However, the delayed parameter propagation of the gossip-based models decreases validation accuracy in large node scales. To cope with this problem, we propose Crossover-SGD that alleviates the delay propagation of weight parameters via segment-wise communication and random network topology with fair peer selection. We also adapt hierarchical communication to limit the number of workers in gossip-based communication methods. To validate the effectiveness of our method, we conduct empirical experiments and observe that our Crossover-SGD shows higher node scalability than stochastic gradient push.
Electronics and Telecommunications Research Institute, Grant/Award Number: 20ZT1100; Institute for Information and Communications Technology Promotion, Grant/Award Number: IITP‐2020‐2018‐0‐01431; Korea Institute of Science and Technology Information, Grant/Award Number: KSC‐2019‐CRE‐0105; National Research Foundation of Korea, Grant/Award Number: 2021R1F1A1062779 Funding informationThis research was supported by National Supercomputing Center with supercomputing resources including technical support (KSC‐2019‐CRE‐0105), the MSIT (Ministry of Science and ICT), Korea, under the ITRC (Information Technology Research Center) support program (IITP‐2020‐2018‐0‐01431) supervised by the IITP (Institute for Information & communications Technology Promotion), Basic Science Research Program Through the National Research Foundation of Korea (NRF) funded by the Ministry of Education (2021R1F1A1062779), and Electronics and Telecommunications Research Institute (ETRI) Grant funded by the Korean government (20ZT1100, Development of ICT Convergence Technology based on Urban Area). We would like to thank Editage ( https://www.editage.co.kr ) for English language editing.