mlsanityData to 14 Oct 2026

Differentially Private Optimization for Non-Decomposable Objective Functions

arXiv 2310.03104 ↗First posted 4 Oct 2023cs.LG cs.CRcited by 0

Not on the map. Why?

Abstract (arXiv)

Unsupervised pre-training is a common step in developing computer vision models and large language models. In this setting, the absence of labels requires the use of similarity-based loss functions, such as contrastive loss, that favor minimizing the distance between similar inputs and maximizing the distance between distinct inputs. As privacy concerns mount, training these models using differential privacy has become more important. However, due to how inputs are generated for these losses, one of their undesirable properties is that their L2 sensitivity grows with the batch size. This property is particularly disadvantageous for differentially private training methods, such as DP-SGD. To overcome this issue, we develop a new DP-SGD variant for similarity based loss functions -- in particular, the commonly-used contrastive loss -- that manipulates gradients of the objective function in a novel way to obtain a sensitivity of the summed gradient that is O(1) for batch size n. We test our DP-SGD variant on some CIFAR-10 pre-training and CIFAR-100 finetuning tasks and show that, in both tasks, our method's performance comes close to that of a non-private model and generally outperforms DP-SGD applied directly to the contrastive loss.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 34 of its 45 references that are in the map. First posted on arXiv 4 Oct 2023.

Builds on

34 of 45 references.

References · 34

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  3. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  4. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
  5. 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
  6. 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,355
  7. 2016Deep Learning with Differential Privacycited by 2,728
  8. 2016Membership Inference Attacks against Machine Learning Modelscited by 2,281
  9. 2020Big Self-Supervised Models are Strong Semi-Supervised Learnerscited by 1,380
  10. 2022LaMDA: Language Models for Dialog Applicationscited by 1,220
  11. 2021Large Language Models Can Be Strong Differentially Private Learnerscited by 412
  12. 2020DeCLUTR: Deep Contrastive Learning for Unsupervised Textual Representationscited by 251
22 more
  1. 2018Improving the Gaussian Mechanism for Differential Privacy: Analytical Calibration and Optimal Denoisingcited by 218
  2. 2020Information Leakage in Embedding Modelscited by 203
  3. 2018An efficient framework for learning sentence representationscited by 198
  4. 2020CLEAR: Contrastive Learning for Sentence Representationcited by 186
  5. 2020CERT: Contrastive Self-supervised Learning for Language Understandingcited by 169
  6. 2022Reconstructing Training Data with Informed Adversariescited by 148
  7. 2020Lipschitz constant estimation of Neural Networks via sparse polynomial optimizationcited by 87
  8. 2021EncoderMI: Membership Inference against Pre-trained Encoders in Contrastive Learningcited by 73
  9. 2020Federated Learning with Only Positive Labelscited by 55
  10. 2022Connect the Dots: Tighter Discrete Approximations of Privacy Loss Distributionscited by 52
  11. 2020Scaling up Differentially Private Deep Learning with Fast Per-Example Gradient Clippingcited by 47
  12. 2018Learning Cross-Lingual Sentence Representations via a Multi-task Dual-Encoder Modelcited by 46
  13. 2022Efficiently Computing Local Lipschitz Constants of Neural Networks via Bound Propagationcited by 45
  14. 2015Efficient Per-Example Gradient Computationscited by 42
  15. 2021Quantifying and Mitigating Privacy Risks of Contrastive Learningcited by 36
  16. 2017Learning Spread-out Local Feature Descriptorscited by 34
  17. 2022Learning to Generate Image Embeddings with User-level Differential Privacycited by 23
  18. 2021CoBERL: Contrastive BERT for Reinforcement Learningcited by 21
  19. 2019Efficient Per-Example Gradient Computations in Convolutional Neural Networkscited by 17
  20. 2023ViP: A Differentially Private Foundation Model for Computer Visioncited by 17
  21. 2022FedCL: Federated Contrastive Learning for Privacy-Preserving Recommendationcited by 6
  22. 2021Towards Sharper Utility Bounds for Differentially Private Pairwise Learningcited by 2

Built on by

Not cited yet.