Compressed Decentralized Momentum Stochastic Gradient Methods for Nonconvex Optimization

2508.04950v1 cs.LG, math.OC 2025-08-09
Авторы:

Wei Liu, Anweshit Panda, Ujwal Pandey, Christopher Brissette, Yikang Shen, George M. Slota, Naigang Wang, Jie Chen, Yangyang Xu

Резюме на русском

На данный момент возникают сложности при решении задачи неконвексной стохастической оптимизации в децентрализованных сетях, в том числе из-за высокой стоимости обмена данными между узлами и ограниченности мощности вычислительных устройств. Для решения этих проблем предлагается два новых алгоритма: сжатый децентрализованный адаптивный метод и сжатый децентрализованный метод типа Heavy Ball. Оба методы используют технику моментной ускорения для быстрого схождения и технику сжатия для экономии ресурсов связи. Главная новинка заключается в способности этих методов поддерживать эффективность в ситуациях, где встречаются взаимные конфликты между требованиями к точности, сжатию и балансу градиентов. Эти методы доказали свою эффективность в стохастических задачах оптимизации, в том числе при обучении нейронных сетей и трансформеров, демонстрируя линейное ускорение и свойство топологии-независимости в условиях определённого диапазона ошибки.

Abstract

In this paper, we design two compressed decentralized algorithms for solving nonconvex stochastic optimization under two different scenarios. Both algorithms adopt a momentum technique to achieve fast convergence and a message-compression technique to save communication costs. Though momentum acceleration and compressed communication have been used in literature, it is highly nontrivial to theoretically prove the effectiveness of their composition in a decentralized algorithm that can maintain the benefits of both sides, because of the need to simultaneously control the consensus error, the compression error, and the bias from the momentum gradient. For the scenario where gradients are bounded, our proposal is a compressed decentralized adaptive method. To the best of our knowledge, this is the first decentralized adaptive stochastic gradient method with compressed communication. For the scenario of data heterogeneity without bounded gradients, our proposal is a compressed decentralized heavy-ball method, which applies a gradient tracking technique to address the challenge of data heterogeneity. Notably, both methods achieve an optimal convergence rate, and they can achieve linear speed up and adopt topology-independent algorithmic parameters within a certain regime of the user-specified error tolerance. Superior empirical performance is observed over state-of-the-art methods on training deep neural networks (DNNs) and Transformers.

Ссылки и действия