Differentially Private Stochastic Coordinate Descent

Georgios Damaskinos, Celestine Mendler-Dünner, Rachid Guerraoui, Nikolaos Papandreou, Thomas P. Parnell

Introduction

Differential Privacy (DP) has become the gold standard for training machine learning models on sensitive data, such as medical records or financial history. While Stochastic Gradient Descent (SGD) has a well-established private counterpart (DP-SGD), its cousin, Stochastic Coordinate Descent (SCD), has remained largely in the shadows of the privacy world. This paper introduces DP-SCD, the first differentially private version of the SCD algorithm, offering a high-performance alternative that requires significantly less hyperparameter tuning than DP-SGD.

The Challenge of Privatizing SCD

In non-private settings, SCD is a favorite for training generalized linear models (like Ridge Regression or SVMs) because it is often "tuning-free"—it doesn't require a learning rate. However, making SCD private is surprisingly difficult due to its reliance on auxiliary information.

To be computationally efficient, SCD maintains a "helper" vector (e.g., $v = X\alpha$) in memory. In a private setting, this vector creates a massive privacy leak. If noise is added to the model to protect privacy, it breaks the mathematical consistency between the model and this helper vector. Without that consistency, standard convergence proofs fall apart. Most researchers previously avoided SCD in favor of SGD, despite SGD’s frustratingly high tuning costs.

The DP-SCD Approach

The authors propose DP-SCD, which operates on the dual formulation of the optimization problem (often called SDCA). Their approach relies on three key pillars:

  1. Mini-batching for Parallelism: Instead of updating one coordinate at a time, DP-SCD computes an aggregate of independent updates from a random sample. Parallelizing updates reduces the "sensitivity" of each step, meaning less noise is required per sample to achieve the same privacy guarantee.
  2. Consistency in Expectation: The core theoretical breakthrough is proving that even if independent noise is added to both the model vector and the auxiliary vector—breaking their strict relationship—consistency still holds in expectation. As long as the noise is zero-mean, the algorithm's update step decreases the objective function more than the noise increases it.
  3. The Gaussian Mechanism: The algorithm uses the Gaussian mechanism to inject noise and the "Moments Accountant" technique to track the privacy budget ($\epsilon, \delta$) precisely across iterations.

Experimental Results

The researchers evaluated DP-SCD on three standard benchmarks: YearPredictionMSD (Ridge Regression), Phishing (Logistic Regression), and Adult (SVMs).

Performance comparison of DP-SCD vs. DP-SGD across different privacy budgets (epsilon) for Ridge Regression, Logistic Regression, and SVMs.

As shown in the results above, DP-SCD outperformed DP-SGD on Ridge Regression and SVM tasks. It was slightly less effective on Logistic Regression, likely because the updates there require a Newton step approximation rather than being "exact."

Beyond raw performance, DP-SCD offers a drastic reduction in tuning effort. To find the best model, the authors tested only 156 configurations for DP-SCD, compared to 2,028 configurations for DP-SGD. In a DP context, this is a major advantage: every training run to test a hyperparameter "spends" part of the privacy budget. DP-SCD's learning-rate-free nature makes it far more budget-efficient.

Convergence and Stability

The algorithm demonstrates robust convergence properties. Theoretically and empirically, the authors showed that DP-SCD converges to a stable region (a "ball") around the true optimum, the size of which is determined by the noise level.

Convergence of the primal objective over epochs. DP-SCD (especially at epsilon=1) shows rapid and stable convergence compared to DP-SGD.

Limitations and Future Work

While DP-SCD is a major step forward, it has limits. Current convergence proofs assume smooth loss functions; while it worked well on SVMs (non-smooth hinge loss), theoretical guarantees for that case remain open. Additionally, adding Gaussian noise destroys data sparsity, preventing some common performance optimizations used in standard SCD.

Conclusion

DP-SCD offers a robust, user-friendly alternative for privacy-conscious data scientists. By eliminating the hyperparameter treadmill associated with DP-SGD, it provides a more practical path for training secure models on sensitive datasets.

Summary updated

BibTeX
@inproceedings{damaskinos2021differentially,
  author = {Georgios Damaskinos and Celestine Mendler-Dünner and Rachid Guerraoui and Nikolaos Papandreou and Thomas P. Parnell},
  title = {{Differentially Private Stochastic Coordinate Descent}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i8.16882},
}
Figure