Making Old Things New: A Unified Algorithm for Differentially Private Clustering

Max Dupre la Tour, Monika Henzinger, David Saulpic

Abstract

Differential privacy (DP) has become the gold standard for protecting individual privacy in data analysis. However, applying DP to clustering problems like $k$-means and $k$-median has historically resulted in a fragmented landscape of model-specific algorithms. This paper presents a unified framework based on a modified greedy algorithm that achieves state-of-the-art results across centralized, local, shuffle, and massively parallel models. Notably, this approach provides the first known solution for private clustering under the "continual observation" model, where data evolves over time.

Introduction

Clustering is a cornerstone of unsupervised learning, used to partition data points into groups such that points within a group are more similar to each other than to those in other groups. In sensitive domains—such as healthcare or location tracking—the resulting cluster centers must not inadvertently reveal the presence or absence of any single individual. Differential Privacy (DP) provides a rigorous mathematical framework to address this, but the implementation varies significantly depending on the data environment.

Existing research has largely focused on bespoke solutions for specific privacy models:

  • Centralized Model: A trusted curator has access to the full dataset.
  • Local Model (LDP): Users perturb their own data before sharing it.
  • Shuffle Model: An intermediate layer anonymizes user contributions.
  • Continual Observation: The algorithm must provide updated results as data points arrive or change over time.

This paper bridges these gaps by demonstrating that a classic greedy algorithm can be adapted to serve as a "universal" engine for private clustering across all these settings.

The Unified Framework: Adapting MP00

The core of the proposed framework is an adaptation of the greedy algorithm introduced by Mettu and Plaxton in 2000 (MP00). The original MP00 algorithm iteratively selects cluster centers by identifying dense regions of points. To make this process compatible with DP across various models, the authors introduce two critical modifications.

1. Discretization via Candidate Nets

Standard greedy algorithms often select centers directly from the input data points. In a private setting, this is problematic as the selection itself can leak information. The authors resolve this by defining a "net"—a fine-grained grid of candidate points independent of the specific data values. By restricting the algorithm to pick centers from this predefined set, the privacy risk is significantly mitigated.

2. Private Selection via Generalized Summation

The most significant innovation is the reduction of the clustering problem to a "generalized summation" primitive. Instead of requiring a specific clustering logic for each privacy model, the algorithm treats the counting of points within a specific region (a "ball") as a black-box operation. If a privacy model can provide a differentially private estimate of the number of points in a given area, the unified algorithm can use that estimate to make its next greedy choice. This "plug-and-play" architecture ensures that the algorithm automatically benefits from any future improvements in private counting methods.

Theoretical Contributions and Performance

The framework provides strong theoretical guarantees, achieving a $(1+\alpha)$ multiplicative approximation with an additive error that scales roughly with $\sqrt{d}$, where $d$ is the dimensionality of the data. This additive error is consistent with known theoretical limits for many DP settings, indicating near-optimal performance.

Model-Specific Breakthroughs

  • Centralized DP: The algorithm matches current state-of-the-art additive error bounds while maintaining a simpler structure.
  • Local and Shuffle DP: The approach improves the dependency on success probability, ensuring more robust performance in single-round communication settings.
  • Continual Observation: This paper provides the first-ever results for $k$-means clustering in the continual observation model. This allows for the private maintenance of clusters in streaming data environments, a previously unsolved challenge.
  • Massively Parallel Computation (MPC): By employing a "merge-and-reduce" strategy, the authors adapt the iterative greedy process for parallel environments, achieving near-optimal error with minimal communication rounds between machines.

Practical Implications: The "Elbow Method"

A common hurdle in private clustering is that most algorithms require the number of clusters ($k$) to be specified in advance. Trying multiple values of $k$ typically consumes more of the "privacy budget." Because this unified algorithm is greedy and iterative, it naturally produces a sequence of solutions for all values from $1$ to $k$ simultaneously. This allows practitioners to use the "elbow method" to determine the optimal number of clusters without incurring additional privacy costs.

Conclusion and Future Directions

By "making old things new," this research demonstrates that foundational algorithmic concepts can solve modern privacy challenges. The unified framework simplifies the deployment of private clustering by providing a single, robust algorithm capable of operating across diverse data environments. While the iterative nature of the greedy approach presented challenges for parallel implementation, the authors' merge-and-reduce strategy successfully bridges that gap. Future research may focus on further optimizing the additive error's dependency on $k$ and conducting empirical evaluations to compare these theoretical bounds against common non-private heuristics in real-world scenarios.

Summary updated

BibTeX
@inproceedings{tour2024making,
  author = {Max Dupre la Tour and Monika Henzinger and David Saulpic},
  title = {{Making Old Things New: A Unified Algorithm for Differentially Private Clustering}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=3ajK5xplDL},
}
Figure