Abstract
Spectral clustering is a robust technique for data grouping, yet the final step of converting continuous eigenvectors into discrete cluster assignments often relies on heuristic methods like K-means. This paper presents a principled framework for multiclass spectral clustering that bridges this gap. By identifying the optimal rotation of the eigenspace to align with a discrete partition, the authors develop an iterative alternating optimization algorithm. This approach yields faster convergence, greater stability, and nearly global-optimal results for complex image segmentation tasks.
Introduction
Spectral clustering treats datasets, such as image pixels, as nodes in a graph. The objective is to find "cuts" that minimize inter-group connections while maximizing intra-group affinity, a criterion known as the Normalized Cut. While this problem is NP-complete in its discrete form, it can be relaxed into a continuous eigendecomposition problem.
However, the "discretization" step—transforming continuous eigenvectors back into discrete labels—remains a significant challenge. Traditional approaches often apply K-means to the eigenvectors, a heuristic that lacks theoretical grounding and is highly sensitive to initialization. This paper addresses the fundamental question of how to move from the continuous eigenspace to the best possible discrete clustering in a mathematically rigorous manner.
Methodology
The proposed framework consists of two primary stages: continuous relaxation and optimal discretization.
1. Continuous Relaxation
The $K$-way normalized cut problem is initially solved by finding the top $K$ eigenvectors of a normalized affinity matrix. A key theoretical insight here is Orthonormal Invariance: any orthonormal transformation (rotation or reflection) of these eigenvectors is equally optimal in the continuous domain.
2. Optimal Discretization
Given that any rotation of the eigenvectors is valid, the goal is to find the specific rotation ($R$) that minimizes the distance between the continuous solution and a valid discrete partition matrix ($X$). This is formulated as a Procrustes-style problem and solved via an alternating optimization process:
- Update $X$: For a fixed rotation, discrete labels are found using non-maximum suppression, assigning each point to the cluster corresponding to its largest coordinate.
- Update $R$: For a fixed discrete partition, the optimal rotation is calculated using Singular Value Decomposition (SVD).
This iterative process monotonically decreases the objective function until convergence, effectively "pulling" the continuous solution toward the discrete manifold.
Key Insights
- Eigenspace as a Generator: Eigenvectors are treated as a basis generating a family of optimal solutions. The optimization task is to find the most "cluster-aligned" member of this family.
- Geometric Normalization: Mapping data points onto a unit hypersphere allows clustering to be viewed as finding the best orthogonal axes for separation.
- Principled Optimization: Unlike K-means, this method optimizes a clear objective function ($\phi$) that measures the proximity of discrete and continuous solutions without external assumptions.
Results and Evaluation
The algorithm was evaluated on synthetic point sets, the Berkeley Segmentation Dataset (BSDS), and fashion photography.
- Efficiency: The discretization step is remarkably fast, taking approximately 0.1 to 1.1 seconds for an 11,000-pixel image. It typically converges twice as fast as K-means-based alternatives.
- Robustness: The method demonstrates high resilience to random initialization, consistently reaching nearly global-optimal solutions where K-means might fail.
- Qualitative Performance: The approach successfully segments complex real-world structures, such as separating intricate clothing patterns from cluttered backgrounds or detailing the patterns on a butterfly's wings.
Discussion and Future Work
While the method provides a significant advancement in discretization, some challenges remain. Determining the optimal number of clusters ($K$) is still an open problem, as the objective value $\epsilon$ is not always a definitive indicator of segmentation quality. Additionally, while the discretization is efficient, the initial $O(N^{1.5}K)$ eigendecomposition remains a computational bottleneck for very high-resolution images. Future work may explore hierarchical structures, as the current method produces flat partitions that do not inherently capture the nested nature of objects in a scene.
Summary updated