A note on privacy preserving iteratively reweighted least squares

Mijung Park, Max WellingarXiv 2016 · OpenReview

Abstract

Iteratively reweighted least squares (IRLS) is a widely-used method in machine learning to estimate the parameters in generalised linear models. In particular, IRLS for $L_1$ minimisation under the linear model provides a closed-form solution in each step, which is a simple multiplication between the inverse of the weighted second moment matrix and the weighted first moment vector. When dealing with privacy-sensitive data, however, developing a privacy-preserving IRLS algorithm faces two challenges. First, due to the inversion of the second moment matrix, the usual sensitivity analysis in differential privacy incorporating a single datapoint perturbation gets complicated and often requires unrealistic assumptions. Second, due to its iterative nature, a significant cumulative privacy loss occurs. However, adding a high level of noise to compensate for the privacy loss hinders from getting accurate estimates. Here, we develop a practical algorithm that overcomes these challenges and outputs privatised and accurate IRLS solutions. In our method, we analyse the sensitivity of each moments separately and treat the matrix inversion and multiplication as a post-processing step, which simplifies the sensitivity analysis. Furthermore, we apply the concentrated differential privacy formalism, a more relaxed version of differential privacy, which requires adding a significantly less amount of noise for the same level of privacy guarantee, compared to the conventional and advanced compositions of differentially private mechanisms.

Introduction

Iteratively Reweighted Least Squares (IRLS) is a cornerstone of machine learning, particularly for solving $L_1$ minimization problems such as Lasso or compressed sensing. Despite its utility, integrating IRLS with Differential Privacy (DP) is non-trivial. The primary obstacles are the mathematical complexity of analyzing the sensitivity of a matrix inverse and the "iteration tax"—the rapid accumulation of privacy loss over multiple iterations that typically necessitates high noise levels, degrading model utility.

Methodology

To address these challenges, we propose a two-pronged approach that simplifies sensitivity analysis and optimizes the privacy budget.

Moment Perturbation as Post-Processing

Instead of calculating the sensitivity of the final IRLS solution directly, we perturb the constituent components: the weighted first moment vector ($A$) and the weighted second moment matrix ($B$). We apply the Laplace or Gaussian mechanism to $A$ and utilize Wishart noise for the positive definite matrix $B$. By privatizing these inputs, the subsequent matrix inversion and multiplication are treated as post-processing steps. According to the fundamental properties of DP, post-processing does not incur additional privacy costs, thereby bypassing the complex sensitivity analysis of the matrix inverse.

Concentrated Differential Privacy (CDP)

To mitigate the cumulative privacy loss across $J$ iterations, we adopt the Concentrated Differential Privacy (CDP) framework. Unlike standard $(\epsilon, \delta)$-DP, CDP provides a more refined accounting of privacy loss. It allows for tighter bounds on the total privacy budget, enabling the addition of significantly less noise per iteration while maintaining a robust overall privacy guarantee. This makes iterative learning feasible without sacrificing the accuracy of the resulting estimates.

Experimental Evaluation

We evaluated the proposed algorithm using a simulated dataset consisting of $N$ datapoints with $d=10$ covariates drawn from a standard normal distribution. Targets were generated via $y = X\theta + \epsilon$. We varied $N$ from 10,000 to 160,000 to observe the convergence behavior of the privatized models toward the non-private IRLS baseline.

Key Results

The experiments compared our CDP-IRLS (using both Laplace and Gaussian mechanisms) against standard $\epsilon$-DP and $(\epsilon, \delta)$-DP compositions with a fixed privacy budget of $\epsilon = 0.9$.

Log-likelihood comparison between CDP-IRLS and standard DP mechanisms.

As shown in the figure above, the CDP-based methods significantly outperform traditional DP mechanisms. Key observations include:

  • Superior Accuracy: CDP-IRLS achieves a much higher log-likelihood per test point compared to standard DP methods.
  • Data Efficiency: The proposed method requires far fewer training points to reach a high level of accuracy, effectively preserving more of the data's signal.
  • Fast Convergence: As the number of training points increases, the CDP-IRLS solution converges toward the non-private baseline much more rapidly than its competitors.

Conclusion

By decoupling the privatization of data moments from the iterative optimization process and leveraging the efficiency of Concentrated Differential Privacy, we have developed a practical and accurate privacy-preserving IRLS algorithm. This approach removes the need for restrictive data assumptions and provides a viable path for deploying iterative machine learning models on sensitive datasets. Future work will involve testing these methods on high-dimensional real-world datasets and exploring private hyperparameter tuning.

Summary updated

Abstract

Iteratively reweighted least squares (IRLS) is a widely-used method in machine learning to estimate the parameters in the generalised linear models. In particular, IRLS for L1 minimisation under the linear model provides a closed-form solution in each step, which is a simple multiplication between the inverse of the weighted second moment matrix and the weighted first moment vector. When dealing with privacy sensitive data, however, developing a privacy preserving IRLS algorithm faces two challenges. First, due to the inversion of the second moment matrix, the usual sensitivity analysis in differential privacy incorporating a single datapoint perturbation gets complicated and often requires unrealistic assumptions. Second, due to its iterative nature, a significant cumulative privacy loss occurs. However, adding a high level of noise to compensate for the privacy loss hinders from getting accurate estimates. Here, we develop a practical algorithm that overcomes these challenges and outputs privatised and accurate IRLS solutions. In our method, we analyse the sensitivity of each moments separately and treat the matrix inversion and multiplication as a post-processing step, which simplifies the sensitivity analysis. Furthermore, we apply the {\it{concentrated differential privacy}} formalism, a more relaxed version of differential privacy, which requires adding a significantly less amount of noise for the same level of privacy guarantee, compared to the conventional and advanced compositions of differentially private mechanisms.
BibTeX
@misc{park2016note,
  author = {Mijung Park and Max Welling},
  title = {{A note on privacy preserving iteratively reweighted least squares}},
  year = {2016},
  eprint = {1605.07511},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1605.07511},
}
Figure