Adaptive Wavelet Clustering for Highly Noisy Data

Zengjian Chen, Jiayi Liu, Yihe Deng, Kun He, John E. Hopcroft

TL;DR

The paper introduces AdaWave, a parameter-free, grid-based clustering algorithm designed to extract arbitrarily shaped clusters from datasets plagued by extreme noise. By combining Discrete Wavelet Transforms (DWT) with an adaptive "elbow theory" thresholding technique, AdaWave achieves robust, linear-time clustering without requiring prior knowledge of the underlying data distribution.

What Problem Does This Paper Address?

Clustering is a foundational data mining task, but real-world data is rarely clean. Most classic clustering algorithms fail when data is heavily contaminated with noise or when clusters form complex, non-spherical shapes (like rings or parallel lines).

For instance:

  • Centroid-based methods (e.g., $k$-means) lack a clear mathematical concept of "noise" and force points into artificial spherical groups.
  • Density-based methods (e.g., DBSCAN) handle arbitrary shapes well but degrade drastically when noise levels exceed 15–20%, as random noise fluctuations can bridge distinct clusters or create fake ones.
  • Distribution/statistical methods (e.g., SkinnyDip) handle high noise but rely on strict assumptions, such as clusters having a unimodal projection along each coordinate axis.

The authors set out to design an algorithm that is simultaneously shape-insensitive, parameter-free, robust to extreme noise (up to 90%), and computationally efficient enough for large-scale datasets.

Methods

AdaWave operates in four primary stages:

  1. Data Space Quantization & Grid Labeling: The multi-dimensional feature space is divided into a grid. Instead of storing every single grid cell (which causes exponential memory growth in higher dimensions), AdaWave introduces a "grid labeling" data structure. It only stores cells with a non-zero data density, making it highly memory-efficient.
  2. Wavelet Decomposition: The algorithm applies a 1D Discrete Wavelet Transform (DWT) along each dimension sequentially. Because DWT separates data into a "scale space" (the smooth, low-frequency outline of the signal) and a "wavelet space" (high-frequency details and noise), it acts as a powerful spatial low-pass filter.
  3. Adaptive Threshold Filtering: To handle cases where noise is so dense that noise grids still have high point counts, AdaWave sorts the grid densities and applies a heuristic based on elbow theory. It automatically identifies the inflection point where the dense cluster data transitions into background noise, establishing a clean threshold without manual parameter tuning.
  4. Component Labeling & Mapping: Finally, the algorithm finds connected components among the remaining high-density grids and maps these labels back to the original data points using a lookup table.
Comparison of clustering results on a highly noisy running example containing irregular shapes.

Datasets

The authors evaluated AdaWave using both synthetic and real-world benchmarks:

  • Synthetic Dataset: A custom 2D dataset consisting of 5 clusters (one Gaussian ellipse, two overlapping concentric rings, and two parallel sloping lines) buried under uniform noise varying from 20% to 90%.
  • Real-World Datasets: Nine classification datasets from the UCI repository spanning various dimensions and sizes: Seeds, Roadmap (a massive 2D road network from Denmark), Iris, Glass, DUMDH, HTRU2, Dermatology, Motor, and Wholesale customers.

Key Insights and Ideas

  • Wavelet Transform as a Spatial Denoiser: The core "aha moment" is treating spatial data density as a multi-dimensional signal. Just as wavelets can strip static noise from an audio file while preserving sharp audio transitions, DWT amplifies the contrast between dense cluster cores and sparse background noise.
  • Automating the Threshold: Rather than forcing users to guess density thresholds (like DBSCAN's minPts and eps), sorting the post-DWT grid densities consistently yields a three-segment curve (signal, transition, and noise). Applying the mathematical "elbow theory" to find the turning point makes the algorithm completely self-adaptive.
The effect of wavelet transform low-pass filtering on a signal, preserving the outline while smoothing out high-frequency noise.

Key Results

  • Extreme Noise Resilience: On the synthetic dataset with 90% noise, AdaWave maintained an Adjusted Mutual Information (AMI) score of 0.55, whereas baselines like $k$-means, EM, and DBSCAN dropped to around 0.20 or failed entirely to find clusters.
  • Real-World Superiority: Across the 9 UCI datasets, AdaWave achieved the highest average AMI (0.603), outperforming SkinnyDip (0.490), $k$-means (0.491), and DBSCAN (0.386). It performed exceptionally well on the Roadmap dataset (AMI of 0.735), successfully isolating highly populated cities from sparse countryside roads.
  • Linear Efficiency: AdaWave scales linearly, $O(nm)$, where $n$ is the number of objects and $m$ is the number of non-empty grids. This makes it significantly faster than $O(n^2)$ algorithms like DBSCAN when dealing with massive datasets.

Limitations and Future Work

While the "grid labeling" approach mitigates memory issues for sparse data, AdaWave is still fundamentally a grid-based technique. As the number of dimensions ($d$) grows very large, the total number of potential grid cells scales exponentially ($M^d$). If the high-dimensional data is dense rather than sparse, the computational and storage advantages of the grid structure begin to diminish. The authors note that exploring optimal grid resolution strategies for ultra-high-dimensional spaces remains an open area for improvement.

Summary updated

BibTeX
@inproceedings{chen2019adaptive,
  author = {Zengjian Chen and Jiayi Liu and Yihe Deng and Kun He and John E. Hopcroft},
  title = {{Adaptive Wavelet Clustering for Highly Noisy Data}},
  booktitle = {ICDE},
  year = {2019},
  doi = {10.1109/icde.2019.00037},
}
Figure