Differentially Private Stochastic Convex Optimization under a Quantile Loss Function

Du Chen, Geoffrey A. ChuaICML 2023

Introduction

Differential Privacy (DP) is the gold standard for protecting individual data points in machine learning. While Differentially Private Stochastic Convex Optimization (DP-SCO) is well-understood for smooth, differentiable loss functions, many real-world applications rely on non-smooth alternatives.

This paper introduces a highly effective approach for DP-SCO specifically tailored for quantile loss functions. By replacing standard smoothing techniques like the Moreau Envelope with convolution smoothing, the authors develop algorithms that achieve near-optimal generalization risk and parameter estimation error, significantly outperforming existing general-purpose non-smooth DP-SCO methods in both theory and practice.

The Challenge of Quantile Loss in DP

Quantile loss (often called the "pinball loss") is essential for quantile regression, which models the conditional quantiles of a distribution rather than just the mean. It is also a foundational component in inventory management problems like the classic "Newsvendor Problem."

The primary challenge is that the quantile loss function is non-smooth; it has a sharp "V" shape with a non-differentiable knot at the origin. Standard DP optimization tools struggle with this lack of smoothness, often leading to unstable estimators or poor convergence. Previous attempts to fix this relied on general-purpose smoothing (like the Moreau Envelope) or complex iterative localization. However, these methods fail to exploit the specific structure of the quantile loss, leaving a significant performance gap.

Proposed Solution: Convolution Smoothing

The authors propose a "smooth-then-perturb" strategy centered on Convolution Smoothing.

Instead of the standard Moreau Envelope, the authors convolve the quantile loss with a kernel function (e.g., Gaussian, Logistic, or Uniform). This provides two distinct levers for optimization:

  1. Bandwidth: Controls how much to smooth the function.
  2. Structure: The shape of the kernel itself.
Comparison of Convolution Smoothing and Moreau Envelope

A key insight is that convolution smoothing is fundamentally better suited for quantile loss than the Moreau Envelope. As shown above, the Moreau Envelope approximates the loss from below, while convolution smoothing approximates it from above. Because convolution smoothing allows for kernel selection, researchers can choose kernels with "lighter tails" to better handle outliers and achieve a tighter approximation to the original non-smooth function.

Algorithms: DP-SGD and Objective Perturbation

Building on this smoothed objective, the authors adapt two primary DP algorithms:

  • DP-SGD: They apply Differentially Private Stochastic Gradient Descent to the smoothed objective, injecting Gaussian noise into the gradients to ensure $(\varepsilon, \delta)$-differential privacy.
  • Objective Perturbation (OP): They adapt the OP framework, where a random noise vector is added directly to the objective function before minimization. They prove that OP can achieve optimal rates under very mild assumptions regarding the data-generating process.

Theoretical Guarantees

The authors prove their algorithms reach the theoretical lower bound for excess generalization risk: $O(\max\{\frac{1}{\sqrt{n}}, \frac{\sqrt{d\ln(1/\delta)}}{n\varepsilon}\})$. This means the algorithms are statistically optimal—you cannot significantly improve performance without sacrificing privacy or collecting more data. Furthermore, the paper derives bounds for parameter estimation error, which is crucial for researchers who need to interpret the actual values of the coefficients, not just the final loss value.

Empirical Results

The paper evaluates the proposed algorithms using synthetic datasets designed to simulate various regression scenarios, including linear models with both exogenous (independent) and endogenous (feature-dependent) noise.

Relative risks of different DP algorithms across varying privacy budgets

In simulations, both the DP-SGD and OP variants using convolution smoothing consistently outperformed existing state-of-the-art methods like Phased-SGD and Moreau-based DP-SGD across different privacy budgets ($\varepsilon$).

Beyond raw performance, the Objective Perturbation algorithm proved remarkably efficient. While iterative methods (like Phased-ERM) saw their computation time explode as the dataset grew, the solving time for OP remained nearly as low as non-private models. The methods also remained robust even when the error term was endogenous, a common hurdle in econometrics and real-world data science.

Limitations and Future Work

  • Linearity Assumption: The current theoretical analysis and applications focus on linear quantile regression. Extending this framework to non-linear models or deep neural networks remains an open challenge.
  • Kernel Selection: While the paper demonstrates that different kernels impact performance, it does not provide an automated way to choose the optimal kernel for a specific dataset, currently requiring manual tuning or cross-validation.
  • Generalization to Other Losses: The authors suggest that convolution smoothing could be applied to other piecewise linear losses (like the Hinge loss in Support Vector Machines), leaving the formal analysis of those cases for future research.

Summary updated

BibTeX
@inproceedings{chen2023differentially,
  author = {Du Chen and Geoffrey A. Chua},
  title = {{Differentially Private Stochastic Convex Optimization under a Quantile Loss Function}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=MX4LDCq9iS},
}
Figure