Abstract
We present a sample- and time-efficient differentially private algorithm for ordinary least squares, with error that depends linearly on the dimension and is independent of the condition number of $X^\top X$, where $X$ is the design matrix. All prior private algorithms for this task require either $d^{3/2}$ examples, error growing polynomially with the condition number, or exponential time. Our near-optimal accuracy guarantee holds for any dataset with bounded statistical leverage and bounded residuals. Technically, we build on the approach of Brown et al. (2023) for private mean estimation, adding scaled noise to a carefully designed stable nonprivate estimator of the empirical regression vector.
Introduction
Ordinary Least Squares (OLS) regression is a cornerstone of statistical analysis, prized for its efficiency and simplicity in modeling linear relationships. However, in sensitive domains—such as healthcare or finance—the standard OLS estimator $\beta_{ols} = (X^T X)^{-1} X^T y$ can inadvertently reveal private information about individual data points.
Developing differentially private (DP) versions of OLS has proven surprisingly difficult. Previous attempts have typically suffered from one of three major drawbacks: poor scaling as the number of dimensions ($d$) increases, extreme sensitivity to the data's "condition number" (which causes error to explode when features are highly correlated), or prohibitive computational costs. This paper introduces a new approach, Insufficient Statistics Perturbation, which provides a polynomial-time algorithm that scales linearly with dimension and remains robust regardless of the data's scaling or correlation.
The Challenge of Private Regression
The primary hurdle in privatizing OLS is the "sensitivity" of the estimator—the degree to which a single individual's data can alter the final output. OLS is naturally sensitive to outliers and high-residual examples. In standard DP frameworks, noise must be added proportional to this sensitivity to mask individual contributions.
In many existing DP regression algorithms, the added noise is amplified by the inverse of the design matrix $(X^T X)^{-1}$. If the dataset is poorly conditioned—meaning the features have vastly different scales or are nearly redundant—this amplification renders the resulting model statistically useless. The authors' goal was to decouple the privacy noise from this condition number sensitivity.
Methodology: Insufficient Statistics Perturbation
The core innovation of this work is a stable non-private subroutine that prepares the data before privacy noise is applied. This method builds on recent breakthroughs in private mean estimation by Brown et al. (2023).
Stable Filtering
Rather than using simple global "clipping" (which can introduce significant bias), the algorithm employs a more surgical approach:
- Residual Analysis: The algorithm identifies data points with high residuals—those that deviate significantly from the predicted trend.
- Stable Removal: It removes these problematic points in a "stable" manner. Stability ensures that if one person's data is modified, the set of points being removed does not change drastically. This stability is the key to maintaining low sensitivity.
- Perturbation: Finally, scaled noise is added to the resulting stable estimator of the regression vector.
By stabilizing the estimator before adding noise, the algorithm ensures that the privacy mechanism does not interact destructively with the "un-roundness" of the data matrix.
Key Results and Theoretical Guarantees
The paper provides rigorous mathematical proofs that the algorithm achieves near-optimal accuracy for any dataset meeting two broad criteria: bounded statistical leverage (no single point has an overwhelming influence on the data's shape) and bounded residuals.
Breakthrough Features:
- Condition Number Independence: The estimation error is entirely independent of the ratio between the largest and smallest eigenvalues of the data matrix ($\kappa(X^T X)$). This allows for accurate regression even on highly correlated datasets.
- Linear Dimension Scaling: The error scales linearly with the dimension $d$, matching the gold standard for high-dimensional statistics.
- Computational Efficiency: The algorithm runs in polynomial time, making it practical for real-world engineering applications.
- Sample Efficiency: The algorithm reaches near-optimal accuracy as soon as the number of samples $n$ is roughly proportional to the dimension $d$, mirroring the behavior of non-private OLS.
Conclusion and Future Work
This research represents a significant advancement in robust private statistics. By moving away from traditional clipping and toward the stable filtering of insufficient statistics, the authors have bypassed long-standing theoretical barriers in private regression.
While this work focuses on OLS, the underlying principle of "stable subroutines" offers a promising path for other complex optimization problems. Future research may extend this framework to Logistic Regression and other generalized linear models where sensitivity management remains a critical challenge.
Summary updated