Detecting Arbitrarily Oriented Subspace Clusters in Data Streams Using Hough Transform

Felix Borutta, Daniyal Kazempour, Felix Mathy, Peer Kröger, Thomas Seidl

Introduction

Clustering high-dimensional data presents a significant challenge known as the "curse of dimensionality." As the number of dimensions increases, data points become increasingly sparse, and the distance between any two points tends to converge. This phenomenon renders traditional distance-based clustering methods, such as k-means, ineffective for many real-world applications.

To mitigate this, researchers employ subspace clustering, which identifies patterns within lower-dimensional projections of the data. While many stream-processing algorithms exist, they are predominantly restricted to "axis-parallel" clusters—those aligned with the original coordinate axes. However, real-world features are frequently correlated (e.g., age and salary), resulting in "oriented" clusters that exist at arbitrary angles. While static algorithms like CASH can detect these oriented clusters, they typically require the entire dataset to be resident in memory, making them unsuitable for high-velocity data streams.

The CashStream Methodology

The authors propose CashStream, an adaptation of the Hough transform-based CASH algorithm for streaming environments. CashStream utilizes a batch-processing framework and a novel "Concept" summary structure to maintain high accuracy while significantly reducing memory overhead.

1. Hough Transform and Batch Processing

The core of the approach relies on the Hough transform, which maps points in the data space to functions in a parameter space (Hough space). As illustrated below, an intersection of functions in the Hough space indicates a common linear structure (like a line or hyperplane) in the data space.

Mapping between data space and Hough space.

Because the Hough transform is computationally intensive and requires a global view of point intersections to identify clusters, CashStream processes incoming data in discrete batches rather than point-by-point. This allows the algorithm to leverage the strengths of the CASH algorithm within a constrained memory footprint.

2. Concept Summary Structures

For each cluster identified within a batch, CashStream generates a "Concept." This lightweight abstraction serves as a summary structure that stores:

  • Orientation: Hyperplane equations in Hessian Normal Form (HNF).
  • Spatial Data: The centroid (mean) and the number of points.
  • Temporal Data: A timestamp used for a decay-based aging mechanism.
The CashStream processing pipeline, from data stream to unified concepts.

3. Unification and Aging

To maintain a global model of the stream, new concepts from the current batch must be unified with previously discovered ones. The algorithm uses Singular Value Decomposition (SVD) to compare hyperplane orientations and an "Equation Shift Distance" to determine spatial proximity. To handle "concept drift," an importance score $I(C) = e^{-\lambda \Delta t} \cdot N_C$ is applied, where older, less frequent clusters are gradually phased out if they fall below a specific threshold.

Experimental Evaluation

The performance of CashStream was evaluated using both synthetic and real-world datasets:

  • Synthetic Dataset: A 4D space containing two 2D planes with added noise and jitter to simulate real-world correlations.
  • Wages Dataset: A real-world dataset (age, education, experience, salary) expanded to 40,000 records to simulate a continuous stream.

Key Results

  • Memory Efficiency: CashStream achieved a 50% reduction in memory usage compared to static methods. On the Wages dataset, peak heap space dropped from ~1500 MB (static) to ~850 MB (CashStream).
  • Clustering Quality: The algorithm maintained high quality across various batch sizes. With a batch size of 3000, the Adjusted Rand Index (ARI) reached 0.951. Even when the batch size was reduced to 750, the ARI remained robust at 0.875.
  • Throughput: The overhead of concept management and unification was negligible, with CashStream performing comparably to static versions in terms of processing speed.

Discussion and Limitations

CashStream represents a significant step forward in stream clustering by enabling the detection of arbitrarily oriented subspaces. However, some limitations remain:

  • Linearity: The reliance on the Hough transform limits the algorithm to linear correlation clusters (hyperplanes). It may struggle with complex, non-linear manifolds.
  • Sensitivity to Batch Size: Small batch sizes can lead to a loss of global perspective, potentially missing correlations that only emerge over longer intervals.
  • Parameterization: The introduction of decay factors and similarity thresholds requires careful tuning, which can be challenging in unsupervised streaming scenarios.

Future work may explore adaptive batch sizing and extending the framework to detect non-linear subspace structures.

Summary updated

BibTeX
@inproceedings{borutta2020detecting,
  author = {Felix Borutta and Daniyal Kazempour and Felix Mathy and Peer Kröger and Thomas Seidl},
  title = {{Detecting Arbitrarily Oriented Subspace Clusters in Data Streams Using Hough Transform}},
  booktitle = {PAKDD},
  year = {2020},
  doi = {10.1007/978-3-030-47426-3\_28},
}
Figure