arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2305.15264math.OCcs.DCcs.LGstat.ML
收藏

当特征稀少时误差反馈大放异彩

Error Feedback Shines when Features are Rare

KAUST(阿卜杜拉国王科技大学);SDAIA-KAUST AI(沙特数据与人工智能局-阿卜杜拉国王科技大学人工智能中心)

Peter Richtárik, Elnur Gasanov, Konstantin Burlachenko

AI总结:

本文首次证明在特征稀少的分布式非凸优化中,结合贪婪稀疏化与误差反馈的梯度下降通信复杂度优于原始梯度下降。

摘要:

我们提供了首个证明:在求解分布式优化问题 $\min_{x\in \mathbb{R}^d} {f(x)=\frac{1}{n}\sum_{i=1}^n f_i(x)}$ 时,采用贪婪稀疏化($\color{green}\sf TopK$)与误差反馈($\color{green}\sf EF$)的梯度下降($\color{green}\sf GD$)可以获得比原始 $\color{green}\sf GD$ 更优的通信复杂度,其中 $n$ 为客户端数量,$d$ 为特征数量,$f_1,\dots,f_n$ 为光滑非凸函数。尽管自2014年Seide等人首次提出 $\color{green}\sf EF$ 以来已有大量研究,该问题至今才得以解决。我们证明 $\color{green}\sf EF$ 在特征稀少的场景下表现优异,即每个特征仅存在于少数客户端的数据中。为阐释主要结果,我们表明,为了找到一个随机向量 $\hat{x}$ 使得 $\lVert {\nabla f(\hat{x})} \rVert^2 \leq \varepsilon$ 的期望成立,采用 $\color{green}\sf Top1$ 稀疏化器和 $\color{green}\sf EF$ 的 $\color{green}\sf GD$ 仅需每个工作节点向服务器通信 ${\cal O} \left(\left( L+{\color{blue}r} \sqrt{ \frac{{\color{red}c}}{n} \min \left( \frac{{\color{red}c}}{n} \max_i L_i^2, \frac{1}{n}\sum_{i=1}^n L_i^2 \right) }\right) \frac{1}{\varepsilon} \right)$ 比特,其中 $L$ 为 $f$ 的光滑常数,$L_i$ 为 $f_i$ 的光滑常数,$\color{red}c$ 为拥有任意单一特征的客户端最大数量($1\leq {\color{red}c} \leq n$),$\color{blue}r$ 为任意单一客户端拥有的特征最大数量($1\leq {\color{blue}r} \leq d$)。显然,通信复杂度随 $\color{red}c$ 减小而改善(即特征越稀少),且在同一场景下可远优于 $\color{green}\sf GD$ 的 ${\cal O}({\color{blue}r} L \frac{1}{\varepsilon})$ 通信复杂度。

英文摘要:

We provide the first proof that gradient descent $\left({\color{green}\sf GD}\right)$ with greedy sparsification $\left({\color{green}\sf TopK}\right)$ and error feedback $\left({\color{green}\sf EF}\right)$ can obtain better communication complexity than vanilla ${\color{green}\sf GD}$ when solving the distributed optimization problem $\min_{x\in \mathbb{R}^d} {f(x)=\frac{1}{n}\sum_{i=1}^n f_i(x)}$, where $n$ = # of clients, $d$ = # of features, and $f_1,\dots,f_n$ are smooth nonconvex functions. Despite intensive research since 2014 when ${\color{green}\sf EF}$ was first proposed by Seide et al., this problem remained open until now. We show that ${\color{green}\sf EF}$ shines in the regime when features are rare, i.e., when each feature is present in the data owned by a small number of clients only. To illustrate our main result, we show that in order to find a random vector $\hat{x}$ such that $\lVert {\nabla f(\hat{x})} \rVert^2 \leq \varepsilon$ in expectation, ${\color{green}\sf GD}$ with the ${\color{green}\sf Top1}$ sparsifier and ${\color{green}\sf EF}$ requires ${\cal O} \left(\left( L+{\color{blue}r} \sqrt{ \frac{{\color{red}c}}{n} \min \left( \frac{{\color{red}c}}{n} \max_i L_i^2, \frac{1}{n}\sum_{i=1}^n L_i^2 \right) }\right) \frac{1}{\varepsilon} \right)$ bits to be communicated by each worker to the server only, where $L$ is the smoothness constant of $f$, $L_i$ is the smoothness constant of $f_i$, ${\color{red}c}$ is the maximal number of clients owning any feature ($1\leq {\color{red}c} \leq n$), and ${\color{blue}r}$ is the maximal number of features owned by any client ($1\leq {\color{blue}r} \leq d$). Clearly, the communication complexity improves as ${\color{red}c}$ decreases (i.e., as features become more rare), and can be much better than the ${\cal O}({\color{blue}r} L \frac{1}{\varepsilon})$ communication complexity of ${\color{green}\sf GD}$ in the same regime.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑