,
Heiko Röglin
Creative Commons Attribution 4.0 International license
Connected clustering denotes a family of constrained clustering problems in which we are given a distance metric and an undirected connectivity graph G that can be completely unrelated to the metric. The aim is to partition the n vertices into a given number k of clusters such that every cluster forms a connected subgraph of G 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, k-center and k-median have been studied in this setting. It has been shown that connected k-median is Ω(n^{1- ε})-hard to approximate which also carries over to the connected k-means problem, while for connected k-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))-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 w is a constant. Furthermore, we obtain constant approximation algorithms that run in FPT time with respect to the parameter max(w,k).
Additionally, we consider the min-sum-radii (MSR) and min-sum-diameter (MSD) objectives. We prove that on general graphs, connected MSR can be approximated with an approximation factor of (3 + ε) and connected MSD with an approximation factor of (4 + ε). The latter also directly improves the best known approximation guarantee for unconstrained MSD from (6 + ε) to (4 + ε). We complement this with a reduction showing that connected MSR is NP-hard to approximate with an approximation factor smaller than (4/3).
@InProceedings{eube_et_al:LIPIcs.ESA.2026.135,
author = {Eube, Jan and R\"{o}glin, Heiko},
title = {{New Algorithms and Hardness Results for Connected Clustering}},
booktitle = {34th Annual European Symposium on Algorithms (ESA 2026)},
pages = {135:1--135:14},
series = {Leibniz International Proceedings in Informatics (LIPIcs)},
ISBN = {978-3-95977-445-1},
ISSN = {1868-8969},
year = {2026},
volume = {388},
editor = {Bille, Philip and Pettie, Seth and Storandt, Sabine},
publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
address = {Dagstuhl, Germany},
URL = {https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.ESA.2026.135},
URN = {urn:nbn:de:0030-drops-272713},
doi = {10.4230/LIPIcs.ESA.2026.135},
annote = {Keywords: Clustering, Connectivity constraints, Approximation algorithms, Hardness of approximation}
}