NeurIPS2023

2Direction: Theoretically Faster Distributed Training with Bidirectional Communication Compression

Alexander Tyurin, Peter Richtárik

7 citations

Abstract

We consider distributed convex optimization problems in the regime when the communication between the server and the workers is expensive in both uplink and downlink directions. We develop a new and provably accelerated method, which we call 2Direction, based on fast bidirectional compressed communication and a new bespoke error-feedback mechanism which may be of independent interest. Indeed, we find that the EF and EF21-P mechanisms (Seide et al., 2014; Gruntkowska et al., 2023) that have considerable success in the design of efficient non-accelerated methods are not appropriate for accelerated methods. In particular, we prove that 2Direction improves the previous state-of-the-art communication complexity Θ~(K×(Lαμ+Lmaxωnμ+ω))\widetilde{\Theta}\left(K \times \left(\frac{L}{\alpha \mu} + \frac{L_{\max} \omega}{n \mu} + \omega\right)\right) (Gruntkowska et al., 2023) to Θ~(K×(L(ω+1)αμ+Lmaxω2nμ+1α+ω))\widetilde{\Theta}(K \times (\sqrt{\frac{L (\omega + 1)}{\alpha \mu}} + \sqrt{\frac{L_{\max} \omega^2}{n \mu}} + \frac{1}{\alpha} + \omega)) in the μ\mu-strongly-convex setting, where LL and LmaxL_{\max} are smoothness constants, nn is # of workers, ω\omega and α\alpha are compression errors of the RandKK and TopKK sparsifiers (as examples), KK is # of coordinates/bits that the server and workers send to each other. Moreover, our method is the first that improves upon the communication complexity of the vanilla accelerated gradient descent (AGD) method (Nesterov, 2018). We obtain similar improvements in the general convex regime as well. Finally, our theoretical findings are corroborated by experimental evidence.