arXiv:2411.12898math.OCcs.LG2024-11被引 2

揭示梯度压缩对优化收敛的影响与问题结构的关系

Problem-dependent convergence bounds for randomized linear gradient compression

  • 基于随机线性压缩的数学建模,分析其与问题特性的交互
  • 发现压缩惩罚可低至原最坏情况的1/4,取决于问题谱特性
  • 适用于关注分布式训练效率的机器学习研究者

在分布式优化中,模型更新的通信常成为性能瓶颈。为此提出梯度压缩以提升优化吞吐量。由于信息损失,压缩通常会增加达到解所需的迭代次数。本文研究压缩与问题结构之间的相互作用对非凸随机优化中迭代代价的影响。聚焦于线性压缩方案,即压缩与解压可由随机矩阵乘法表示。考虑多种矩阵分布,包括哈达玛正交矩阵和高斯随机矩阵。分析表明,压缩对收敛的影响可通过目标函数关联的光滑矩阵来量化,采用压缩方案定义的范数。结果揭示,在某些情况下压缩性能与问题的低秩结构或其他谱特性相关,且我们的界预测压缩带来的惩罚远低于仅依赖压缩程度的最坏情况界。实验验证了理论发现,包括微调图像分类模型。

原文摘要 · Abstract (English)

In distributed optimization, the communication of model updates can be a performance bottleneck. Consequently, gradient compression has been proposed as a means of increasing optimization throughput. In general, due to information loss, compression introduces a penalty on the number of iterations needed to reach a solution. In this work, we investigate how the iteration penalty depends on the interaction between compression and problem structure, in the context of non-convex stochastic optimization. We focus on linear schemes, where compression and decompression can be modeled as multiplication with a random matrix. We consider several distributions of matrices, among them Haar-distributed orthogonal matrices and matrices with random Gaussian entries. We find that the impact of compression on convergence can be quantified in terms of a smoothness matrix associated with the objective function, using a norm defined by the compression scheme. The analysis reveals that in certain cases, compression performance is related to low-rank structure or other spectral properties of the problem and our bounds predict that the penalty introduced by compression is significantly reduced compared to worst-case bounds that only consider the compression level, ignoring problem data. We verify the theoretical findings experimentally, including fine-tuning an image classification model.

分布式优化梯度压缩收敛分析

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。