Differentially Private Query Learning: from Data Publishing to Model Publishing

Tianqing Zhu, Ping Xiong, Gang Li, Wanlei Zhou, Philip S. Yu

Introduction

Traditional differential privacy (DP) often compromises data utility when answering a large volume of queries because the added noise typically scales with the query count. This paper introduces Machine Learning Differentially Private (MLDP), a novel method that shifts the paradigm from publishing noisy data to publishing a private machine learning model. By training a model on a small, carefully selected set of noisy query results, curators can provide accurate answers for an unlimited number of future queries without further depleting the privacy budget.

The Challenge of Non-Interactive Data Publishing

In non-interactive data publishing, a curator releases information (such as census data or search logs) for public analysis. To protect individual privacy, DP is employed by adding random noise to query results. However, traditional DP faces a significant hurdle: correlation and sensitivity. Asking numerous similar questions increases the sensitivity—the maximum impact one individual can have on the results. To maintain strict privacy, a massive amount of noise must be added to every answer, often rendering the data useless. Furthermore, once data is published, "fresh" queries cannot be answered without risking additional privacy leaks.

The MLDP Methodology

The authors propose a shift to Model Publishing. Instead of releasing a noisy dataset or a static list of query results, they release a differentially private predictive model.

Comparison of the traditional Laplace Method and the proposed MLDP Method.

The MLDP process follows these steps:

  1. Training Set Selection: Selecting a small subset of queries ($F_x$) that cover the data range well with low correlation.
  2. Adding Noise: Applying Laplace noise to the true answers of these training queries. Because the training set is small, the required noise is much lower than if the entire workload were privatized.
  3. Model Training: Training a machine learning model (e.g., Linear Regression, SVM, or a Neural Network) using these noisy query-answer pairs as training samples.
  4. Model Publishing: Releasing the trained model to the public.
  5. Prediction: Users submit their "fresh" queries to the model, which predicts the answers. Since the model no longer accesses the original dataset, these predictions consume zero additional privacy budget.

Key Insights

A primary advantage of MLDP is decoupling privacy from scale. Unlike traditional DP, where more queries necessitate more noise, MLDP's error is independent of the number of test queries. Once the model is trained, an unlimited number of questions can be answered "for free."

However, there is a Training Set Paradox: a larger training set ($m$) helps the model learn better but increases sensitivity and noise. The research identifies an optimal "sweet spot" for $m$ to minimize total error. By treating queries as training features rather than just data points, the system generalizes to unseen queries effectively.

Experimental Results

The researchers evaluated MLDP using five distinct datasets: NetTrace (network traffic), Search Logs, Social Networks, Netflix (similarity queries), and Simulated Histograms.

MAE performance of MLDP vs. Laplace across different test set sizes in Social Network and Simulated Histogram datasets.

A key finding is the Stability vs. Linear Decay of error. In experiments on the Social Network and Simulated Histogram datasets, the Mean Absolute Error (MAE) of the traditional Laplace method increased linearly as the number of queries grew. Conversely, MLDP’s error remained almost perfectly flat, demonstrating its superior scalability.

MLDP significantly outperformed state-of-the-art methods like Matrix and Private Multiplicative Weights (PMW). For instance, at a privacy budget of $\epsilon = 0.3$ on NetTrace, MLDP achieved an MAE of ~26 compared to ~106 for the Laplace method. The study also found that Linear Regression excels for simple range queries, while SVMs are better suited for complex similarity queries that require capturing non-linear relationships.

Limitations and Future Work

The success of MLDP depends heavily on selecting a representative set of training queries. Poor coverage leads to inaccurate predictions for fresh queries. Additionally, highly complex queries may require more sophisticated architectures like deep neural networks, which are challenging to train under DP constraints. Future work will explore adapting this "model publishing" framework for even more diverse types of data structures.

Summary updated

BibTeX
@inproceedings{zhu2017differentially,
  author = {Tianqing Zhu and Ping Xiong and Gang Li and Wanlei Zhou and Philip S. Yu},
  title = {{Differentially Private Query Learning: from Data Publishing to Model Publishing}},
  booktitle = {IEEE BigData},
  year = {2017},
  doi = {10.1109/bigdata.2017.8258037},
}
Figure