Optimal Bounds for Private Minimum Spanning Trees via Input Perturbation

Rasmus Pagh, Lukas Retschmeier, Hao Wu, Hanwen Zhang · DOI

Abstract

Differential privacy (DP) provides a robust framework for releasing graph statistics while protecting sensitive edge information. This paper addresses the fundamental problem of releasing a Minimum Spanning Tree (MST) under edge-weight DP. We introduce a "one-shot" input perturbation framework that achieves an optimal additive error of $\tilde{O}(n^{3/2}/\epsilon)$ in near-linear time, effectively closing the performance gap between existing inefficient or inaccurate methods. Our approach relies on a novel proof of equivalence between simple input noise and complex iterative selection mechanisms.

Introduction

Minimum Spanning Trees are essential components in network design, clustering, and graphical modeling. However, when edge weights represent sensitive data—such as traffic volumes or medical correlations—releasing the MST can compromise individual privacy. Differential Privacy (DP) ensures that the output of an algorithm does not significantly depend on any single edge weight.

Prior research in private MST release faced a significant trade-off. "Input privatization" methods, which add noise to all edges before processing, are computationally efficient ($O(m)$) but suffer from high $O(n^2)$ error. Conversely, "in-place noise" methods inject noise during algorithmic execution to achieve a better $O(n^{3/2})$ error but are computationally expensive ($O(nm)$) and difficult to implement. This work demonstrates that it is possible to achieve the accuracy of in-place methods with the simplicity and speed of input perturbation.

The Private MST Framework

The core contribution is a simple yet powerful framework designated as $\mathcal{A}_{priv-MST}$ (Algorithm 1). Unlike previous complex approaches, this method follows a three-step "perturb-then-solve" pipeline:

  1. Perturbation: Every edge weight $w_e$ is transformed into a noisy weight $\tilde{w}_e$ by adding noise sampled from an exponential distribution (related to Gumbel noise).
  2. Computation: A standard, non-private MST algorithm (e.g., Kruskal’s or Prim’s) is executed on the noisy weights $\tilde{\mathbf{W}}$.
  3. Output: The resulting tree is released as the private MST.
Algorithm 1: The proposed private MST framework using input perturbation.

The theoretical foundation of this simplicity is a proof of equivalence. The authors show that this one-shot perturbation is mathematically identical to a private Kruskal’s algorithm that uses the Exponential Mechanism for iterative edge selection. This is formalized through a generalized sampling model called PPSACR (Probability Proportional to Sizes with Adaptive Candidate Removal), which explains how initial noise can simulate adaptive selection processes.

Theoretical and Empirical Results

The proposed framework achieves the theoretical limits of both accuracy and efficiency. The authors establish a new fundamental lower bound of $\tilde{\Omega}(n^{3/2})$ for $(\epsilon, \delta)$-DP MST algorithms, proving that their $\tilde{O}(n^{3/2}/\epsilon)$ upper bound is optimal.

Comparison of the proposed method (New) against existing literature. The new approach matches the best known error bounds while significantly improving computational efficiency.

As shown in the table above, the "New" algorithm matches the error of the most accurate previous methods while maintaining the $O(m)$ overhead of the simplest ones. This efficiency makes it practical for large-scale graph analysis.

Empirical evaluations on synthetic datasets, including Chow-Liu trees for graphical modeling and Erdős–Rényi random graphs, confirm these theoretical findings. The method significantly outperforms standard input privatization on dense graphs and matches the accuracy of state-of-the-art in-place algorithms at a fraction of the computational cost.

Conclusion and Future Work

This work provides a definitive solution for private MST release by demonstrating the power of one-shot input perturbation. The technique naturally generalizes to other matroid optimization problems, such as finding maximum weight independent sets.

Future research may focus on closing the remaining $O(\sqrt{\log(1/\delta)})$ gap between the upper and lower bounds. Additionally, exploring alternative noise distributions, such as Laplace-based noise, or applying this perturbation framework to other complex graph problems like shortest paths or matchings, remains an open and promising direction.

Summary updated

BibTeX
@article{pagh2025optimal,
  author = {Rasmus Pagh and Lukas Retschmeier and Hao Wu and Hanwen Zhang},
  title = {{Optimal Bounds for Private Minimum Spanning Trees via Input Perturbation}},
  journal = {Proc. ACM Manag. Data},
  year = {2025},
  doi = {10.1145/3725240},
}
Figure