Provable Privacy with Non-Private Pre-Processing

Yaxi Hu, Amartya Sanyal, Bernhard Schölkopf

Abstract

Standard Differential Privacy (DP) often assumes data independence, a condition frequently violated by common data-dependent pre-processing steps like PCA, scaling, or imputation. This paper introduces Smooth Rényi Differential Privacy (SRDP), a framework that rigorously accounts for the privacy leakage of non-private pre-processing. By analyzing the sensitivity of these transformations, the authors demonstrate that standard pre-processing pipelines can be maintained with provable privacy guarantees and minimal budget increases, often outperforming fully private pre-processing alternatives.

Introduction

Differential Privacy (DP) has become the standard for privacy-preserving machine learning. However, a significant gap exists between theoretical DP guarantees and practical data science pipelines. Most DP algorithms assume that individual data records are independent. In practice, raw data undergoes various data-dependent pre-processing steps—such as mean imputation, standard scaling, deduplication, or Principal Component Analysis (PCA)—before any private mechanism is applied.

Because these transformations depend on the entire dataset, they introduce correlations that can "leak" information about individuals, potentially violating the privacy guarantees of the subsequent DP algorithm. Traditionally, practitioners have either ignored this cost, used limited public data for pre-processing, or applied "group privacy" analysis, which typically yields overly conservative and practically useless privacy bounds.

The Smooth DP Framework

To address this, the authors propose a framework based on a new technical notion: Smooth Rényi Differential Privacy (SRDP). Unlike standard DP, which considers the impact of changing a single record, SRDP analyzes how the entire dataset changes under a transformation $\pi$.

Conceptual diagram of the SRDP framework for analyzing pre-processed datasets.

The framework relies on two main components:

  1. SRDP Definition: A variant of DP that measures privacy loss when the dataset moves within a bounded distance, allowing for a more granular analysis of transformation-induced leakage.
  2. Sensitivity Analysis: The authors quantify the $L_\infty$ and $L_2$ sensitivities of common pre-processing functions. This measures how much a single record can alter the global transformation rule (e.g., how much one outlier shifts the global mean used for scaling).

Quantitative Privacy Bounds

The core contribution is a Meta-Theorem that provides an upper bound on the total privacy loss of a pipeline consisting of non-private pre-processing followed by a DP mechanism. As shown in the table below, the SRDP bounds often involve a factor related to the sensitivity of the pre-processing ($\Delta$) and the smoothness of the data.

Comparison of privacy bounds between standard RDP and the proposed SRDP across various mechanisms.

For many common techniques, the "privacy price" of non-private pre-processing is surprisingly small—often a constant-order increase rather than the linear growth predicted by naive group privacy analysis.

Key Applications and Results

The authors evaluated their framework across several common pre-processing tasks:

  • PCA for Rank Reduction: In experiments using logistic regression on high-dimensional synthetic datasets, a pipeline using non-private PCA followed by DP-SGD consistently outperformed both standard DP-SGD (without pre-processing) and pipelines using fully private DP-PCA. This suggests that the noise introduced by private pre-processing can be more damaging to utility than the small privacy cost of non-private pre-processing.
  • Deduplication and Imputation: The framework proves that these steps incur minimal privacy costs as long as the data is not "pathological" (e.g., lacking massive clusters of duplicates or excessive missing values).
  • Propose-Test-Release (PTR): For cases where data characteristics might lead to high sensitivity, the authors suggest using a PTR mechanism to safely abort the process if the privacy cost exceeds a safe threshold.

Conclusion and Future Work

This work demonstrates that non-private pre-processing is not necessarily a "privacy deal-breaker." By using the SRDP framework, researchers can rigorously account for hidden privacy costs while maintaining the high utility of standard data science tools.

Future research directions include extending this analysis to more complex, non-linear transformations, such as using pre-trained deep neural networks as feature extractors. Quantifying the sensitivity of such high-dimensional, black-box models remains a significant challenge for provable privacy.

Summary updated

BibTeX
@inproceedings{hu2024provable,
  author = {Yaxi Hu and Amartya Sanyal and Bernhard Schölkopf},
  title = {{Provable Privacy with Non-Private Pre-Processing}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=IzqpUC34Jg},
}
Figure