Abstract
Local differential privacy (LDP) is increasingly employed in privacy-preserving machine learning to protect user data before sharing it with an untrusted aggregator. Most LDP methods assume that users possess only a single data record, which is a significant limitation since users often gather extensive datasets (e.g., images, text, time-series data) and frequently have access to public datasets. To address this limitation, we propose a locally private sampling framework that leverages both the private and public datasets of each user. Specifically, we assume each user has two distributions: $p$ and $q$ that represent their private and public datasets, respectively. The objective is to design a mechanism that generates a private sample approximating $p$ while simultaneously preserving $q$. We frame this objective as a minimax optimization problem using $f$-divergence as the utility measure. We fully characterize the minimax optimal mechanisms for general $f$-divergences provided that $p$ and $q$ are discrete distributions. Remarkably, we demonstrate that this optimal mechanism is universal across all $f$-divergences. Experiments validate the effectiveness of our minimax optimal mechanism compared to the state-of-the-art private sampler.
Introduction
Standard Local Differential Privacy (LDP) frameworks typically assume a user contributes a single data point. However, modern applications often involve users with rich local datasets and access to public aggregate statistics (priors). This paper introduces a locally private sampling framework that treats local data as a distribution $p$ and utilizes a public prior $q$ to enhance utility. By releasing a single sample that approximates $p$ while respecting the structure of $q$, we can achieve higher accuracy than traditional LDP methods that ignore such "free" information.
Minimax Optimal Sampling
The core of our approach is a minimax optimization problem. We seek a Markov kernel $K$ that minimizes the maximum $f$-divergence between the true distribution $p$ and the sampling distribution $pK$. A critical constraint is invariance: if a user's data matches the public prior ($p=q$), the mechanism must return $q$ ($qK=q$).
We developed a recursive algorithm ($O(n^3)$ complexity) to construct this optimal mechanism for discrete distributions. A key theoretical finding is Universal Optimality: the mechanism remains optimal regardless of the specific $f$-divergence chosen (e.g., Total Variation or KL-divergence).
Experimental Results
We evaluated our approach against the state-of-the-art "relative mollifier" (RM) framework across synthetic and real-world datasets, including Avazu Click Rate Prediction and MovieLens.
As shown in the figure above, our approach provides much more stable utility as the user's private distribution $p$ shifts. In the Avazu AdTech dataset, our method demonstrated substantial gains across various subcategories.
Quantitatively, our method outperformed the baseline in 90.5% of AdTech cases and showed a 41% overall improvement in the MovieLens recommendation task. When the public prior is uniform, the optimal mechanism naturally simplifies to the classic "Randomized Response" technique, bridging our work with foundational DP theory.
Conclusion
By incorporating public priors and optimizing for the worst-case scenario, our locally private sampling framework offers a robust and efficient solution for privacy-preserving data release. The discovery of universal optimality simplifies the deployment of these mechanisms, as a single construction suffices for various utility metrics.
Summary updated