Author: Ryan Rogers
Published: August 2024
Abstract
Differential Privacy (DP) traditionally assumes a fixed, known domain for data categories. However, real-world applications like SQL queries and streaming telemetry often involve "Unknown Domains" where the set of possible labels is not predefined. This paper introduces a unified mathematical framework for analyzing such algorithms using Approximate Concentrated Differential Privacy (CDP). By standardizing the analysis of histograms, top-$k$ selection, and streaming data, the framework provides tighter privacy bounds and a consistent methodology for proving privacy guarantees in complex data environments.
Introduction
In the field of data privacy, Differential Privacy (DP) has emerged as the gold standard for protecting individual information while allowing for useful statistical analysis. Despite its success, a significant gap exists between theoretical DP models and practical data analytics. Most standard DP mechanisms assume the "domain"—the set of all possible categories or labels—is known in advance. In practice, analysts often encounter datasets where the domain is vast or unknown, such as unique search queries or word-count histograms in natural language processing.
This paper, authored by Ryan Rogers, addresses this gap by providing a rigorous mathematical bridge. It introduces a unified framework for "Unknown Domain" algorithms, leveraging Concentrated Differential Privacy (CDP) to offer more efficient and composable privacy guarantees than previous methods.
The Challenge of Unknown Domains
In a standard DP setting, if we are counting votes for a known list of candidates, we include every candidate in our output—even those with zero votes. This ensures that the presence or absence of a single voter does not reveal itself by causing a new name to suddenly appear or disappear from the results.
However, in real-world scenarios like tracking popular words typed in an email client, the domain is essentially every possible string of characters. If an algorithm releases a count for a previously unseen string simply because it appeared in one user's data, that user's privacy is immediately compromised. The fundamental challenge is: How can we release counts for items we did not know existed without accidentally revealing the presence of a specific individual?
Historically, solutions to this problem were analyzed in isolation using different mathematical "dialects" of DP. This fragmentation made it difficult to compose these tools into larger, more complex systems without incurring excessive privacy "costs."
A Unified Analytical Framework
The core contribution of this research is a unifying framework centered on Lemma 3.1. The author proposes that the privacy of any Unknown Domain algorithm can be proven by satisfying three specific conditions:
- Failure Probability ($\delta$): Identifying "differentiating outcomes"—bad events where a label's presence alone leaks information—and proving they occur with a negligibly low probability.
- Mechanism Equivalence: Demonstrating that there is a "cleaner" version of the algorithm that behaves identically to the original on all "good" outcomes.
- Pure CDP: Proving that this cleaner version satisfies Concentrated Differential Privacy, a variant of DP that handles the addition of Gaussian noise more gracefully than standard $(\epsilon, \delta)$-DP.
Practical Applications
The paper applies this framework to several foundational and modern privacy algorithms, demonstrating its versatility:
- Thresholded Histograms: These mechanisms only release counts that exceed a specific, noisy threshold. The framework proves that by setting a sufficiently high bar, the likelihood of an item appearing solely due to one individual's data is minimized.
- Top-$k$ Selection (Gumbel Mechanism): This involves releasing the most frequent items without prior knowledge of the full list. The framework provides a clearer path to proving the privacy of these selections.
- Continual Observation (Binary Mechanism): Crucial for real-time dashboards and telemetry, this involves releasing running totals over time as new data arrives. The paper provides one of the first clear CDP-based analyses for this mechanism in an unknown domain context.
Key Insights and Results
CDP as the "Native Language" of Noise
The research argues that analyzing these algorithms directly through the lens of CDP is superior to standard $(\epsilon, \delta)$-DP. When multiple private queries are composed, CDP provides significantly tighter bounds. This efficiency allows analysts to extract more utility from their "privacy budget" without increasing the risk to individuals.
"Pay-What-You-Get" Composition
A notable result (Theorem 10) concerns top-$k$ algorithms. The author demonstrates that the privacy cost can scale with the number of items actually returned to the user, rather than the number of items the user requested. This is a major efficiency gain for exploratory data analysis where many requested categories might not meet the threshold for release.
Standardization and Improved Bounds
By re-proving the privacy guarantees of disparate algorithms (including those by Korolova et al. and Bun & Steinke) under one consistent framework, the paper simplifies the landscape for researchers. Furthermore, the use of CDP shows that privacy loss parameters for Gaussian-noise-based histograms are actually better than previously reported when using traditional DP conversions.
Limitations and Future Directions
While the framework offers mathematical elegance and tighter bounds, it faces practical hurdles. Most legal and policy frameworks still require privacy reporting in standard $(\epsilon, \delta)$ terms. Converting CDP back to these terms is "lossy," meaning some of the mathematical tightness gained during analysis is lost in the final reporting. Additionally, the engineering challenge of implementing these algorithms—specifically handling secure randomness and floating-point errors—remains significant.
Future work suggests extending this framework to design new algorithms for even more complex data structures, such as private graph analysis or machine learning models operating on unknown domains.
Summary updated