Differentially Private Range Subgraph Counting

Ruobing Bai, Pan Peng · Submission to ICLR 2025 · Rejected

Abstract

Subgraph counting is a fundamental problem in graph analysis. Motivated by the practical need to perform graph analytics on subgraphs defined by selected vertices (or edges) rather than the entire graph, as well as privacy concerns, we initiate the study of private range subgraph counting. Given an $n$-vertex graph $G$, where each vertex (or edge) has a $d$-dimensional attribute vector, a pattern graph $H$, and a set $Q$ of range queries $q$, our goal is to count the occurrences of $H$ in the subgraph of $G$ induced by vertices (or edges) whose attributes fall within $q$, all while preserving privacy. We give the first $\varepsilon$-differentially private algorithm for range subgraph counting, achieving near-optimal accuracy (up to a polylogarithmic factor of $n$) for constant privacy parameter $\varepsilon$ and dimension $d$, with no additional computational overhead compared to non-private algorithms. We also demonstrate that by relaxing to $(\varepsilon, \delta)$-DP, we can achieve smaller additive errors. Furthermore, our results generalize the subgraph counting results of the partially dynamic model in [FHO21]. Empirical evaluations demonstrate that our algorithm significantly outperforms baseline methods in accuracy while ensuring strong privacy guarantees.
BibTeX
@inproceedings{bai2026differentially,
  author = {Ruobing Bai and Pan Peng},
  title = {{Differentially Private Range Subgraph Counting}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=QYpByrxSTg},
}
Figure