Table of Contents
Fetching ...

TNStream: Applying Tightest Neighbors to Micro-Clusters to Define Multi-Density Clusters in Streaming Data

Qifen Zeng, Haomin Bao, Yuanzhuo Hu, Zirui Zhang, Yuheng Zheng, Luosheng Wen

TL;DR

TNStream introduces a theoretically grounded data stream clustering framework built on Tightest Neighbors (TN) and Skeleton Set concepts to define robust, multi-density clusters online. The method combines micro- and macro-clustering with an adaptive radius derived from Shared Nearest Neighbors (SNN) and employs Tightest Neighbors-based clustering (kTNC) to form macro-clusters, using LSH, KD-Tree, or Ball-Tree to accelerate neighbor queries. Key contributions include the formal TN framework, the $k$-tightest neighborhood closures ($k$-MTNCIS), the Tightest Neighbors Outlier Factor (TNOF), and a fully online TNStream algorithm that handles high-dimensional, noisy, and arbitrarily shaped data, as demonstrated on diverse synthetic and real-world datasets. Experimental results show that KD-TNStream and BT-TNStream achieve superior clustering quality and robustness to outliers, particularly in multi-density scenarios, while providing competitive runtime performance thanks to efficient neighbor search structures. Overall, the work advances data stream clustering theory and provides a practical, scalable solution for complex streaming data environments.

Abstract

In data stream clustering, systematic theory of stream clustering algorithms remains relatively scarce. Recently, density-based methods have gained attention. However, existing algorithms struggle to simultaneously handle arbitrarily shaped, multi-density, high-dimensional data while maintaining strong outlier resistance. Clustering quality significantly deteriorates when data density varies complexly. This paper proposes a clustering algorithm based on the novel concept of Tightest Neighbors and introduces a data stream clustering theory based on the Skeleton Set. Based on these theories, this paper develops a new method, TNStream, a fully online algorithm. The algorithm adaptively determines the clustering radius based on local similarity, summarizing the evolution of multi-density data streams in micro-clusters. It then applies a Tightest Neighbors-based clustering algorithm to form final clusters. To improve efficiency in high-dimensional cases, Locality-Sensitive Hashing (LSH) is employed to structure micro-clusters, addressing the challenge of storing k-nearest neighbors. TNStream is evaluated on various synthetic and real-world datasets using different clustering metrics. Experimental results demonstrate its effectiveness in improving clustering quality for multi-density data and validate the proposed data stream clustering theory.

TNStream: Applying Tightest Neighbors to Micro-Clusters to Define Multi-Density Clusters in Streaming Data

TL;DR

TNStream introduces a theoretically grounded data stream clustering framework built on Tightest Neighbors (TN) and Skeleton Set concepts to define robust, multi-density clusters online. The method combines micro- and macro-clustering with an adaptive radius derived from Shared Nearest Neighbors (SNN) and employs Tightest Neighbors-based clustering (kTNC) to form macro-clusters, using LSH, KD-Tree, or Ball-Tree to accelerate neighbor queries. Key contributions include the formal TN framework, the -tightest neighborhood closures (-MTNCIS), the Tightest Neighbors Outlier Factor (TNOF), and a fully online TNStream algorithm that handles high-dimensional, noisy, and arbitrarily shaped data, as demonstrated on diverse synthetic and real-world datasets. Experimental results show that KD-TNStream and BT-TNStream achieve superior clustering quality and robustness to outliers, particularly in multi-density scenarios, while providing competitive runtime performance thanks to efficient neighbor search structures. Overall, the work advances data stream clustering theory and provides a practical, scalable solution for complex streaming data environments.

Abstract

In data stream clustering, systematic theory of stream clustering algorithms remains relatively scarce. Recently, density-based methods have gained attention. However, existing algorithms struggle to simultaneously handle arbitrarily shaped, multi-density, high-dimensional data while maintaining strong outlier resistance. Clustering quality significantly deteriorates when data density varies complexly. This paper proposes a clustering algorithm based on the novel concept of Tightest Neighbors and introduces a data stream clustering theory based on the Skeleton Set. Based on these theories, this paper develops a new method, TNStream, a fully online algorithm. The algorithm adaptively determines the clustering radius based on local similarity, summarizing the evolution of multi-density data streams in micro-clusters. It then applies a Tightest Neighbors-based clustering algorithm to form final clusters. To improve efficiency in high-dimensional cases, Locality-Sensitive Hashing (LSH) is employed to structure micro-clusters, addressing the challenge of storing k-nearest neighbors. TNStream is evaluated on various synthetic and real-world datasets using different clustering metrics. Experimental results demonstrate its effectiveness in improving clustering quality for multi-density data and validate the proposed data stream clustering theory.
Paper Structure (28 sections, 7 theorems, 23 equations, 9 figures, 8 tables, 11 algorithms)

This paper contains 28 sections, 7 theorems, 23 equations, 9 figures, 8 tables, 11 algorithms.

Key Result

Theorem 1

$TNG(0) \subseteq TNG(1) \subseteq \cdots \subseteq TNG(k) \subseteq \cdots \subseteq TNG(m-1) = G$, as $k$ increases, the connectivity of $TNG(k)$ increases, and the number of branches in the graph decreases.

Figures (9)

  • Figure 1: KD-Tree, Ball-Tree, and LSH example
  • Figure 2: Tightest neighbors graph $TN(k),k=1,\cdots,8$. The connectivity of the graph improves as $k$ increases.
  • Figure 3: The $TNOF$ values distribution of noise datasets.
  • Figure 4: Concepts of Prototype Point and Skeleton Set
  • Figure 5: Overview Diagram of TNStream Algorithm (sample: D20)
  • ...and 4 more figures

Theorems & Definitions (19)

  • Definition 1: $k$-Tightest Neighbor ($k$-TN)
  • Definition 2: $k$-Tightest Neighbors Graph (TNG)
  • Theorem 1
  • Definition 3: $k$-Tightest Neighborhood Closure
  • Definition 4: $k$-Tightest Neighborhood Closure Invariance
  • Definition 5: Multiplicity
  • Definition 6: $k$-MTNCIS
  • Definition 7: Absolutely Distance Dividable, ADD
  • Theorem 2
  • Definition 8: Connectedly Dividable, CD
  • ...and 9 more