Differentially Private Covariance Revisited

Wei Dong, Yuting Liang, Ke Yi
5/28/2022
23 citations
cs.CRcs.DScs.LG

Official code: hkustDB/PrivateCovariance (1 star, Python, last commit 2022-09-24). 1 more implementation below.

Abstract

In this paper, we present two new algorithms for covariance estimation under concentrated differential privacy (zCDP). The first algorithm achieves a Frobenius error of $\tilde{O}(d^{1/4}\sqrt{\mathrm{tr}}/\sqrt{n} + \sqrt{d}/n)$, where $\mathrm{tr}$ is the trace of the covariance matrix.

Show full abstract

By taking $\mathrm{tr}=1$, this also implies a worst-case error bound of $\tilde{O}(d^{1/4}/\sqrt{n})$, which improves the standard Gaussian mechanism's $\tilde{O}(d/n)$ for the regime $d>\widetildeΩ(n^{2/3})$. Our second algorithm offers a tail-sensitive bound that could be much better on skewed data. The corresponding algorithms are also simple and efficient. Experimental results show that they offer significant improvements over prior work.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
hkustDB/PrivateCovarianceOfficial1Python–2022-09-24
OpenCode2022/PrivateCovarianceOfficial0PythonGPL-3.02022-05-27
12PythonSep 23, 20224 years ago
GPL-3.0
00PythonMay 19, 20224 years agoGPL-3.0

Similar Papers

Cite this paper

@article{dong2022differentially,
  title  = {Differentially Private Covariance Revisited},
  author = {Wei Dong and Yuting Liang and Ke Yi},
  year   = {2022},
  eprint = {2205.14324},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.14324}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2205.14324.svg)](https://codeofpaper.com/paper/2205.14324)

Discussion