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 G = (V,E, w) and outputs a private estimate of the shortest distances in G between all pairs of vertices. In this paper, we present a simple O(n1/3/)-accurate algorithm to solve APSD with -DP, which reduces to O(n1/4/) in the (, δ)-DP setting, where n = |V|. Our algorithm greatly improves upon the error of prior algorithms, namely O(n2/3/) and O(n/) in the two respective settings, and is the first to be optimal up to a polylogarithmic factor, based on a lower bound of (n1/4). 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 O(kn) and has additive error O(k· n1/k/) in the -DP case and O(k· n1/(2k)/) in the (, δ)-DP case. Our second construction allows multiplicative approximation 2k-1 and has the same asymptotic additive error as the first construction. Both constructions significantly improve upon the currently best-known additive error of, O(k· n1/2 + 1/(4k+2)/) and O(k· n1/3 + 2/(9k+3)/), 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 O(polylog(n)) error.
Turn this paper into a full lesson
ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.