Learning to Generate Image Embeddings with User-level Differential Privacy

Zheng Xu, Maxwell Collins, Yuxiao Wang, Liviu Panait, Sewoong Oh +4 more
11/20/2022
cs.LGcs.CRcs.CV

Official code: google-research/federated (765 stars, Python, Apache-2.0, last commit 2026-03-25).

Abstract

Small on-device models have been successfully trained with user-level differential privacy (DP) for next word prediction and image classification tasks in the past. However, existing methods can fail when directly applied to learn embedding models using supervised training data with a large class space.

Show full abstract

To achieve user-level DP for large image-to-embedding feature extractors, we propose DP-FedEmb, a variant of federated learning algorithms with per-user sensitivity control and noise addition, to train from user-partitioned data centralized in the datacenter. DP-FedEmb combines virtual clients, partial aggregation, private local fine-tuning, and public pretraining to achieve strong privacy utility trade-offs. We apply DP-FedEmb to train image embedding models for faces, landmarks and natural species, and demonstrate its superior utility under same privacy budget on benchmark datasets DigiFace, EMNIST, GLD and iNaturalist. We further illustrate it is possible to achieve strong user-level DP guarantees of $ε<4$ while controlling the utility drop within 5%, when millions of users can participate in training.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

A collection of Google research projects related to Federated Learning and Federated Analytics.

765201Python, StarlarkSep 14, 20208 months agoApache-2.0

Similar Papers

Cite this paper

@article{xu2022learning,
  title  = {Learning to Generate Image Embeddings with User-level Differential Privacy},
  author = {Zheng Xu and Maxwell Collins and Yuxiao Wang and Liviu Panait and Sewoong Oh and Sean Augenstein and Ting Liu and Florian Schroff and H. Brendan McMahan},
  year   = {2022},
  eprint = {2211.10844},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.10844}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2211.10844.svg)](https://codeofpaper.com/paper/2211.10844)

Discussion