Sequence clustering in a streaming environment is challenging because it is computationally expensive, and the sequences may evolve over time. K-medoids or Partitioning Around Medoids (PAM) is commonly used to cluster sequences since it supports alignment-based distances, and the k-centers being actual data items helps with cluster interpretability. However, offline k-medoids has no support for concept drift, while also being prohibitively expensive for clustering data streams. We therefore propose SECLEDS, a streaming variant of the k-medoids algorithm with constant memory footprint. SECLEDS has two unique properties: i) it uses multiple medoids per cluster, producing stable high-quality clusters, and ii) it handles concept drift using an intuitive Medoid Voting scheme for approximating cluster distances. Unlike existing adaptive algorithms that create new clusters for new concepts, SECLEDS follows a fundamentally different approach, where the clusters themselves evolve with an evolving stream. Using real and synthetic datasets, we empirically demonstrate that SECLEDS produces high-quality clusters regardless of drift, stream size, data dimensionality, and number of clusters. We compare against three popular stream and batch clustering algorithms. The state-of-the-art BanditPAM is used as an offline benchmark. SECLEDS achieves comparable F1 score to BanditPAM while reducing the number of required distance computations by 83.7%. Importantly, SECLEDS outperforms all baselines by 138.7% when the stream contains drift. We also cluster real network traffic, and provide evidence that SECLEDS can support network bandwidths of up to 1.08 Gbps while using the (expensive) dynamic time warping distance.
翻译:流环境中的序列群集具有挑战性, 因为它计算成本昂贵, 而序列可能会随时间演变。 K- 类流或环流类流( PAM) 通常用于分组序列, 因为 K- 类流支持以校正为基础的距离, k- 中点是实际的数据项目有助于集解。 但是, 离线的 k- 类流并不支持概念的漂移, 同时对于数据流来说也过于昂贵。 因此, 我们提议 SECLEDS, 一种有恒定记忆足迹的 k- 类流变式。 SECLEDS 有两种独特的特性 : i) K- 类流或围绕类流的分流( PAM) 通常使用多个多类类, 因为它支持每个组的多类流流, 产生稳定的流流流数据流流S, 使用流流流S 的流流流流流数据流数据流数据流和流流数据流数据流, 将SLERCLEDS 流流数据流数据流数据流到流流流流流流数据流, 以流流流流流流流流数据流数据流数据流和流数据流数据流数据流数据流数据流 。