FriendlyCore: Practical Differentially Private Aggregation

Eliad Tsfadia, Edith Cohen, Haim Kaplan, Yishay Mansour, Uri Stemmer

Differential Privacy (DP) is the gold standard for data privacy, but it often comes with a steep "utility tax." Standard DP algorithms are designed for the absolute worst-case scenario, adding enough noise to mask the impact of even the most extreme outliers. This often results in noisy, inaccurate results, especially in high-dimensional spaces.

In their paper "FriendlyCore: Practical Differentially Private Aggregation," Eliad Tsfadia and colleagues introduce a lightweight preprocessing tool that bridges the gap between theoretical privacy and practical utility. FriendlyCore filters datasets into a "stable" subset before private aggregation, allowing researchers to use significantly less noise and drastically boosting the accuracy of tasks like mean estimation and clustering.

The Challenge of Sensitivity

The core challenge in differential privacy is sensitivity. To ensure privacy, an algorithm must add noise proportional to the maximum possible change a single data point could cause. In many tasks, like averaging points in a large domain, a single outlier moving "to the end of the world" can have a massive impact. Consequently, standard DP adds massive noise to account for this possibility, even if the actual data is tightly clustered.

Private averaging example: FriendlyCore identifies the dense 'friendly' subset (blue points), ignoring outliers (red points).

Existing solutions often involve "clipping" data to a fixed range, but choosing this range is tricky: too small and you lose signal; too large and the noise overwhelms the data.

Methods: The FriendlyCore Filter

The authors propose FriendlyCore, a dimension-independent "filter" that identifies a stable subset of the data without relying on arbitrary clipping bounds.

  1. Defining "Friendliness": The user defines a predicate $f(x, y)$ that determines if two points are "friends" (e.g., their distance is $\le r$). A dataset is "friendly" if every pair of points shares a common friend.
  2. The Filtering Process: For every point in the dataset, FriendlyCore counts its friends. It then uses a smooth, private thresholding mechanism to keep only those points with a high number of friends (typically $> n/2$).
  3. Stability Guarantee: Crucially, the authors prove that this "core" is stable. If you add or remove one point from the original dataset, the resulting core changes very little.
  4. Friendly DP Paradigm: Because the core is guaranteed to be "friendly," you can then run a "friendly DP" algorithm on it. This algorithm only needs to be private for well-behaved inputs, allowing it to use much less noise than a standard "worst-case" DP algorithm.
Visualizing the clustering process where FriendlyCore helps identify stable cluster centers.

Key Insights and Results

A standout feature of FriendlyCore is that it is dimension-independent. Its performance doesn't degrade as you add more features to your data, a common pitfall for other private aggregation methods. FriendlyCore shifts the privacy burden: instead of making the algorithm robust to every possible input, it uses a stable filter to ensure the algorithm only ever sees "typical" (friendly) data.

The authors evaluated FriendlyCore on synthetic Gaussian data (up to $d=1000$ dimensions) and the real-world Gas Sensors dataset (~8 million rows, 16 dimensions).

  • Mean Estimation: FriendlyCore significantly outperformed state-of-the-art methods like CoinPress in high-dimensional regimes and when the domain bound was large. While CoinPress's error grows with the domain size, FriendlyCore remains independent of it.
  • Clustering: On the Gas Sensors dataset, FriendlyCore achieved much lower $k$-means loss than LSH-based alternatives across various values of $k$.
  • Efficiency: While a naive implementation is $O(n^2)$, the authors show that using random sampling can reduce the complexity to $O(n \log n)$ with negligible loss in privacy or utility.

Limitations and Future Work

While powerful, FriendlyCore does have limitations. It requires a minimum sample size ($n$) to provide strong utility guarantees; if a dataset is too small, the core might end up empty. Additionally, for clustering tasks, FriendlyCore relies on a non-private "oracle" (like $k$-means++) run on random subsets. If this oracle is highly unstable, FriendlyCore may fail to find a consistent core.

Future directions suggest combining FriendlyCore with other techniques, like Locality Sensitive Hashing (LSH), to further improve robustness in cases where the data is not naturally well-separated.

Summary updated

BibTeX
@inproceedings{tsfadia2022friendlycore,
  author = {Eliad Tsfadia and Edith Cohen and Haim Kaplan and Yishay Mansour and Uri Stemmer},
  title = {{FriendlyCore: Practical Differentially Private Aggregation}},
  booktitle = {International Conference on Machine Learning},
  year = {2022},
  url = {https://openreview.net/forum?id=Qvckv4JOeB},
}
Figure