Learning with label differential privacy via projections
Abstract
Aspects of the disclosure are directed to implementing a projection-based stochastic gradient descent technique that maintains label differential privacy when training one or more machine learning models. The technique includes denoising gradients by exploiting projections when training the machine learning models to improve performance of the trained machine learning models while maintaining label differential privacy. For instance, the projection-based stochastic gradient descent technique can improve performance of machine learning models in higher-privacy regimes, such as digital content management.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 80 · Forward citations: 0.
Claims (20 — 3 Independent, 17 Dependent)
- Claim 1Independent Claim
A method for training a machine learning model with differentially private labels comprising: receiving, by one or more processors, a training dataset and plurality of model weights; computing, by the one or more processors, a plurality of gradients from the training dataset and plurality of model weights based on one or more parameters for training the machine learning model; aggregating, by the one or more processors, the plurality of gradients and adding, by the one or more processors, noise to the plurality of gradients based on a privacy parameter to generate a noisy aggregated gradient; denoising, by the one or more processors, the noisy aggregated gradient via projecting to generate a projection-based gradient; and updating, by the one or more processors, the plurality of model weights to generate a plurality of updated model weights based on the projection-based gradient.
- Claim 2Depends on #1
The method of claim 1, wherein the one or more parameters comprises at least one of learning rate, number of training iterations, batch size, noise multiplier, or gradient norm bound.
- Claim 3Depends on #1
The method of claim 1, wherein the privacy parameter is below a threshold value indicating a high privacy domain.
- Claim 4Depends on #1
The method of claim 1, further comprising clipping, by the one or more processors, the plurality of gradients.
- Claim 5Depends on #1
The method of claim 1, further comprising iteratively performing the computing, aggregating, denoising, and updating for a number of training iterations.
- Claim 6Depends on #5
The method of claim 5, further comprising outputting, by the one or more processors, a trained machine learning model with trained model weights after performing the number of training iterations.
- Claim 7Depends on #1
The method of claim 1, wherein denoising the noisy aggregated gradient further comprises projecting the noisy aggregated gradient onto a span of per-example per-class gradients.
- Claim 8Depends on #1
The method of claim 1, wherein denoising the noisy aggregated gradient further comprises projecting the noisy aggregated gradient onto a convex hull of per-example per-class gradients.
- Claim 9Depends on #1
The method of claim 1, wherein denoising the noisy aggregated gradient further comprises projecting the noisy aggregated gradient onto a convex hull of per-example per-class gradients based on a random batch of examples generated from the training dataset.
- Claim 10Depends on #1
The method of claim 1, wherein denoising the noisy aggregated gradient further comprises performing auto-differentiation.
- Claim 11Depends on #10
The method of claim 10, wherein performing auto-differentiation further comprises performing forward mode auto-differentiation to cumulatively compute a Jacobian-vector product of the projection-based gradient.
- Claim 12Depends on #10
The method of claim 10, wherein performing auto-differentiation further comprises performing reverse mode auto-differentiation to cumulatively compute a vector-Jacobian product of the projection-based gradient.
- Claim 13Depends on #1
The method of claim 1, wherein denoising the noisy aggregated gradient further comprises smoothing a projection coefficient of the projection-based gradient using regularization.
- Claim 14Independent Claim
A system comprising: one or more processors; and one or more storage devices coupled to the one or more processors and storing instructions that, when executed by the one or more processors, cause the one or more processors to perform operations for training a machine learning model with differentially private labels, the operations comprising: receiving a training dataset and plurality of model weights; computing a plurality of gradients from the training dataset and plurality of model weights based on one or more parameters for training the machine learning model; aggregating the plurality of gradients and adding, by the one or more processors, noise to the plurality of gradients based on a privacy parameter to generate a noisy aggregated gradient; denoising the noisy aggregated gradient via projecting to generate a projection-based gradient; and updating the plurality of model weights to generate a plurality of updated model weights based on the projection-based gradient.
- Claim 15Depends on #14
The system of claim 14, wherein the operations further comprise clipping, by the one or more processors, the plurality of gradients.
- Claim 16Depends on #14
The system of claim 14, wherein the operations further comprise: iteratively performing the computing, aggregating, denoising, and updating for a number of training iterations; and outputting a trained machine learning model with trained model weights after performing the number of training iterations.
- Claim 17Depends on #14
The system of claim 14, wherein denoising the noisy aggregated gradient further comprises at least one of: projecting the noisy aggregated gradient onto a span of per-example per-class gradients; projecting the noisy aggregated gradient onto a convex hull of per-example per-class gradients; or projecting the noisy aggregated gradient onto a convex hull of per-example per-class gradients based on a random batch of examples generated from the training dataset.
- Claim 18Depends on #14
The system of claim 14, wherein denoising the noisy aggregated gradient further comprises performing auto-differentiation by performing at least one of: forward mode auto-differentiation to cumulatively compute a Jacobian-vector product of the projection-based gradient; or reverse mode auto-differentiation to cumulatively compute a vector-Jacobian product of the projection-based gradient.
- Claim 19Depends on #14
The system of claim 14, wherein denoising the noisy aggregated gradient further comprises smoothing a projection coefficient of the projection-based gradient using regularization.
- Claim 20Independent Claim
A non-transitory computer readable medium for storing instructions that, when executed by one or more processors, cause the one or more processors to perform operations for training a machine learning model with differentially private labels, the operations comprising: receiving a training dataset and plurality of model weights; computing a plurality of gradients from the training dataset and plurality of model weights based on one or more parameters for training the machine learning model; aggregating the plurality of gradients and adding, by the one or more processors, noise to the plurality of gradients based on a privacy parameter to generate a noisy aggregated gradient; denoising the noisy aggregated gradient via projecting to generate a projection-based gradient; and updating the plurality of model weights to generate a plurality of updated model weights based on the projection-based gradient.
Technical Overview & Description
BACKGROUND Differential privacy frameworks introduce calibrated noise into machine learning pipelines to safeguard the privacy of user data. Differential privacy is widely used in private machine learning applications, aiming to protect both the features and labels of the training examples when training machine learning models. However, protecting both features and labels can be excessive in domains where the sensitivity lies solely in the labels of the training examples, such as digital content management like online advertising. In the online advertising domain for example, the primary objective is to predict whether a user will perform a useful action on an advertiser website, e.g., purchase an advertised product, after interacting with an advertisement on a publisher website, e.g., clicking the advertisement. This task can inherently involve private labels, but not necessarily private features, as the prediction can be made based on features generally considered non-private, such as the product description associated with the advertisement. Label differential privacy captures such domains by leveraging the standard definition of differential privacy to only protect the privacy of the labels. Label differential privacy can rely on randomized response, where each label is randomly changed to a potentially different label according to a predetermined probability distribution. The training is then conducted with the randomized labels. Differential privacy can be governed by a privacy parameter E, where smaller values of the privacy parameter, e.g., less than 1, can indicate a higher-privacy regime. However, in higher-privacy regimes, such as digital content management, signal-to-noise ratio may be extremely low in the randomized labels generated by randomized response, resulting in lower performance, e.g., accuracy, of the machine learning models trained in this manner. While stochastic gradient descent for differential privacy can exhibit higher signal-to-noise rat
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (80)
Non-Patent Literature (10)
- Nicolas Papernot, Shuang Song, Ilya Mironov, Ananth Raghunathan, Kunal Talwar, and Ulfar Erlingsson. Scalable private learning with Pate. In ICLR, 2018. 34 pages.
- Paszke et al. PyTorch: An imperative style, high-performance deep learning library. In NeurIPS, pp. 8024-8035, 2019.
- Rachel Cummings, Damien Desfontaines, David Evans, Roxana Geambasu, Matthew Jagielski, Yangsibo Huang, Peter Kairouz, Gautam Kamath, Sewoong Oh, Olga Ohrimenko, et al. Challenges towards the next frontier in privacy. arXiv preprint arXiv:2304.06929, 2023. 50 pages.
- Raef Bassily, Adam Smith, and Abhradeep Thakurta. Private empirical risk minimization: Efficient algorithms and tight error bounds. In FOCS, pp. 464-473, 2014.
- Rafael Muller, Simon Kornblith, and Geoffrey E Hinton. When does label smoothing help? In NeurIPS, 2019. 10 pages.
- Ruoxi Wang, Bin Fu, Gang Fu, and MingliangWang. Deep
- &
- cross network for ad click predictions. In ADKDD, 2017. 7 pages.
- Ruoxi Wang, Rakesh Shivanna, Derek Cheng, Sagar Jain, Dong Lin, Lichan Hong, and Ed Chi. DCN V2: Improved deep
- &