Differentially Private K-Means Clustering

Dong Su, Jianneng Cao, Ninghui Li, Elisa Bertino, Hongxia Jin

TL;DR

This paper introduces a novel "hybrid" approach to differentially private k-means clustering, combining the strengths of non-interactive synopsis generation with interactive refinement. The proposed method significantly outperforms existing techniques, offering a better balance between privacy and accuracy, especially for complex datasets.

What Problem Does This Paper Address?

Differential privacy is crucial for protecting sensitive data while enabling analysis. However, applying it to data mining tasks like k-means clustering presents a challenge: how to achieve accurate clustering results while strictly adhering to privacy guarantees. Existing approaches fall into two categories: interactive methods that answer specific queries with noise, and non-interactive methods that generate a private "synopsis" of the data. The core problem is understanding the trade-offs between these approaches and finding a way to optimize for both accuracy and privacy, especially when dealing with high-dimensional data or when multiple analyses are needed. The paper specifically investigates this trade-off in the context of k-means clustering, a fundamental data mining technique.

Methods

The paper proposes a hybrid approach that combines a non-interactive method, EUGkM (Extended Uniform Grid k-means), with an interactive method, DPLloyd.

  • EUGkM: This non-interactive method first creates a private synopsis of the dataset by dividing the data space into a grid of cells and releasing noisy counts for each cell. The key innovation here is a novel method for determining the optimal grid size (M) based on minimizing mean squared error, considering both variance (due to noise) and bias (due to grid approximation). This synopsis can then be used for various analyses, including k-means.
  • DPLloyd: This is an existing interactive differentially private k-means algorithm that adds Laplacian noise to each iteration of the standard Lloyd's algorithm.
  • Hybrid Approach: The core contribution is the combination. The authors propose using a portion of the privacy budget to run EUGkM to generate initial, differentially private centroids. These centroids are then used as starting points for a single iteration of DPLloyd, utilizing the remaining privacy budget to refine them. This aims to leverage the broad utility of the non-interactive synopsis for initial good estimates and the focused refinement of the interactive method.

The paper also analyzes the error behavior of both DPLloyd and EUGkM, providing theoretical insights into their performance characteristics with respect to parameters like dataset dimensionality (d), number of clusters (k), and privacy budget (ε).

Datasets

The authors evaluated their methods on:

  • Six external datasets: S1 (2D synthetic), Gowalla (2D real-world check-in data), TIGER (2D road intersection data), Image (3D RGB vectors), Adult-num (6D numerical attributes), and Lifesci (10D experimental data).
  • Synthetic datasets: Generated by varying dimensionality (d from 2 to 10) and the number of clusters (k from 2 to 10), with a fixed dataset size of 10,000.

Key Insights and Ideas

  • Non-interactive can outperform interactive: Surprisingly, the proposed non-interactive EUGkM method often outperforms existing state-of-the-art interactive methods for differentially private k-means clustering, especially at smaller privacy budgets.
  • Trade-offs in dimensionality and cluster count: DPLloyd scales poorly with an increasing number of clusters (k), while EUGkM struggles more with higher dimensionality (d). This observation is crucial for understanding their respective strengths and weaknesses.
  • The power of a good starting point: The hybrid approach demonstrates that providing a good initial set of centroids (even if derived privately) to an interactive algorithm can significantly boost its performance, especially when the privacy budget is limited.
  • Hybrid approach as a general concept: The authors conjecture that this hybrid strategy of combining non-interactive synopsis generation with interactive refinement could be beneficial for other differentially private data analysis tasks beyond k-means.

Key Results

  • EUGkM's Superiority: EUGkM consistently outperformed other interactive methods (DPLloyd, GkM, PGkM) on most datasets, particularly at smaller privacy budgets.
  • DPLloyd's Scalability: DPLloyd showed better scalability with increasing dimensionality (d) compared to EUGkM.
  • Hybrid Approach Effectiveness: The hybrid approach achieved the best overall performance, especially on higher-dimensional datasets, by leveraging EUGkM for initial centroid estimation and DPLloyd for refinement. For instance, on the Adult-num dataset with ε=0.05, the hybrid approach achieved an NICV of 0.244, significantly better than EUGkM's 0.370.
  • Runtime: DPLloyd was significantly faster than EUGkM, which had to run k-means multiple times on synopses.

Limitations and Future Work

  • Assumptions in Error Analysis: The theoretical analysis for both DPLloyd and EUGkM relies on assumptions (e.g., well-clustered data, equal cluster sizes) that may not always hold in real-world scenarios, potentially affecting the accuracy of the derived error bounds.
  • Generalizability of Hybrid Approach: While the authors conjecture the hybrid approach's utility for other tasks, this remains an open area for investigation.
  • Further Exploration of Non-Interactive vs. Interactive Trade-offs: The paper suggests that the insights gained from k-means clustering regarding the non-interactive advantage might hold for other data analysis tasks, warranting further research.
  • Investigating other data analysis tasks: The authors plan to explore the applicability of their findings and the hybrid approach to other data mining problems.

Summary updated

BibTeX
@inproceedings{su2015differentially,
  author = {Dong Su and Jianneng Cao and Ninghui Li and Elisa Bertino and Hongxia Jin},
  title = {{Differentially Private K-Means Clustering}},
  booktitle = {CODASPY},
  year = {2015},
  doi = {10.1145/2857705.2857708},
}
Figure