Differentially Private Federated k-Means Clustering with Server-Side Data

Jonathan Scott, Christoph H. Lampert, David Saulpic
6/4/2025
cs.CRcs.LG

No official code found. Best implementation: jonnyascott/fed-dp-kmeans (6 stars, Apache-2.0, last commit 2025-07-02).

Abstract

Clustering is a cornerstone of data analysis that is particularly suited to identifying coherent subgroups or substructures in unlabeled data, as are generated continuously in large amounts these days. However, in many cases traditional clustering methods are not applicable, because data are increasingly being produced and stored in a distributed way, e.g. on edge devices, and privacy concerns prevent it from being transferred to a central server. To address this challenge, we present FedDP-KMeans, a new algorithm for $k$-means clustering that is fully-federated as well as differentially private. Our approach leverages (potentially small and out-of-distribution) server-side data to overcome the primary challenge of differentially private clustering methods: the need for a good initialization. Combining our initialization with a simple federated DP-Lloyds algorithm we obtain an algorithm that achieves excellent results on synthetic and real-world benchmark tasks. We also provide a theoretical analysis of our method that provides bounds on the convergence speed and cluster identification success.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Official Implementation for "Differentially Private Federated k-Means Clustering with Server-Side Data" [ICML 2025]

60Shell, PythonJun 2, 20251 years agoApache-2.0

Similar Papers

Cite this paper

@article{scott2025differentially,
  title  = {Differentially Private Federated k-Means Clustering with Server-Side Data},
  author = {Jonathan Scott and Christoph H. Lampert and David Saulpic},
  year   = {2025},
  eprint = {2506.05408},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.05408v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.05408.svg)](https://codeofpaper.com/paper/2506.05408)

Discussion