Node-Differentially Private Estimation of the Number of Connected Components

We design the first node-differentially private algorithm for approximating the number of connected components in a graph. Given a database representing an -vertex graph and a privacy parameter , our algorithm runs in polynomial time and, with probability , has additive error where is the smallest possible maximum degree of a spanning forest of Node-differentially private algorithms are known only for a small number of database analysis tasks. A major obstacle for designing such an algorithm for the number of connected components is that this graph statistic is not robust to adding one node with arbitrary connections (a change that node-differential privacy is designed to hide): every graph is a neighbor of a connected graph. We overcome this by designing a family of efficiently computable Lipschitz extensions of the number of connected components or, equivalently, the size of a spanning forest. The construction of the extensions, which is at the core of our algorithm, is based on the forest polytope of We prove several combinatorial facts about spanning forests, in particular, that a graph with no induced -stars has a spanning forest of degree at most . With this fact, we show that our Lipschitz extensions for the number of connected components equal the true value of the function for the largest possible monotone families of graphs. More generally, on all monotone sets of graphs, the error of our Lipschitz extensions is nearly optimal.
View on arXiv