Dimensionality Reduction for Spectral Clustering

Donglin Niu, Jennifer G. Dy, Michael I. Jordan

Abstract

Spectral clustering is a powerful technique for identifying non-linear cluster structures, yet it is highly sensitive to noisy or irrelevant features. This paper introduces Dimension Reduced Spectral Clustering (DRSC), an algorithm that integrates dimensionality reduction directly into the spectral clustering objective. By simultaneously optimizing a linear projection and cluster assignments, DRSC effectively filters noise in the original input space before similarity kernels are applied. Experimental evaluations on synthetic and real-world datasets demonstrate that DRSC provides superior robustness and accuracy compared to traditional decoupled approaches like PCA followed by spectral clustering.

Introduction

In unsupervised learning, spectral clustering is favored for its ability to detect non-convex clusters by finding optimal cuts in a similarity graph. However, the "curse of dimensionality" poses a significant challenge: as irrelevant features increase, the distance between points becomes nearly constant, corrupting the similarity graph. While practitioners often use Principal Component Analysis (PCA) as a preprocessing step, PCA identifies directions of maximum variance, which may not align with the underlying cluster structure. DRSC addresses this by learning a dimensionality reduction specifically optimized to reveal clusters.

Methodology

DRSC departs from the standard two-step pipeline by combining dimensionality reduction and clustering into a single objective function. The core innovation is the introduction of a linear projection matrix ($W$) into the relaxed normalized cut objective. The algorithm employs an alternating optimization strategy:

  1. Cluster Update: Given a fixed projection, the algorithm computes the similarity matrix and finds the spectral embedding via standard eigenvalue decomposition.
  2. Projection Update: Given fixed cluster embeddings, the algorithm updates the projection matrix $W$ using a gradient ascent "dimension growth" algorithm to maximize the clustering objective.
Visualizing the DRSC process on synthetic datasets. Columns (a) and (b) show the original data and the learned 2D projection, while (c) and (d) show the similarity matrices before and after optimization.

Mathematically, this joint optimization is equivalent to Unsupervised Sufficient Dimensionality Reduction using the Hilbert-Schmidt Independence Criterion (HSIC). This ensures the algorithm actively maximizes the statistical dependence between the projected data and the discovered clusters.

Experimental Results

The authors evaluated DRSC against standard $k$-means, Spectral Clustering (SC), PCA+SC, and other baselines using both synthetic and real-world datasets (including face images, machine sounds, and handwritten digits).

Synthetic Data Performance

On synthetic datasets featuring complex shapes like interlocking rings and hooks, DRSC successfully recovered the cluster structures even when they were obscured by high-variance noise. As shown in the performance plots, DRSC maintains near-perfect Normalized Mutual Information (NMI) at noise levels where traditional methods completely fail.

Comparison of clustering performance (NMI) against increasing noise levels across four synthetic scenarios. DRSC (black circles) consistently outperforms baseline methods as noise variance increases.

Real-World Benchmarks

DRSC outperformed all baseline methods across six real-world datasets from the UCI KDD Archive. Notably, on the Face dataset, DRSC achieved an NMI of 0.87, significantly higher than the 0.75 achieved by standard SC and PCA+SC. The algorithm proved capable of "projecting away" variations in lighting and pose to isolate identity as the primary clustering feature.

Discussion and Limitations

The success of DRSC highlights that coupling dimensionality reduction with the clustering objective is superior to independent pipelining. By filtering noise in the input space before the kernel similarity is computed, DRSC prevents noisy dimensions from poisoning the pairwise calculations.

However, the approach has limitations. The joint optimization problem is non-convex, meaning the algorithm is guaranteed only to reach a local optimum and is sensitive to initialization. Furthermore, the algorithm requires the target dimensionality and the number of clusters ($k$) to be predefined. Future work may focus on automated parameter selection and reducing the computational complexity associated with calculating similarity matrix derivatives.

Summary updated

BibTeX
@article{niu2011dimensionality,
  author = {Donglin Niu and Jennifer G. Dy and Michael I. Jordan},
  title = {{Dimensionality Reduction for Spectral Clustering}},
  journal = {AISTATS},
  year = {2011},
}
Figure