Choosing Public Datasets for Private Machine Learning via Gradient Subspace Distance
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 unclear why certain datasets perform better than others for a particular private task, or how to identify the best one. We provide a simple metric which measures a low-dimensional subspace distance between gradients of the public and private examples. We empirically demonstrate that it is well-correlated with resulting model utility when using the public and private dataset pair (i.e., trained model accuracy is monotone in the distance), and thus can be used to select an appropriate public dataset. 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.
Authors
- Zhiwei Steven Wu (ORCID: https://orcid.org/0000-0002-8125-8227)
- Gautam Kamath (ORCID: https://orcid.org/0000-0003-0048-2559)
- Xin Gu
Institutions
- Pennsylvania State University (US)
- University of Waterloo (CA)
- Carnegie Mellon University (US)
Publication Details
- Published
- 2025-04-09
- DOI
- https://doi.org/10.1109/satml64287.2025.00054
- Citations
- 1
- Primary Topic
- Privacy-Preserving Technologies in Data
- Type
- article
- Field-Weighted Citation Impact
- 2.48
Funders
- National Science Foundation