Stochastic Coordinate Descent (SCD) is a cornerstone of optimization for Generalized Linear Models (GLMs), valued for its stability and the absence of a learning rate hyperparameter. While Stochastic Gradient Descent (SGD) has a well-established differentially private (DP) counterpart, creating a private version of SCD has remained a challenge. This work, presented at AAAI-21, introduces DP-SCD, the first differentially private variant of SCD that maintains high performance with minimal hyperparameter tuning.
The Challenge of Private SCD
Differential Privacy (DP) ensures that a model's output does not leak sensitive information about individual training records. In SGD, this is typically achieved by clipping gradients and adding noise. However, efficient SCD implementations rely on maintaining an auxiliary vector ($v = X\alpha$) to avoid redundant, computationally expensive matrix-vector multiplications.
To satisfy DP, independent noise must be added to both the model vector ($\alpha$) and the auxiliary vector ($v$). This breaks the mathematical consistency between them ($v \neq X\alpha$), causing standard optimization proofs to fail. DP-SCD addresses this by proving that the algorithm still converges to a neighborhood of the optimum because consistency is maintained "in expectation."
Methodology: DP-SCD
The authors develop DP-SCD using the dual formulation of the optimization problem (SDCA). The algorithm incorporates several key technical components:
- Mini-batch Parallelism: Instead of single-coordinate updates, DP-SCD processes a mini-batch of $L$ coordinates. This reduces the relative noise required per sample, enhancing utility.
- Update Scaling: To bound sensitivity, coordinate updates are rescaled to a maximum magnitude $C$.
- Gaussian Mechanism: Independent Gaussian noise is injected into both the model and auxiliary vectors at each iteration.
As shown in the convergence plot above, DP-SCD ($\epsilon=1$) closely tracks the non-private SCD baseline, demonstrating that the algorithm effectively optimizes the primal objective even under privacy constraints.
Experimental Evaluation
The researchers evaluated DP-SCD against DP-SGD and non-private baselines across three standard benchmarks:
- YearPredictionMSD: Ridge Regression for release year prediction.
- Phishing: Logistic Regression for malicious website detection.
- Adult: $L_2$-regularized SVMs for income level prediction.
Key Results and Insights
DP-SCD demonstrates a superior privacy-utility trade-off compared to DP-SGD, particularly for Ridge Regression and SVMs where exact updates are possible.
- Superior Trade-offs: In tasks like Ridge Regression (MSE) and SVMs (Accuracy), DP-SCD consistently outperforms DP-SGD across various privacy budgets ($\epsilon$).
- Reduced Tuning Effort: A major advantage of DP-SCD is its efficiency in hyperparameter tuning. Because it lacks a learning rate, the authors only needed to test 156 configurations for DP-SCD, compared to 2,028 configurations for DP-SGD to achieve optimal results. This significantly preserves the "privacy budget" often consumed by extensive tuning.
- Robustness: While DP-SCD performed slightly worse on Logistic Regression due to the need for approximate Newton steps, it remained highly competitive, showing that the dual formulation is inherently robust to noise.
Conclusion
DP-SCD successfully brings the benefits of coordinate descent—stability and minimal tuning—to the realm of differential privacy. By resolving the consistency issues inherent in private auxiliary vectors, this work provides a practical and efficient alternative to DP-SGD for training private GLMs. Future work may extend these principles to high-dimensional settings and decentralized federated learning environments.
Summary updated