[Paper Review] The Laplacian K-modes algorithm for clustering
The Laplacian K-modes algorithm combines K-modes clustering with a graph Laplacian regularization to find meaningful, high-density, interpretable cluster centroids even in nonconvex or manifold-structured data. By integrating assignment variables, mode-seeking via kernel density estimation, and spectral regularization, it achieves superior clustering performance with valid, representative centroids and efficient out-of-sample assignment.
In addition to finding meaningful clusters, centroid-based clustering algorithms such as K-means or mean-shift should ideally find centroids that are valid patterns in the input space, representative of data in their cluster. This is challenging with data having a nonconvex or manifold structure, as with images or text. We introduce a new algorithm, Laplacian K-modes, which naturally combines three powerful ideas in clustering: the explicit use of assignment variables (as in K-means); the estimation of cluster centroids which are modes of each cluster's density estimate (as in mean-shift); and the regularizing effect of the graph Laplacian, which encourages similar assignments for nearby points (as in spectral clustering). The optimization algorithm alternates an assignment step, which is a convex quadratic program, and a mean-shift step, which separates for each cluster centroid. The algorithm finds meaningful density estimates for each cluster, even with challenging problems where the clusters have manifold structure, are highly nonconvex or in high dimension. It also provides centroids that are valid patterns, truly representative of their cluster (unlike K-means), and an out-of-sample mapping that predicts soft assignments for a new point.
Motivation & Objective
- Address the limitation of K-means and K-modes in handling nonconvex or manifold-structured clusters.
- Ensure cluster centroids are valid, representative patterns by finding modes of kernel density estimates within each cluster.
- Introduce a regularization mechanism to encourage smooth, coherent assignments across nearby data points, improving cluster separation.
- Maintain computational efficiency and scalability while enabling soft out-of-sample assignments for new data points.
- Achieve better clustering performance than K-means, K-modes, and mean-shift on high-dimensional datasets like MNIST and COIL-20.
Proposed method
- Formulates a joint optimization objective combining K-modes clustering with graph Laplacian regularization to encourage spatial coherence in cluster assignments.
- Uses binary assignment variables (z_nk) to assign data points to clusters, similar to K-means, but with a non-Euclidean, density-aware distance metric.
- Estimates cluster centroids as modes of kernel density estimates (KDEs) built from points in each cluster, ensuring they are valid, high-density patterns.
- Alternates between solving a convex quadratic program for assignment updates and performing mean-shift iterations to update each centroid independently.
- Incorporates a homotopy continuation technique by gradually decreasing the bandwidth σ while reusing solutions from previous steps to improve convergence and performance.
- Enables soft out-of-sample predictions by leveraging the learned density estimates and assignment rules.
Experimental results
Research questions
- RQ1Can we design a clustering algorithm that finds meaningful, high-density, interpretable centroids even for nonconvex or manifold-structured data?
- RQ2How can we combine the strengths of K-modes (mode-seeking, valid centroids) and spectral clustering (nonconvex cluster detection) in a single framework?
- RQ3Can we maintain computational efficiency while introducing regularization that improves assignment coherence and cluster separation?
- RQ4Does the integration of graph Laplacian regularization enhance clustering performance on high-dimensional datasets like MNIST and COIL-20?
- RQ5Can the algorithm produce soft, generalizable assignments for new data points beyond the training set?
Key findings
- On MNIST, Laplacian K-modes achieved 70.5% accuracy and 68.8% NMI, significantly outperforming K-means (55.2% accuracy, 50.2% NMI) and K-modes (56.0% accuracy, 50.6% NMI).
- On COIL-20, Laplacian K-modes reached 81.5% accuracy and 88.0% NMI using the homotopy technique, surpassing K-means (64.8% accuracy, 73.5% NMI) and K-modes (65.5% accuracy, 73.0% NMI).
- Centroids produced by Laplacian K-modes were sharp, prototypical images that averaged out noise and idiosyncrasies while preserving class identity, unlike the blurry, averaged centroids of K-means.
- The algorithm successfully separated clusters with manifold structures (e.g., rotated digits), avoiding the issue of multiple modes or centroid drift seen in mean-shift.
- The homotopy continuation method improved performance by gradually decreasing bandwidth σ, allowing centroids to evolve smoothly toward high-density, representative patterns.
- The algorithm provides soft out-of-sample assignments, enabling generalization to new data points based on learned density and assignment models.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.