Training Differentially Private Ad Prediction Models With Semi-Sensitive Features

Lynn Chua, Qiliang Cui, Badih Ghazi, Charlie Harrison, Pritish Kamath, Walid Krichene, Ravi Kumar, Pasin Manurangsi, Nicolas Mayoraz, Hema Venkata Krishna Giri Narra, Steffen Rendle, Amer Sinha, Avinash V. Varadarajan, Chiyuan Zhang

Abstract

As digital advertising moves toward privacy-preserving frameworks, training accurate models under differential privacy (DP) constraints becomes critical. We investigate a "Hybrid" training approach designed for scenarios with "semi-sensitive" features—where contextual data is public but user-specific history is private. By combining Label-DP (Randomized Response) for an initial warm-start on public features with subsequent DP-SGD fine-tuning on sensitive features, our method significantly outperforms standard DP-SGD. Empirical results on large-scale Criteo datasets show that this hybrid approach can reduce the utility gap between private and non-private models by up to 50%.

Introduction

The phase-out of third-party cookies has led to the development of privacy-centric APIs like Chrome’s Protected Audience API. These environments distinguish between non-sensitive features (e.g., publisher site, time of day) and sensitive features/labels (e.g., user conversion history). Traditional DP-SGD treats all features as sensitive, often leading to substantial utility loss. Conversely, Label-DP assumes all features are public, which is insufficient for protecting user-specific data. This paper proposes a middle-ground solution that optimizes model utility by leveraging the public nature of contextual features.

The Hybrid Training Algorithm

The proposed Hybrid algorithm splits the total privacy budget ($\epsilon$) across two sequential training phases:

  1. Phase 1: Label-DP Warm Start. The model is restricted to non-sensitive features. Labels are protected using Randomized Response (RR), where they are flipped with a probability determined by the allocated budget $\epsilon_1$. This provides a robust initialization based on public contextual data.
  2. Phase 2: DP-SGD Fine-tuning. The full model, including the sensitive feature components, is initialized with weights from Phase 1. It is then trained on the complete dataset using DP-SGD, which adds noise to gradients to protect both sensitive features and labels using the remaining budget $\epsilon_2 = \epsilon - \epsilon_1$.

The researchers evaluated two primary architectures: Multilayer Perceptrons (MLP) and Factorization Machines (FM). They also explored "frozen" vs. "fine-tuned" variants for the sensitive components during the second phase.

Experimental Results

The approach was tested on two massive benchmarks: the Criteo Display Ads (pCTR) dataset (~40M examples) and the Criteo Sponsored Search Conversion Log (pCVR) dataset (~16M examples).

Performance Comparison

The Hybrid method consistently outperforms standard DP-SGD and pure Randomized Response (RR) baselines. As shown in Figure 1, the Hybrid approach (especially the fine-tuned version) achieves significantly lower 1-AUC and log loss across various privacy budgets.

Performance comparison of Hybrid, DP-SGD, and RR methods across MLP and FM architectures.

At a privacy budget of $\epsilon = 12$, the Hybrid method halves the utility gap compared to standard DP-SGD. Notably, the Hybrid model at $\epsilon = 8$ often performs better than DP-SGD at $\epsilon = 12$, demonstrating superior privacy-utility trade-offs.

Privacy Budget Allocation

A critical factor in the Hybrid method's success is the allocation of the privacy budget between the two phases. Let $k = \epsilon_1 / \epsilon$ be the fraction of the budget spent on the Label-DP phase.

Impact of budget allocation (k) on model performance across different total privacy budgets.

As illustrated in Figure 2, spending a significant portion of the budget (often $k \ge 0.5$) on the initial warm-start phase is generally beneficial, particularly as the total budget $\epsilon$ increases. However, in extremely high-privacy regimes ($\epsilon = 1$), the noise from Randomized Response can become counterproductive, suggesting that standard DP-SGD might be preferable or that more advanced Label-DP techniques are needed.

Key Insights

  • Warm-Starting is Essential: Initializing with public features provides a superior starting point compared to random initialization, which is the primary driver of the Hybrid method's gains.
  • Model Efficiency: The sensitive portion of the model can be reduced in size by up to 50x with minimal impact on accuracy, facilitating deployment in memory-constrained Trusted Execution Environments (TEEs).
  • Fine-tuning vs. Freezing: While freezing the sensitive tower reduces computation, fine-tuning the entire model during Phase 2 yields the best accuracy.

Conclusion

The Hybrid training algorithm offers a practical and effective way to train ad prediction models when a subset of features is non-sensitive. By strategically splitting the privacy budget, it achieves a much better balance between user privacy and model utility than existing "all-or-nothing" DP methods. Future work includes exploring more sophisticated Label-DP primitives and establishing formal theoretical bounds for the utility gap in semi-sensitive settings.

Summary updated

BibTeX
@inproceedings{chua2024training,
  author = {Lynn Chua and Qiliang Cui and Badih Ghazi and Charlie Harrison and Pritish Kamath and Walid Krichene and Ravi Kumar and Pasin Manurangsi and Nicolas Mayoraz and Hema Venkata Krishna Giri Narra and Steffen Rendle and Amer Sinha and Avinash V. Varadarajan and Chiyuan Zhang},
  title = {{Training Differentially Private Ad Prediction Models With Semi-Sensitive Features}},
  booktitle = {AdKDD @ KDD},
  year = {2024},
  url = {https://openreview.net/forum?id=5TPE1R9SkN},
}
Figure