English

New Algorithms and Hardness Results for Connected Clustering

Data Structures and Algorithms 2025-11-25 v1

Abstract

Connected clustering denotes a family of constrained clustering problems in which we are given a distance metric and an undirected connectivity graph GG that can be completely unrelated to the metric. The aim is to partition the nn vertices into a given number kk of clusters such that every cluster forms a connected subgraph of GG and a given clustering objective gets minimized. The constraint that the clusters are connected has applications in many different fields, like for example community detection and geodesy. So far, kk-center and kk-median have been studied in this setting. It has been shown that connected kk-median is Ω(n1ϵ)\Omega(n^{1- \epsilon})-hard to approximate which also carries over to the connected kk-means problem, while for connected kk-center it remained an open question whether one can find a constant approximation in polynomial time. We answer this question by providing an Ω(log(k))\Omega(\log^*(k))-hardness result for the problem. Given these hardness results, we study the problems on graphs with bounded treewidth. We provide exact algorithms that run in polynomial time if the treewidth ww is a constant. Furthermore, we obtain constant approximation algorithms that run in FPT time with respect to the parameter max(w,k)\max(w,k). Additionally, we consider the min-sum-radii (MSR) and min-sum-diameter (MSD) objective. We prove that on general graphs connected MSR can be approximated with an approximation factor of (3+ϵ)(3 + \epsilon) and connected MSD with an approximation factor of (4+ϵ)(4 + \epsilon). The latter also directly improves the best known approximation guarantee for unconstrained MSD from (6+ϵ)(6 + \epsilon) to (4+ϵ)(4 + \epsilon).

Keywords

Cite

@article{arxiv.2511.19085,
  title  = {New Algorithms and Hardness Results for Connected Clustering},
  author = {Jan Eube and Heiko Röglin},
  journal= {arXiv preprint arXiv:2511.19085},
  year   = {2025}
}
R2 v1 2026-07-01T07:52:06.296Z