Hierarchical Sparse Representation Clustering for High-Dimensional Data Streams

Jie Chen, Hua Mao, Yuanbiao Gou, Xi Peng

TL;DR

The Hierarchical Sparse Representation Clustering (HSRC) algorithm moves away from traditional Euclidean distance-based clustering for high-dimensional data streams. By leveraging the "self-expressiveness" of sparse representation, it builds a hierarchical structure of micro- and macro-clusters that is significantly more robust to noise and better at capturing the intrinsic geometry of complex, high-dimensional datasets.

What Problem Does This Paper Address?

Clustering data streams—sequences of data that arrive continuously and are potentially infinite—is a staple of modern machine learning. However, most existing algorithms (like BIRCH or CluStream) rely on Euclidean distance to measure similarity. This leads to two major "pain points":

  1. The Curse of Dimensionality: In high-dimensional spaces, Euclidean distance becomes less meaningful because the distance between any two points tends to converge, making it hard to distinguish clusters.
  2. Noise Sensitivity: Real-world streams are often "dirty." Traditional methods that rely on local neighborhood similarities are easily derailed by outliers and noise.

The authors address these gaps by proposing a method that doesn't care about how "far" points are in a geometric sense, but rather how well they can "represent" one another.

Methods

HSRC operates on landmark windows (fixed-size chunks of data) and follows a multi-stage pipeline:

  • Sparse Affinity Learning: Instead of calculating distances, HSRC uses an $l_1$-minimization technique to learn an affinity matrix. This is based on the self-expressiveness property: the idea that a data point in a union of subspaces can be efficiently represented as a linear combination of other points in the same subspace.
  • Micro-clustering: It applies spectral clustering (specifically Normalized Cuts) to this affinity matrix to generate initial "micro-clusters."
  • Hierarchical Merging: These micro-clusters are merged into "macro-clusters" using a novel metric called Sparse Similarity Degree (SSD). This allows the algorithm to form clusters of arbitrary shapes, unlike the spherical clusters produced by $k$-means variants.
  • Sparsity Residual Values (SRV): The authors introduce SRV to solve two problems at once. Points with high SRVs are flagged as outliers, while points with low SRVs are chosen as representatives to serve as the "dictionary" for the next data window.
  • Fine-tuning: A final pass re-evaluates each data object against the macro-clusters to "purify" the results and ensure points are assigned to the cluster that represents them with the least error.

Datasets

The authors evaluated HSRC on four benchmark datasets representing a wide range of dimensions:

  • Keystroke: 1,600 objects, 10 features (Low-dimensional).
  • Network Intrusion: 494,000 objects, 42 features.
  • Forest Cover: 580,000 objects, 54 features.
  • COIL-100: 7,200 images, 1,024 features (High-dimensional).

Key Insights and Ideas

  • Representation over Distance: The core "aha" moment is that sparse representation is inherently more robust than Euclidean distance. Because it looks for a global sparse structure, it can "see through" noise that would otherwise distort local distance measures.
  • The Dual Role of Residuals: Using the Sparsity Residual Value (SRV) as a unified metric for both outlier detection and dictionary selection is elegant. It essentially says: "If I can't represent you well using the current dictionary, you're either an outlier or you're so unique that I need to include you in the dictionary for the next round."
  • Hierarchical Flexibility: By merging micro-clusters into macro-clusters based on SSD, the model avoids the rigid assumptions of density-based or centroid-based clustering, allowing it to adapt to the "concept drift" (changes in data distribution over time) common in streams.

Key Results

HSRC consistently outperformed popular algorithms like CluStream, ClusTree, and StreamKM++ across all datasets:

  • Superior Purity: On the high-dimensional COIL-100 dataset, HSRC achieved a clustering purity of 67.74%, significantly higher than the next best competitor (FDCM_SSR at 51.1%).
  • Robustness to Noise: In experiments where 20% of the data was corrupted with noise, HSRC maintained a purity of 94.44% on the Network Intrusion dataset, while other methods saw significant performance drops.
  • Stability: Online performance graphs show that HSRC maintains stable purity and F-measure scores over time, even as the data stream evolves.

Limitations and Future Work

While powerful, HSRC is not without its trade-offs:

  • Computational Complexity: Solving $l_1$-minimization and performing spectral clustering is more computationally expensive than simple $k$-means. The authors note the complexity is roughly $O(n^3)$, which might be a bottleneck for extremely high-velocity streams without further optimization.
  • Parameter Sensitivity: The performance depends on tuning the tradeoff parameter $\lambda$ and the number of micro-clusters $m$.
  • Future Directions: The authors suggest exploring ways to further reduce computational overhead and improving the algorithm's ability to handle more extreme forms of concept drift where entirely new classes appear suddenly.

Summary updated

BibTeX
@article{chen2025hierarchical,
  author = {Jie Chen and Hua Mao and Yuanbiao Gou and Xi Peng},
  title = {{Hierarchical Sparse Representation Clustering for High-Dimensional Data Streams}},
  journal = {IEEE Trans. Neural Networks Learn. Syst.},
  year = {2025},
  doi = {10.1109/tnnls.2025.3582380},
}
Figure