Unsupervised spectral learning

Susan M. Shortreed, Marina Meila

Abstract

Spectral clustering is a powerful technique for data grouping, yet its performance is heavily dependent on the choice of a similarity function, which often requires manual tuning or labeled data. This paper introduces an unsupervised framework that learns similarity parameters and cluster assignments concurrently. By optimizing a "gap" criterion derived from the spectral properties of the data, the algorithm automatically identifies relevant features and adapts to the local structure of different clusters.

Introduction: The Challenge of Similarity

Spectral clustering relies on a similarity matrix ($S$) to define the relationships between data points. Traditionally, this matrix is constructed using domain expertise or learned via supervised methods. However, in many real-world applications, labels are unavailable, and the relevance of features may vary across different regions of the data space. For instance, in image segmentation, color might distinguish the sky, while texture is more informative for vegetation. This research addresses the need for unsupervised spectral learning, enabling the automatic tuning of similarity metrics to fit the inherent structure of the data.

Methodology: Iterative Optimization

The proposed approach utilizes an iterative, two-step algorithm similar to Expectation-Maximization (EM):

  1. The C-Step (Clustering): Given the current similarity parameters, the algorithm identifies the optimal clustering. To ensure robustness and avoid local optima, a "Multiple-Targets" approach is employed, maintaining several candidate clusterings.
  2. The S-Step (Similarity): With the clustering fixed, the similarity parameters ($\theta$) are adjusted to maximize cluster quality.

The "Gap" Criterion

To evaluate cluster quality without ground-truth labels, the authors utilize the spectral gap. In an ideal scenario, the Multiway Normalized Cut (MNCut) should approach its theoretical lower bound, determined by the eigenvalues of the transition matrix. The optimization objective minimizes this "gap" while maximizing the "eigengap"—the difference between the $K$-th and $(K+1)$-th eigenvalues—to ensure stable and well-separated clusters.

Key Insights: Feature Discovery and Context

A significant finding of this work is the algorithm's ability to perform unsupervised feature selection. In synthetic tests with noisy dimensions, the model successfully assigned near-zero weights to irrelevant features.

Furthermore, the introduction of label-dependent parameters allows the similarity function to adapt to specific clusters. In the Dermatology dataset, different clinical features were found to be relevant for different disease groups, confirming that a uniform similarity metric is often insufficient.

Learned feature weights for the Dermatology dataset, showing how different parameters are prioritized for different clusters.

Experimental Results

The framework was evaluated across three distinct domains:

  • Synthetic Gaussian Clusters: The algorithm reduced classification error from 69.2% to 1.6% by learning to ignore eight dimensions of pure noise.
  • Dermatology Data: On a real-world UCI dataset (358 patients, 34 features), clustering error was reduced from 43.8% to approximately 15-17% through parameter learning.
  • Image Segmentation: The algorithm successfully segmented a $32 \times 32$ cow image by refining color and texture feature weights.
Segmentation of the "Cow" image after unsupervised learning (K=4), demonstrating the algorithm's ability to identify coherent regions without prior labels.

Limitations and Future Directions

While effective, the current framework has several areas for improvement:

  • Cluster Count ($K$): The number of clusters must be predefined; future work could focus on automated discovery of $K$.
  • Hyperparameter Tuning: The regularization constant ($\alpha$) balancing the gap and eigengap is currently set empirically.
  • Computational Cost: The iterative nature of the optimization, requiring multiple rounds of spectral clustering, increases computational demands compared to standard methods.

Summary updated

BibTeX
@inproceedings{shortreed2005unsupervised,
  author = {Susan M. Shortreed and Marina Meila},
  title = {{Unsupervised spectral learning}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2005},
}
Figure