Label Robust and Differentially Private Linear Regression: Computational and Statistical Efficiency

Xiyang Liu, Prateek Jain, Weihao Kong, Sewoong Oh, Arun Sai SuggalaNeurIPS 2023

In the realm of machine learning, achieving privacy, robustness, and computational efficiency simultaneously is a notoriously difficult balancing act. This paper introduces DP-RobGD, the first computationally efficient algorithm for linear regression that is both differentially private and robust to adversarial label corruption. By combining full-batch gradient descent with a novel "separate" adaptive clipping strategy, the authors achieve near-optimal sample complexity, significantly outperforming previous state-of-the-art efficient methods.

The Trilemma: Privacy, Robustness, and Efficiency

When designing algorithms for linear regression, researchers typically struggle to satisfy three competing demands:

  1. Privacy: Ensuring the model doesn't leak sensitive information about individual data points (Differential Privacy).
  2. Robustness: Ensuring the model isn't derailed by a small fraction of "poisoned" or corrupted data (Adversarial Robustness).
  3. Efficiency: Ensuring the algorithm runs in a reasonable amount of time (Polynomial or Linear time).

Historically, solutions were either statistically optimal but took exponential time to run, or they were fast but required a massive amount of data to overcome the noise introduced by privacy constraints. Specifically, the "cost of privacy" in existing efficient algorithms was heavily dependent on the condition number ($\kappa$) of the data—a measure of how "stretched" the data distribution is. If the data was poorly conditioned, these algorithms became highly inefficient in terms of the required sample size.

DP-RobGD: A Novel Approach

To overcome these limitations, the authors propose a variant of Differentially Private Stochastic Gradient Descent (DP-SGD) called DP-RobGD (Robust Gradient Descent). It introduces two primary innovations:

  • Full-Batch Gradient Descent: Unlike standard DP-SGD, which uses small mini-batches, DP-RobGD uses the entire dataset at each step. This reduces the sensitivity of the gradient average by a factor of $\kappa$, allowing for much less noise to be added for privacy. To prove the algorithm works despite the dependencies introduced by using the same data in every batch, the authors use the concept of "resilience"—a property from robust statistics guaranteeing that the mean of any large subset of data remains close to the true population mean.
  • Separate Adaptive Clipping: Standard DP algorithms clip the entire gradient vector. However, if an adversary corrupts a label ($y$) for a data point with a very small feature vector ($x$), the corrupted point can still heavily bias the model without being "caught" by standard clipping. DP-RobGD clips the feature norm $\|x_i\|$ and the residual $|x_i^\top w - y_i|$ separately. This prevents corrupted labels from exerting undue influence even when the features themselves look normal.
Comparison of algorithm runtime and sample complexity

As highlighted in the theoretical comparison above, previous efficient algorithms had a sample complexity that scaled with $\kappa$ or even $\kappa^2$. DP-RobGD improves that dependence to $\kappa^{1/2}$. While not yet at the information-theoretic ideal (which is independent of $\kappa$), it represents a massive leap in practical efficiency for real-world, poorly conditioned data.

Empirical Performance

The paper evaluates the algorithm using synthetic datasets generated from sub-Gaussian distributions, testing dimensions up to $d=10$ with sample sizes ($n$) reaching $10^7$. The authors systematically varied the condition number ($\kappa$), the noise level ($\sigma$), and the privacy budget ($\varepsilon$) to demonstrate how their algorithm scales compared to baselines. They also simulated adversarial label corruption by allowing an adversary to change a fraction of the response variables.

Parameter estimation error across varying sample sizes, noise levels, and condition numbers

In head-to-head tests, DP-RobGD consistently outperformed the previous state-of-the-art (DP-AMBSSGD). It was particularly dominant in high-dimensional settings where other private estimators (like DP-SSP) become computationally prohibitive due to $O(d^3)$ or $O(d^\omega)$ scaling. Interestingly, the same mechanisms used to make the algorithm robust to adversarial labels also help it handle the noise added for differential privacy more effectively, leading to better performance even on clean data.

Limitations and Future Work

While DP-RobGD marks a significant step forward, several challenges remain:

  • Covariate Corruption: The current method is robust to corrupted labels ($y$), but not to corrupted features ($x$). Handling adversarial features while maintaining privacy and linear-time efficiency remains an open, much harder problem.
  • The $\kappa$ Gap: There is still a gap between this algorithm’s $\kappa^{1/2}$ dependence and the $\kappa$-independent lower bound. Closing this gap might require even more sophisticated robust mean estimation techniques.
  • Heavy-Tailed Data: While the paper provides a version for heavy-tailed noise, the primary analysis assumes sub-Gaussian distributions. Real-world data with extreme outliers might require further tuning of the adaptive thresholds.

Summary updated

BibTeX
@inproceedings{liu2023label,
  author = {Xiyang Liu and Prateek Jain and Weihao Kong and Sewoong Oh and Arun Sai Suggala},
  title = {{Label Robust and Differentially Private Linear Regression: Computational and Statistical Efficiency}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=KE3KPn7fMr},
}
Figure