English

Choosing Public Datasets for Private Machine Learning via Gradient Subspace Distance

Machine Learning 2025-07-25 v2 Cryptography and Security Computer Vision and Pattern Recognition Data Structures and Algorithms Machine Learning

Abstract

Differentially private stochastic gradient descent privatizes model training by injecting noise into each iteration, where the noise magnitude increases with the number of model parameters. Recent works suggest that we can reduce the noise by leveraging public data for private machine learning, by projecting gradients onto a subspace prescribed by the public data. However, given a choice of public datasets, it is not a priori clear which one may be most appropriate for the private task. We give an algorithm for selecting a public dataset by measuring a low-dimensional subspace distance between gradients of the public and private examples. We provide theoretical analysis demonstrating that the excess risk scales with this subspace distance. This distance is easy to compute and robust to modifications in the setting. Empirical evaluation shows that trained model accuracy is monotone in this distance.

Keywords

Cite

@article{arxiv.2303.01256,
  title  = {Choosing Public Datasets for Private Machine Learning via Gradient Subspace Distance},
  author = {Xin Gu and Gautam Kamath and Zhiwei Steven Wu},
  journal= {arXiv preprint arXiv:2303.01256},
  year   = {2025}
}

Comments

Accepted to SaTML 2025

R2 v1 2026-06-28T08:57:05.044Z