DPack: Efficiency-Oriented Privacy Budget Scheduling

Pierre Tholoniat, Kelly Kostopoulou, Mosharaf Chowdhury, Asaf Cidon, Roxana Geambasu +2 more
12/26/2022
8 citations
cs.CRcs.LG

Official code: columbia/alibaba-dp-workload (5 stars, Python, Apache-2.0, last commit 2024-09-04). 1 more implementation below.

Abstract

Machine learning (ML) models can leak information about users, and differential privacy (DP) provides a rigorous way to bound that leakage under a given budget. This DP budget can be regarded as a new type of compute resource in workloads of multiple ML models training on user data.

Show full abstract

Once it is used, the DP budget is forever consumed. Therefore, it is crucial to allocate it most efficiently to train as many models as possible. This paper presents the scheduler for privacy that optimizes for efficiency. We formulate privacy scheduling as a new type of multidimensional knapsack problem, called privacy knapsack, which maximizes DP budget efficiency. We show that privacy knapsack is NP-hard, hence practical algorithms are necessarily approximate. We develop an approximation algorithm for privacy knapsack, DPack, and evaluate it on microbenchmarks and on a new, synthetic private-ML workload we developed from the Alibaba ML cluster trace. We show that DPack: (1) often approaches the efficiency-optimal schedule, (2) consistently schedules more tasks compared to a state-of-the-art privacy scheduling algorithm that focused on fairness (1.3-1.7x in Alibaba, 1.0-2.6x in microbenchmarks), but (3) sacrifices some level of fairness for efficiency. Therefore, using DPack, DP ML operators should be able to train more models on the same amount of user data while offering the same privacy guarantee to their users.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
columbia/alibaba-dp-workloadOfficial5PythonApache-2.02024-09-04
columbia/dpackOfficial1PythonApache-2.02024-09-10
Apache-2.0

Benchmark for differential privacy budget schedulers, based on an Alibaba cluster trace. Used in DPack (EuroSys '25).

51Python, ShellApr 24, 20232 years agoApache-2.0
columbia/dpackOfficial100%
Apache-2.0

DPack: Efficiency-Oriented Privacy Budget Scheduling (EuroSys '25)

10Python, DockerfileAug 30, 20242 years agoApache-2.0

Similar Papers

Cite this paper

@article{tholoniat2022dpack,
  title  = {DPack: Efficiency-Oriented Privacy Budget Scheduling},
  author = {Pierre Tholoniat and Kelly Kostopoulou and Mosharaf Chowdhury and Asaf Cidon and Roxana Geambasu and Mathias Lécuyer and Junfeng Yang},
  year   = {2022},
  eprint = {2212.13228},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.13228}
}

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/2212.13228.svg)](https://codeofpaper.com/paper/2212.13228)

Discussion