ICML2020
Coresets for Clustering in Graphs of Bounded Treewidth
Daniel N. Baker, Vladimir Braverman, Lingxiao Huang, Shaofeng H.-C. Jiang, Robert Krauthgamer, Xuan Wu
35 citations
Abstract
We initiate the study of coresets for clustering in graph metrics, i.e., the shortest-path metric of edge-weighted graphs. Such clustering problems (on graph metrics) are essential to data analysis and used for example in road networks and data visualization. Specifically, we consider -Clustering, where given a metric space , the goal is to minimize, over all -point center sets , the objective . This problem is a well-known generalization of both k-Median () and k-Means (). A coreset is a compact summary of the data that approximately preserves the clustering objective for every possible center set. Coresets offer significant efficiency improvements in terms of running time, storage, and communication, including in streaming and distributed settings. Our main result is a near-linear time construction of a coreset of size for -Clustering in a graph whose treewidth is . The construction is based on the framework of Feldman and Langberg [STOC 2011], and our main technical contribution, as required by this framework, is a uniform bound of on the shattering dimension under any point weights. Previously, the only construction applicable to graph metrics, even for , was a generic one with size where [Feldman and Langberg, STOC 2011]. We complement our construction with an size lower bound, which matches our construction's linear dependence on . This further provides the first proof that the factor in the generic upper bound is indeed necessary, and also justifies restricting the graph topology.