Continual Mean Estimation Under User-Level Privacy

Anand Jerry George, Lekshmi Ramesh, Aditya Vikram Singh, Himanshu Tyagi

Abstract

Differential Privacy (DP) provides a robust framework for statistical analysis while protecting individual privacy. However, traditional DP models often focus on item-level privacy in static datasets. This paper addresses the more challenging setting of user-level privacy—where all data points contributed by a single user must be protected—within a continual release framework. We present a near-optimal algorithm that achieves an error rate decaying over time, effectively bridging the gap between static data privacy and real-time streaming applications. By utilizing an exponential withhold-release strategy combined with a bank of binary mechanisms and private truncation, the proposed method achieves an error rate of $\tilde{O}(1/\sqrt{t} + \sqrt{M_t}/t\epsilon)$, matching known lower bounds for the single-release setting.

Introduction

Differential Privacy has become the gold standard for privacy-preserving data analysis. Despite its success, two significant gaps remain between theoretical models and real-world requirements. First, most DP research focuses on item-level privacy, which protects a single data record. In practice, users often contribute multiple data points (e.g., daily steps in a fitness app), and privacy guarantees must extend to the user's entire contribution. Second, many applications require continual release, where statistics are updated as new data arrives, rather than a one-time query on a static dataset.

The intersection of these two requirements—user-level privacy in a streaming context—presents a significant technical hurdle. Every update to a released statistic potentially leaks information, and if a single user contributes many points at arbitrary intervals, a naive DP algorithm would require massive noise injection to maintain privacy, rendering the results useless. This paper introduces a modular algorithm that overcomes these challenges to provide accurate, real-time mean estimation.

Methodology

The researchers propose a sophisticated mechanism (Algorithm 6) built upon three core components designed to manage the sensitivity of user contributions while maintaining utility.

1. Exponential Withhold-Release

To prevent the algorithm from becoming overly sensitive to a single user's early data, the authors implement an "exponential withhold-release" strategy. Instead of updating the global mean immediately upon receiving a new sample, the algorithm buffers data. It only releases an update for a specific user once they have reached specific milestones in their contribution count—specifically powers of two ($1, 2, 4, 8, \dots$). This approach provides a "diversity advantage," ensuring the global estimate is supported by a broad base of user data rather than being skewed by high-frequency contributors.

2. Multiple Binary Mechanisms

The Binary Mechanism is a standard DP tool for streaming counts that minimizes the number of outputs affected by any single data point. This paper extends this concept by employing a bank of these mechanisms. Each mechanism in the bank handles a different scale of user contributions, allowing the added noise to be precisely calibrated to $M_t$, the maximum number of samples any user has contributed up to time $t$. This fine-tuning is essential for maintaining accuracy as the stream evolves.

3. Private Truncation and Concentration

To handle potential outliers that could disproportionately affect the mean and increase sensitivity, the algorithm employs private truncation. Using a private median estimation technique, the algorithm identifies a "safe" interval for the data. User averages are projected (truncated) into this interval before being processed. This step leverages the concentration of measure, the principle that the sum of independent samples will likely fall within a predictable range, allowing for tighter error bounds without sacrificing privacy.

Theoretical Insights

The Diversity Condition

A critical finding of the paper is the "diversity condition." The algorithm requires a minimum threshold of user participation to function effectively. If only a few users contribute data, the privacy-to-utility trade-off is too steep to release an accurate mean. The authors formally define this threshold, noting that the algorithm remains "inactive" (buffering data) until sufficient diversity is achieved to ensure the released estimates are meaningful.

Sublinear Scaling

In naive user-level privacy implementations, the error typically scales linearly with the number of samples per user ($M_t$). A major contribution of this work is reducing this scaling to $\sqrt{M_t}$. This sublinear scaling is a significant improvement for high-frequency data streams, where users may contribute thousands of points over time.

Results and Performance

The primary result is an $\epsilon$-differentially private mechanism that achieves an error at time $t$ defined by: $$\tilde{O}\left(\frac{1}{\sqrt{t}} + \frac{\sqrt{M_t}}{t\epsilon}\right)$$

In this expression, $1/\sqrt{t}$ represents the standard statistical error inherent in any mean estimation, while $\sqrt{M_t}/t\epsilon$ represents the "privacy cost." Crucially, as time $t$ increases, the privacy error term decays. This performance matches the known lower bounds for the simpler "single-release" setting, proving that continual updates can be achieved with minimal additional accuracy loss compared to one-time queries.

Conclusion and Future Directions

This research provides the first near-optimal bounds for user-level DP mean estimation in the continual release setting. While the theoretical framework is robust, several avenues for future work remain. The current "diversity requirement" means the algorithm cannot provide estimates during the initial stages of data collection; finding a private way to utilize early samples remains an open question. Additionally, while the paper addresses $d$-dimensional data, further optimization using advanced composition or Gaussian mechanisms for $(\epsilon, \delta)$-DP could further refine the results for high-dimensional, complex datasets.

Summary updated

BibTeX
@article{george2022continual,
  author = {Anand Jerry George and Lekshmi Ramesh and Aditya Vikram Singh and Himanshu Tyagi},
  title = {{Continual Mean Estimation Under User-Level Privacy}},
  journal = {IEEE J. Sel. Areas Inf. Theory},
  year = {2022},
}
Figure