Papers › D3p -- A Python Package for Differentially-Private Probabilistic Programming

D3p -- A Python Package for Differentially-Private Probabilistic Programming

22 Mar 2021arXiv:2103.11648archive 2025-07-28

Lukas Prediger, Niki Loppi, Samuel Kaski, Antti Honkela

We present d3p, a software package designed to help fielding runtime efficient widely-applicable Bayesian inference under differential privacy guarantees. d3p achieves general applicability to a wide range of probabilistic modelling problems by implementing the differentially private variational inference algorithm, allowing users to fit any parametric probabilistic model with a differentiable density function. d3p adopts the probabilistic programming paradigm as a powerful way for the user to flexibly define such models. We demonstrate the use of our software on a hierarchical logistic regression example, showing the expressiveness of the modelling approach as well as the ease of running the parameter inference. We also perform an empirical evaluation of the runtime of the private inference on a complex model and find a ∼10 fold speed-up compared to an implementation using TensorFlow Privacy.

PaperPDFCode

Code

DPBayes/dppp mentioned on GitHubjax report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

Not run by Syntology. Nothing on this page verifies that the listed code works.

Tasks

Bayesian InferenceProbabilistic ProgrammingVariational Inferenceregression

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Logistic RegressionVariational Inference

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections