English

Differentially Private All-Pairs Shortest Path Distances: Improved Algorithms and Lower Bounds

Data Structures and Algorithms 2022-03-31 v1

Abstract

We study the problem of releasing the weights of all-pair shortest paths in a weighted undirected graph with differential privacy (DP). In this setting, the underlying graph is fixed and two graphs are neighbors if their edge weights differ by at most 11 in the 1\ell_1-distance. We give an ϵ\epsilon-DP algorithm with additive error O~(n2/3/ϵ)\tilde{O}(n^{2/3} / \epsilon) and an (ϵ,δ)(\epsilon, \delta)-DP algorithm with additive error O~(n/ϵ)\tilde{O}(\sqrt{n} / \epsilon) where nn denotes the number of vertices. This positively answers a question of Sealfon (PODS'16), who asked whether a o(n)o(n)-error algorithm exists. We also show that an additive error of Ω(n1/6)\Omega(n^{1/6}) is necessary for any sufficiently small ϵ,δ>0\epsilon, \delta > 0. Finally, we consider a relaxed setting where a multiplicative approximation is allowed. We show that, with a multiplicative approximation factor kk, %2k12k - 1, the additive error can be reduced to O~(n1/2+O(1/k)/ϵ)\tilde{O}\left(n^{1/2 + O(1/k)} / \epsilon\right) in the ϵ\epsilon-DP case and O~(n1/3+O(1/k)/ϵ)\tilde{O}(n^{1/3 + O(1/k)} / \epsilon) in the (ϵ,δ)(\epsilon, \delta)-DP case, respectively.

Keywords

Cite

@article{arxiv.2203.16476,
  title  = {Differentially Private All-Pairs Shortest Path Distances: Improved Algorithms and Lower Bounds},
  author = {Badih Ghazi and Ravi Kumar and Pasin Manurangsi and Jelani Nelson},
  journal= {arXiv preprint arXiv:2203.16476},
  year   = {2022}
}
R2 v1 2026-06-24T10:32:13.539Z