Gradient descent with full privacy for individuals in network data

Fully Node-Private Gradient Descent

Machine Learning

Summary

Many machine learning systems protect privacy by treating each data example as a separate person’s information. But in some datasets, like email threads, each example involves multiple people, and each person can have many examples. This means standard privacy methods can still leak sensitive information about individuals. The authors developed the first practical algorithm that trains models while fully protecting privacy for each individual and all their data together. They tested their method on real datasets and explored how privacy settings affect model quality.

What this means in practice

  • For machine learning engineers: Train models on data involving multiple people per example while protecting each individual’s entire data contribution.
  • For social network analysts: Create privacy-preserving algorithms that protect users in graph-structured social data during predictive modeling.

Authors

Colin Bobocea, Adam Smith

Abstract

Privacy protections in machine learning systems (ML) are typically analyzed assuming a well-defined map from training examples to individuals. However, for many types of data, each example corresponds to several individuals---e.g., an email thread is ``about'' all of its participants---and each individual may contribute many examples. In such settings, ML models trained with standard, example-level differential privacy (DP) can leak substantial information about individuals. \emph{Node-level} DP, in contrast, asks that a trained model look similar if we remove an individual and all their attributed examples from the dataset. The terminology comes from viewing the dataset as a graph in which nodes are individuals and examples are viewed as edges connecting individuals. Node DP is known to be challenging to achieve for most graph statistics, and there have thus far been no practical ML training algorithms that satisfy full node DP, though several relaxations have been studied. We design and evaluate the first fully node-private algorithm for gradient descent on examples that correspond to edges in a graph. Our algorithm uses, as a key tool, a variant of a recent node-private algorithm for edge-weight estimation (Aden-Ali et al., 2026). We show how this tool can be adapted for gradient estimation in high dimension via \emph{Kashin representations}, and integrated into an end-to-end DP optimization pipeline. We run multiple experiments on two datasets using a logistic regression model and a multi-layer neural network. Our experiments isolate the effects of the parameters of our algorithm, and elucidate the costs incurred for greater privacy. Our work provides an important proof of concept and opens the way to scalable, fully node-private model training.