A Simple and Practical Algorithm for Differentially Private Data Release

Moritz Hardt, Katrina Ligett, Frank McSherry

Releasing sensitive data is a high-stakes balancing act. On one hand, researchers and policymakers need accurate statistics to make informed decisions; on the other, the privacy of individuals must remain absolute. Differential Privacy (DP) provides a rigorous mathematical framework for this balance, but for years, a significant gap existed: algorithms were either theoretically optimal but practically unusable, or simple to implement but too noisy for real-world applications.

In their paper, "A Simple and Practical Algorithm for Differentially Private Data Release," Moritz Hardt, Katrina Ligett, and Frank McSherry bridge this gap with MWEM (Multiplicative Weights Exponential Mechanism).

The Challenge of Linear Queries

The core challenge in privacy-preserving data release is answering a large set of "linear queries"—such as counting how many individuals in a dataset possess a specific combination of traits—without leaking individual records.

Standard approaches, like adding Laplace noise to every query, quickly exhaust the "privacy budget." As more questions are asked, the noise required to maintain privacy grows, eventually rendering the answers useless. Previous research proposed sophisticated "matrix mechanisms" or theoretical algorithms that scaled better, but these were often computationally prohibitive for large datasets or performed poorly on realistic, non-worst-case data.

The MWEM Approach

The authors introduce MWEM, which treats data release as an iterative learning process. The algorithm maintains an internal "approximating distribution" of the data and improves it over $T$ iterations using three core steps:

  1. The Active Learner (Exponential Mechanism): Instead of answering queries at random, MWEM uses the Exponential Mechanism to select the query from a target set where its current internal model is most inaccurate.
  2. The Teacher (Laplace Mechanism): Once the worst-performing query is identified, the algorithm asks for the true answer from the private dataset, protected by a small amount of Laplace noise.
  3. The Update (Multiplicative Weights): MWEM uses this noisy answer to update its internal model. It increases the weights of records that would have made the model's answer closer to the true (noisy) answer and decreases the weights of others.

By only spending the privacy budget on the most informative queries, MWEM builds a highly accurate synthetic version of the data efficiently.

Key Insights and Scalability

  • Intelligent Selection: The breakthrough insight is that you do not need to measure everything. By using the Exponential Mechanism to find where the model is weakest, the algorithm focuses its limited privacy budget where it matters most.
  • Factored Representations: A major hurdle in DP is that the domain of the data (all possible combinations of attributes) grows exponentially. The authors implemented a factored version of MWEM that represents the distribution as a product of independent parts, allowing them to handle domains as large as $2^{1000}$—far beyond previous limits.
  • Simplicity: Unlike previous state-of-the-art methods that required complex matrix algebra or optimization solvers, MWEM is essentially a loop of three well-known DP primitives.

Experimental Results

The authors evaluated MWEM against several real-world and benchmark datasets, including the Adult dataset (US Census Bureau), the Blood Transfusion Service Center dataset, and the NLTCS (National Long-Term Care Study).

Range Queries

For range queries, MWEM consistently outperformed the "SVD bound"—the theoretical benchmark for the best possible matrix mechanism. This performance gap was especially pronounced at strict privacy levels (smaller epsilon values).

Comparison of MWEM and SVD Lower Bound on Adult and Transfusion datasets for range queries.

Contingency Tables and Datacubes

On small statistical datasets, MWEM's accuracy approached the levels of non-private statistical validity. On the larger NLTCS dataset, it significantly outperformed prior specialized algorithms. For datacube release, MWEM improved the average error by approximately a factor of four compared to previous custom-built solutions.

Furthermore, the factored implementation proved highly efficient, processing a dataset with 1,000 independent binary attributes in just 19 seconds.

Limitations and Future Work

While MWEM is highly effective, the authors note a few limitations:

  • Worst-Case Hardness: Producing synthetic data for arbitrary queries is known to be NP-hard. MWEM avoids this in practice by being "data-dependent," but it doesn't bypass the fundamental complexity for all possible worst-case scenarios.
  • Heuristic Dependencies: The performance of the factored implementation depends on the attributes being somewhat independent. If the data has extremely complex, high-order correlations across all attributes, the factored approach might require more memory or iterations.
  • Parameter Tuning: The algorithm requires choosing the number of iterations ($T$), which involves a trade-off between model refinement and the noise added per iteration.

Overall, MWEM stands as a landmark algorithm in the field, proving that differentially private data release can be both theoretically sound and practically powerful.

Summary updated

BibTeX
@inproceedings{hardt2012simple,
  author = {Moritz Hardt and Katrina Ligett and Frank McSherry},
  title = {{A Simple and Practical Algorithm for Differentially Private Data Release}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2012},
  url = {https://openreview.net/forum?id=rkZhiIb_ZH},
}
Figure