A Simple, Nearly-Optimal Algorithm for Differentially Private All-Pairs Shortest Distances
Abstract
The all-pairs shortest distances (APSD) with differential privacy (DP) problem takes as input an undirected, weighted graph and outputs a private estimate of the shortest distances in between all pairs of vertices. In this paper, we present a simple -accurate algorithm to solve APSD with -DP, which reduces to in the -DP setting, where . Our algorithm greatly improves upon the error of prior algorithms, namely and in the two respective settings, and is the first to be optimal up to a polylogarithmic factor, based on a lower bound of . In the case where a multiplicative approximation is allowed, we give two different constructions of algorithms with reduced additive error. Our first construction allows a multiplicative approximation of and has additive error in the -DP case and in the -DP case. Our second construction allows multiplicative approximation and has the same asymptotic additive error as the first construction. Both constructions significantly improve upon the currently best-known additive error of, and , respectively. Our algorithms are straightforward and work by decomposing a graph into a set of spanning trees, and applying a key observation that we can privately release APSD in trees with error.
Cite
@article{arxiv.2407.06913,
title = {A Simple, Nearly-Optimal Algorithm for Differentially Private All-Pairs Shortest Distances},
author = {Jesse Campbell and Chunjiang Zhu},
journal= {arXiv preprint arXiv:2407.06913},
year = {2024}
}
Comments
Error in Section 3: (1) Improper assumption that the topology of the shortest path trees are public. (2) Improper usage of Lemma 2.4. Error in Section 4: Improper assumption that the topology of the shortest path trees are public