Density-based Projected Clustering over High Dimensional Data Streams

Irene Ntoutsi, Arthur Zimek, Themis Palpanas, Peer Kröger, Hans-Peter Kriegel

Abstract

Modern data environments increasingly produce high-dimensional data streams that require real-time analysis. Traditional clustering algorithms often struggle with the "double trouble" of continuous data arrival and the curse of dimensionality. This paper presents HDDSTREAM, a novel density-based clustering algorithm designed to automatically discover clusters in specific subspaces while adapting to evolving data patterns without requiring a pre-specified number of clusters.

1. Introduction

In contemporary data science, researchers and practitioners face two simultaneous challenges. First, the Streaming Challenge involves data that arrives continuously and at high speeds, such as network traffic or sensor logs. This data cannot be stored in its entirety, and its relevance diminishes over time due to concept drift. Second, the High-Dimensionality Challenge arises when objects are described by hundreds of attributes, many of which are "noise" for any specific cluster. For instance, a cluster representing normal network traffic might only be discernible within a specific subset of variables, while a DDoS attack cluster might manifest in a completely different subspace.

Existing algorithms typically address only one of these issues. Partitioning methods like $k$-means require a fixed number of clusters ($k$), which is impractical for evolving streams. Conversely, traditional density-based methods are effective at finding arbitrary shapes and handling noise but are often computationally prohibitive and designed for static, low-dimensional datasets. HDDSTREAM bridges this gap by combining density-based logic with projected clustering techniques.

2. The HDDSTREAM Framework

HDDSTREAM utilizes a two-tiered architecture to manage the complexities of high-dimensional streams: an online maintenance phase and an offline clustering phase.

2.1 Online Maintenance and Micro-clustering

As data points arrive, the algorithm maintains "micro-clusters," which are statistical summaries (linear sums, square sums, and weights) of groups of points. To handle the temporal nature of streams, HDDSTREAM employs an exponential fading function. This ensures that recent data points have a greater influence on the cluster statistics than older data, allowing the model to adapt to concept drift.

2.2 Projected Clustering and Subspace Awareness

HDDSTREAM recognizes that attribute relevance is local. For each micro-cluster, the algorithm calculates the variance along every dimension. Dimensions exhibiting low variance are identified as "preferred" dimensions. When calculating the distance between a new point and an existing micro-cluster, the algorithm uses a projected distance that focuses exclusively on these preferred dimensions. This allows the algorithm to bypass the curse of dimensionality by ignoring irrelevant attributes.

2.3 Density-Based Logic

The framework distinguishes between Core Micro-clusters (dense enough to represent a valid cluster) and Outlier Micro-clusters (potential noise). This distinction allows for dynamic evolution: outliers can "graduate" to core status if they accumulate enough weight over time, while sparse micro-clusters that fail to gain traction are eventually discarded to maintain memory efficiency.

2.4 Offline Clustering

When a user requests the final clustering results, the offline component treats the existing micro-clusters as "pseudo-points." It then applies a density-based algorithm, inspired by PreDeCon, to group these micro-clusters into the final macro-clusters.

3. Experimental Evaluation

The authors evaluated HDDSTREAM using two benchmark datasets:

  • Network Intrusion (KDD Cup '99): Comprising approximately 424,000 TCP connection records with 34 continuous attributes. This dataset represents an evolving stream where different attack types appear as sudden bursts.
  • Forest Cover Type (UCI): Comprising approximately 581,000 records with 10 quantitative variables, used to test large-scale multi-class classification through clustering.

4. Key Results and Insights

HDDSTREAM demonstrated several advantages over existing methods like HPStream:

  • Superior Purity: HDDSTREAM consistently achieved higher purity scores (matching clusters to ground-truth labels) compared to partitioning-based competitors. While HPStream often forces noisy points into existing clusters, HDDSTREAM correctly identifies them as outliers.
  • Subspace Adaptability: In network intrusion tests, HDDSTREAM reached 100% purity during specific attack bursts, demonstrating its ability to perfectly isolate malicious traffic within the correct subspace.
  • Drift Detection: The research highlighted that monitoring the number of micro-clusters over time serves as an effective signal for concept drift. A sudden spike in micro-clusters often correlates with the onset of a network attack.
  • Efficiency: The algorithm maintains a stable memory footprint by pruning old or noisy micro-clusters, making it suitable for infinite data streams.

5. Conclusion and Future Work

HDDSTREAM provides a robust solution for clustering high-dimensional data streams by combining subspace projection with density-based micro-clustering. However, the method remains sensitive to hyperparameters such as the density threshold ($\mu$) and variance threshold ($\delta$). Furthermore, the current implementation assumes axis-parallel clusters, potentially missing clusters defined by non-linear correlations between dimensions.

Future research directions include the development of more sophisticated aging models and extending the framework to handle "correlation clustering," which would allow for the discovery of clusters in arbitrarily oriented subspaces.

Summary updated

BibTeX
@inproceedings{ntoutsi2012density,
  author = {Irene Ntoutsi and Arthur Zimek and Themis Palpanas and Peer Kröger and Hans-Peter Kriegel},
  title = {{Density-based Projected Clustering over High Dimensional Data Streams}},
  booktitle = {SDM},
  year = {2012},
  doi = {10.1137/1.9781611972825.85},
}
Figure