arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2210.08371cs.LGcs.CR
收藏

面向一阶方法的 Sketching:适用于低带宽信道的高效算法及其脆弱性

Sketching for First Order Method: Efficient Algorithm for Low-Bandwidth Channel and Vulnerability

Adobe Research(奥多比研究院);Yale University(耶鲁大学);Alibaba Inc.(阿里巴巴集团);MIT(麻省理工学院)

Zhao Song, Yitan Wang, Zheng Yu, Lichen Zhang

AI总结:

本文提出面向分布式一阶优化的随机 sketching 通信压缩框架,在保证收敛的同时降低联邦学习带宽,并揭示其梯度泄漏风险,进而通过加噪实现差分隐私。

摘要:

Sketching(概要/草图压缩)是大规模机器学习中最基础的工具之一。它通过将原始的大规模问题随机压缩到较低维度,从而节省运行时间和内存。本文针对大规模分布式学习场景中的一阶方法提出一种新颖的 sketching 方案,使分布式智能体之间的通信成本得以降低,同时仍保证算法的收敛性。给定维度为 d 的高维梯度信息,智能体传递由 sketching 矩阵 R∈R^{s×d}(其中 s≪d)处理后的压缩信息,接收方则通过 de-sketching 矩阵 R^⊤ 进行解压缩,以“恢复”原始维度中的信息。利用该框架,我们开发了通信成本更低的联邦学习算法。然而,这种随机 sketching 并不能直接保护本地数据隐私。我们通过给出一种具体的梯度攻击方法,证明在应用 sketching 技术后梯度泄漏问题仍然存在。作为补救措施,我们严格证明:在梯度信息中加入额外随机噪声后,算法将满足差分隐私,从而为联邦学习任务得到一种兼具通信高效性与差分隐私的一阶方法。我们的 sketching 方案还可进一步推广到其他学习场景,其本身也可能具有独立的研究价值。

英文摘要:

Sketching, which randomly compresses a large problem into lower dimensions to save runtime and memory, is a fundamental tool in large-scale machine learning. We propose a sketching scheme for first order methods in distributed learning that reduces the communication cost per round between agents, keeps our bound on the total communication no larger than for uncompressed distributed gradient descent, and still guarantees convergence. An agent compresses a gradient of high dimension $d$ with a sketching matrix $R\in\mathbb{R}^{s\times d}$, $s\ll d$, and the receiver maps it back to dimension $d$ with the de-sketching matrix $R^\top$. Using this framework, we develop federated learning algorithms with lower per-round communication. However, such random sketching alone gives no formal privacy guarantee for the local data. We present a gradient-matching attack and prove that, under smoothness and non-degeneracy assumptions on the model, gradient descent on the data finds an input whose sketched gradient matches the observed one, at a linear rate. This input need not be the data, but an attacker that follows a client over several rounds with fresh sketches recovers the data with the same attack, under smoothness and non-degeneracy conditions, and no attack does so from the first $T<m/s$ rounds, where $m$ is the data dimension. As a remedy, we prove that adding Gaussian noise to the gradients makes the algorithm differentially private. This noisy variant still sends only $s$ numbers per client in each round, and for convex and strongly convex objectives it converges at the rates of the noise-free algorithm, up to an additive error term that depends on the privacy level and, in our bounds, grows as $s$ decreases. Our total communication guarantees are proved for the noise-free algorithm. We expect our sketching scheme to extend to other learning settings, and it may be of independent interest.

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

↑