All-Pairs Shortest Path Distances with Differential Privacy: Improved Algorithms for Bounded and Unbounded Weights

We revisit the problem of privately releasing the all-pairs shortest path distances of a weighted undirected graph up to low additive error, which was first studied by Sealfon [Sea16]. In this paper, we improve significantly on Sealfon's results, both for arbitrary weighted graphs and for bounded-weight graphs on nodes. Specifically, we provide an approximate-DP algorithm that outputs all-pairs shortest path distances up to maximum additive error , and a pure-DP algorithm that outputs all pairs shortest path distances up to maximum additive error (where we ignore dependencies on ). This improves over the previous best result of additive error for both approximate-DP and pure-DP [Sea16], and partially resolves an open question posed by Sealfon [Sea16, Sea20]. We also show that if the graph is promised to have reasonably bounded weights, one can improve the error further to roughly in the approximate-DP setting and roughly in the pure-DP setting. Previously, it was only known how to obtain additive error in the approximate-DP setting and additive error in the pure-DP setting for bounded-weight graphs [Sea16].
View on arXiv