Abstract
We study the sublinear space continual release model for edge-differentially private (DP) graph algorithms, with a focus on the densest subgraph problem (DSG) in the insertion-only setting. Our main result is the first continual release DSG algorithm that matches the additive error of the best static DP algorithms and the space complexity of the best non-private streaming algorithms, up to constants. The key idea is a refined use of subsampling that simultaneously achieves privacy amplification and sparsification, a connection not previously formalized in graph DP. Via a simple black-box reduction to the static setting, we obtain both pure and approximate-DP algorithms with $O(\log n)$ additive error and $O(n\log n)$ space, improving both accuracy and space complexity over the previous state of the art. Along the way, we introduce graph densification in the graph DP setting, adding edges to trigger earlier subsampling, which removes the extra logarithmic factors in error and space incurred by prior work. We believe this simple idea may be of independent interest.
Introduction
The Densest Subgraph Problem (DSG) is a fundamental task in graph mining, used to identify tightly-knit communities in large networks. In modern applications, graphs are often massive and dynamic, requiring algorithms that operate in a "continual release" setting. Here, an updated answer must be provided after every edge insertion while adhering to three critical constraints: edge-Differential Privacy (DP), sublinear memory usage, and real-time dynamics.
Previous state-of-the-art methods for private continual release DSG suffered from an "efficiency tax"—extra logarithmic factors in both error and memory—making them impractical for truly large-scale graphs. This work closes that gap, presenting the first algorithm that matches the accuracy of the best static private algorithms and the memory efficiency of the best non-private streaming algorithms.
Methodology
The proposed framework utilizes a standard "static" private DSG algorithm as a black box, wrapped in a novel streaming architecture. The core innovations include:
Subsampling for Dual Purposes
The central insight is the dual role of subsampling (retaining each edge with probability $p$). In streaming algorithms, this is a standard technique for sparsification to save space. In the DP community, this provides privacy amplification: if an edge is likely to be ignored by the subsampling process, its presence is harder to detect. This work is the first to formally link these two benefits in the context of graph DP.
Graph Densification
To ensure subsampling is effective from the first edge insertion, the authors introduce graph densification. By artificially adding edges from a regular graph at the start, the algorithm can begin aggressive subsampling immediately without sacrificing accuracy. This removes the extra logarithmic overheads seen in prior work.
Lazy Updates via Sparse Vector Technique (SVT)
To manage the privacy budget over a long stream of updates, the algorithm avoids recomputing the densest subgraph for every edge. Instead, it uses the Sparse Vector Technique (SVT) to privately monitor the graph's density, triggering a full re-calculation only when the density has increased by a significant factor (specifically, $(1+2\eta)$).
Key Results
The resulting algorithm significantly improves upon the previous state-of-the-art (ELMZ25) across all key metrics.
As shown in the table above, the improvements are substantial:
- Additive Error: Reduced from $\Omega(\log^2 n)$ to $O(\log n)$, matching the best possible error for non-streaming private algorithms.
- Space Complexity: Reduced from $\Omega(n \log^2 n)$ to $O(n \log n)$, matching the space used by the best non-private semi-streaming algorithms.
- Approximation Guarantees: For $(\epsilon, \delta)$-DP, the algorithm achieves a $(1+\eta)$ multiplicative approximation with only logarithmic additive error.
Discussion and Future Work
The "aha moment" of this research is the realization that the same subsampling used for memory efficiency naturally enhances privacy. Furthermore, the counter-intuitive trick of adding "fake" edges (densification) allows the algorithm to enter a mathematical regime where subsampling is more effective, ultimately leading to lower total error.
Despite these advances, several open questions remain:
- Fully Dynamic Streams: The current model is insertion-only. Extending these techniques to handle edge deletions is a significant open challenge.
- Space Dependence on $\epsilon$: Memory usage still depends on $1/\epsilon$. It remains unclear if this dependence is fundamental or can be optimized.
- The Lower Bound Gap: A small gap (a factor of $\sqrt{\log n}$) persists between the best known lower bounds for additive error and the results achieved here.
This work provides a powerful new toolkit for private graph analysis, demonstrating that privacy and efficiency need not be at odds in the streaming setting.
Summary updated