We give a simple black-box transformation for differentially private continual release of streaming statistics. Our framework applies to any nonnegative, monotone statistic on insertion-only streams with bounded sensitivity and polynomially bounded range, provided there is a tunable streaming algorithm that approximates the statistic at every time. The transformation runs a single instance of the underlying streaming algorithm and privately detects crossings of geometrically spaced thresholds using sparse vector. A scale-dependent clipping argument controls the sensitivity of the approximate estimates without requiring access to the internal structure of the streaming algorithm. For a stream of length $m$ and target multiplicative error $γ$, the resulting mechanism is $(\varepsilon,δ)$-differentially private and uses only $O(\log m/γ)$ additional space beyond the base algorithm. For polynomially bounded statistics, it achieves additive error $\widetilde{O}((Δ_F+κ)\log m/(\varepsilonγ)+κ)$ while requiring the base algorithm to run at a multiplicative accuracy smaller than $γ$ by only polylogarithmic factors. Thus, for many standard streaming algorithms, the transformation preserves sublinear space while providing privacy for the entire sequence of outputs. We instantiate the framework for distinct elements, frequency norms, longest increasing subsequence, regression and low-rank approximation loss, clustering cost, and union volume estimation.
翻译:暂无翻译