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

Abstract: 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.
Subjects:Machine Learning (cs.LG) ; Cryptography and Security (cs.CR)
Comments:ICML 2023. The attack adds a Lipschitz pseudo-Hessian assumption: one round gives an input with matching sketched gradient, which need not be the data, and recovery is proved from at least $m/s$ rounds with fresh sketches. DP uses bounded gradient differences and full composition. Private convergence holds up to a privacy-dependent error. Fixed: sketch index, a sign, non-convex bound
Cite as: arXiv:2210.08371 [cs.LG]

cs.LG recent