arXiv:2610.22278cs.DSOct 2026

Manuscript Offprint

arXiv:2610.22278

Subgraph Counting with Local Node Differential Privacy

Sofya Raskhodnikova, Adam Smith, Connor Wagaman, Anatoly Zavyalov

Abstract

We study the problem of approximately counting subgraphs under local node differential privacy (LNDP), a recently introduced model that enforces strong privacy guarantees in analyses of distributed social networks. We design a noninteractive (ε,0)(\varepsilon,0)-LNDP algorithm that, given any public kk-node template graph HH, counts occurrences of HH in a sensitive undirected nn-node graph with additive error O(nk−12/εk−1)O(n^{k-\frac{1}{2}}/\varepsilon^{k-1}), for any constant kk. We complement this algorithm with a lower bound showing that every noninteractive (ε,δ)(\varepsilon,\delta)-LNDP algorithm for counting copies of any kk-node template graph with maximum degree greater than 1 must have error Ω(nk−12)\Omega(n^{k-\frac{1}{2}}). Thus, our algorithm achieves optimal error for counting constant-size subgraphs, up to poly(1/ε)(1/\varepsilon) factors.

Our results substantially expand the types of network statistics known to be approximable under LNDP: prior work considered only functions of the degree distribution. In addition, our lower bound yields the first known poly(n) gap between central and local node differential privacy when accuracy is required for all input graphs. Previous separations either only involved poly(1/ε) factors or only applied to promise problems.

*To appear at the ACM-SIAM Symposium on Discrete Algorithms (SODA) 2027.

†^{\dagger}Boston University, {sofya,ads22,wagaman,zavyalov}@bu.edu.

Contents

1 Introduction 3
1.1 Our Results 4
1.2 Our Techniques 5
1.2.1 Algorithm for Subgraph Counting 6
1.2.2 Lower Bound for Subgraph Counting 6
1.3 Related Work 9
1.4 Organization 10

2 Preliminaries 10
2.1 Local Node Differential Privacy 10

3 Algorithm for Subgraph Counting with LNDP* 12

4 Error Required for Subgraph Counting with LNDP* 15
4.1 Inner Product Queries 16
4.2 Query Graphs and Their Properties 17
4.3 Reduction from Inner Product Queries to Subgraph Counting 18

References 22

Appendix 27

A Background on Differential Privacy 27

B Error Required for Private Inner Product Queries 27

References (58)