Skip to content
#machine learning #cybersecurity Preprint Open access

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

Zhao Song Yitan Wang Zheng Yu Lichen Zhang
Nov 2026
Machine Learning Cybersecurity

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.

View source

Similar papers

#artificial intelligence Preprint Jul 2024

The Llama 3 Herd of Models

It is found that Llama 3 delivers comparable quality to leading language models such as GPT-4 on a plethora of tasks, and performs competitively with the state-of-the-art on image, video, and speech recognition tasks.

Aaron Grattafiori, Abhimanyu Dubey, Abhinav Jauhri et al. · 21,082 citations · ⚡3,832
#artificial intelligence Conference Open access Jun 2018

Gibson Env: Real-World Perception for Embodied Agents

This paper investigates developing real-world perception for active agents, proposes Gibson Environment for this purpose, and showcases a set of perceptual tasks learned therein.

F. Xia, Amir Zamir, Zhi-Yang He et al. · 1,069 citations · ⚡112
#machine learning Review Open access Oct 2014

Software development in startup companies: A systematic mapping study

The results indicate that software engineering work practices are chosen opportunistically, adapted and configured to provide value under the constrains imposed by the startup context.

Nicolò Paternoster, Carmine Giardino, M. Unterkalmsteiner et al. · 394 citations · ⚡54

Diffusion models as plug-and-play priors

The possibility of inferring high-dimensional data inference in a model that consists of a prior and an auxiliary differentiable constraint given some additional information is considered, thereby allowing a range of potential applications in adapting models to new domains and tasks.

Alexandros Graikos, Esmeralda S. Whitammer, N. Jojic et al. · 316 citations · ⚡15

Trajectory Balance: Improved Credit Assignment in GFlowNets

It is proved that any global minimizer of the trajectory balance objective can define a policy that samples exactly from the target distribution, and empirically demonstrate the benefits of the trajectories balance objective for GFlowNet convergence, diversity of generated samples, and robustness to long action sequenc...

Esmeralda S. Whitammer, Moksh Jain, Emmanuel Bengio et al. · 302 citations · ⚡60

Related blog posts

Microsoft Research Blog Nov 3, 2026

Learn the rules: The hacker mindset

Research Manager Mike Walker reflects on a career spanning hacker culture, cybersecurity, and AI, sharing lessons about trust, teamwork, leadership, and why solving difficult problems requires curiosity, judgment, agility—and an understanding of the rules. The post Learn the rules: The hacker mindset appeared first on Microsoft Research.

MIT News · Artificial Intelligence Dec 1, 2026

A new form of memory helps robots learn complex skills

The method uses large vision-language models to teach smaller models how to remember key details about a robot’s surroundings, making the machines more reactive and resourceful.

Microsoft Research Blog Nov 30, 2026

Forgotten, or just hidden? Stress testing how AI models unlearn

When AI “forgets,” is the information really gone? Standard tests can suggest an AI model has successfully forgotten specific information. A controlled Microsoft Research study found a different picture when researchers changed the questions and used strategic prompts. The findings point to a gap between looking like information is forgotten and making it resistant to recovery. The post Forgotten, or just hidden? Stress testing how AI models unlearn appeared first on Microsoft Research.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.