Introduction
Ad modeling is central to the digital economy, yet it relies heavily on sensitive user data. While Differential Privacy (DP) provides a rigorous mathematical framework to prevent data leakage, its application to ad modeling is challenging. Ad datasets typically exhibit extreme class imbalance, high sparsity due to categorical features, and large embedding layers. Historically, it was believed that the noise required by DP-Stochastic Gradient Descent (DP-SGD) would overwhelm the sparse signals inherent in these models. This study presents a systematic investigation into applying DP-SGD to large-scale ad modeling, demonstrating that high utility can be achieved even under strict privacy budgets.
Methodology
The core approach utilizes DP-SGD, which ensures privacy by clipping per-example gradient norms and adding Gaussian noise. To overcome the computational and memory overhead typically associated with DP-SGD, the authors implemented several optimizations:
- Ghost Clipping: This two-pass algorithm calculates gradient norms for linear and embedding layers without materializing full per-example gradient vectors, significantly reducing memory costs.
- Large Batch Training: Massive batch sizes (up to 65,536) were employed to improve the signal-to-noise ratio, as DP noise is averaged over more examples.
- Privacy Loss Distributions (PLD): The "connect-the-dots" algorithm was used for tighter privacy accounting compared to standard Rényi Differential Privacy (RDP), allowing for better utility at the same $\epsilon$.
- Optimizer Re-tuning: The study found that optimizers like Yogi, which excel in non-private settings, underperform under DP. Standard SGD with a tuned learning rate and clipping bound proved more effective.
Experimental Setup
The methodology was evaluated across three primary tasks:
- pCTR (Predicting Click-Through Rate): Using the public Criteo dataset (~40M examples).
- pCVR (Predicting Conversion Rate): Using a proprietary ads dataset.
- pConvs (Predicting Number of Conversions): A regression task on a proprietary ads dataset.
Key Insights
Efficiency and Scalability
Ghost clipping effectively removes the "efficiency tax" of DP-SGD for models dominated by embedding and linear layers. The implementation achieved training throughput nearly identical to non-private baselines and scaled to batch sizes exceeding 500,000 examples on a single GPU.
The Role of Batch Size
Increasing batch size is a primary lever for recovering performance in private training. As shown in the analysis of noise standard deviation, larger batches allow for a more favorable noise-to-signal ratio under fixed privacy constraints.
Privacy-Utility Dynamics
Interestingly, DP-SGD can outperform LabelDP in high-privacy regimes ($\epsilon < 1$), suggesting that gradient clipping provides a beneficial regularization effect. Furthermore, while ghost clipping negates the memory need for microbatching, small microbatches can still offer utility gains by adjusting the bias-variance trade-off in gradient estimation.
Results
On the Criteo pCTR task, the model maintained high utility with only a 15.8% increase in AUC loss at a strict $\epsilon = 0.5$. At $\epsilon = 10$, this gap narrowed to 6.27%. These results confirm that DP-SGD is a viable and efficient solution for private ad modeling at scale.
Limitations and Future Work
Future research may explore "Hybrid DP" to treat non-sensitive features differently or investigate methods to exploit gradient sparsity to further reduce noise requirements. A limitation of this study is the use of proprietary datasets for CVR and conversion tasks, which restricts external benchmarking.
Summary updated