TL;DR
This paper introduces KCC, a flexible and efficient MATLAB package for consensus clustering. It tackles the computational challenges of consensus clustering by reformulating it as a k-means problem, enabling scalable and robust clustering solutions.
What Problem Does This Paper Address?
Consensus clustering aims to combine multiple clustering results (basic partitions) into a single, high-quality consensus partition. While this approach offers robustness and improved performance, it often suffers from high computational complexity, making it impractical for large datasets. Existing methods either struggle with computational efficiency or lack flexibility in handling different types of data and utility functions. Furthermore, the implementation details, particularly how to represent data for k-means within the consensus clustering framework, have been underexplored. This paper addresses these issues by providing a comprehensive MATLAB package, KCC, that implements an efficient k-means-based consensus clustering algorithm and offers a unified framework for various utility functions.
Methods
The core of KCC is its k-means-based approach to consensus clustering. Instead of directly optimizing a complex consensus objective, KCC reformulates the problem into a standard k-means clustering task. This is achieved by:
- Binary Dataset Representation: Transforming the input basic partitions into a binary dataset. Each data point is represented by a vector indicating its cluster assignment in each of the basic partitions.
- Sparse Representation: To handle the potentially large and sparse binary dataset efficiently, KCC employs a sparse representation using three matrices (Ki, sumKi, and binIDX). This significantly reduces memory usage and speeds up computations.
- Generalized Utility Functions: KCC supports a flexible framework for various utility functions, which quantify the similarity between basic and consensus partitions. These functions are mapped to generalized k-means distance functions, allowing for a unified optimization process.
- Two-Phase K-Means Heuristic: The algorithm uses an iterative two-phase process (cluster assignment and centroid update) adapted for the sparse representation to efficiently find the consensus partition.
- Handling Incomplete Data: KCC is designed to handle scenarios where basic partitions might be incomplete (missing data points), further enhancing its practical applicability.
Datasets
The paper evaluates KCC on 11 real-world datasets from the UCI and TREC repositories. These datasets vary in size, number of attributes, and number of classes, providing a diverse testbed for performance evaluation. Examples include:
- breast_w
- ecoli
- iris
- pendigits
- satimage
- dermatology
- wine
- mm
- reviews
- la12
- sports
Key Insights and Ideas
- Bridging Consensus Clustering and K-Means: The most significant insight is the successful reformulation of consensus clustering into a k-means problem. This elegantly addresses the computational bottleneck of traditional consensus clustering methods.
- Efficiency through Sparsity: The use of sparse representation for the binary dataset is crucial for making the k-means heuristic computationally feasible for large-scale problems.
- Flexibility in Utility Functions: KCC's unified framework for various utility functions is a key advantage, allowing users to choose the most appropriate function for their specific data and problem, without needing different optimization heuristics for each.
- Robustness to Incomplete Data: The ability to handle incomplete basic partitions makes KCC a practical tool for real-world scenarios where data is often imperfect.
- Impact of Basic Partitions: The experiments demonstrate that a larger number of basic partitions generally leads to more robust clustering results.
Key Results
- Efficiency: KCC significantly outperforms alternative packages like ClusterEnsemble and LinkCluE in terms of execution time and memory usage, especially on larger datasets. For instance, on the 'mm' dataset, KCC's execution time is orders of magnitude faster than LinkCluE.
- Clustering Quality: KCC achieves competitive or superior clustering quality (measured by metrics like CA, NMI, and Rn) compared to other consensus clustering packages, including ClusterEnsemble, CLUE, and LinkCluE.
- Flexibility: Experiments show that different utility functions can yield varying clustering quality, highlighting the importance of KCC's flexible utility function framework. The UH utility function was found to perform best across multiple metrics.
- Robustness: KCC demonstrates robustness to incomplete basic partitions, with performance degradation only occurring when a very high percentage of data is missing.
Limitations and Future Work
- Limitations:
- The paper notes that some alternative packages (CLUE, OpenEnsembles) were computationally intractable on certain TREC datasets, making direct comparison difficult for those cases.
- While KCC is efficient, the paper mentions that the "score" utility function in efficiency comparison was exceptionally fast, suggesting further investigation into why.
- Future Work:
- Investigate other sparse techniques to represent the binary dataset.
- Further improve the implementation of the KCC package.
Summary updated