Abstract: Density Peaks Clustering (DPC) is a powerful unsupervised tool, but it often struggles with high-dimensional data where cluster boundaries are ambiguous. This paper proposes Semi-Supervised Density Peaks Clustering (SSDPC), a novel framework that leverages pairwise constraints to project data into a lower-dimensional space where clusters are more distinct. By reshaping the feature space before clustering, SSDPC significantly outperforms existing semi-supervised methods on both image and tabular datasets.
Introduction
Clustering is a fundamental unsupervised task in machine learning, aimed at grouping data without pre-existing labels. However, pure unsupervised clustering often falters when dealing with complex, high-dimensional data where Euclidean distance fails to capture the underlying structure.
While fully labeled data is often expensive to obtain, researchers frequently have access to pairwise constraints:
- Must-Link (ML): Indicating two points belong to the same cluster.
- Cannot-Link (CL): Indicating two points belong to different clusters.
The challenge lies in effectively integrating these "hints" into the Density Peaks Clustering (DPC) algorithm. While DPC is efficient at identifying cluster centers, it was originally designed as a purely unsupervised method. Previous attempts to introduce semi-supervision often resulted in rigid or computationally expensive modifications.
The SSDPC Methodology
The core innovation of this research is Constraint Projection. Rather than modifying the DPC algorithm itself, the authors focus on transforming the data's feature space to better reflect the known constraints.
As shown in the flowchart above, the process follows these key steps:
- Objective Function Definition: A mathematical goal is set to find a projection matrix ($W$) that maximizes the distance between "Cannot-Link" pairs while minimizing the distance between "Must-Link" pairs.
- Eigenvalue Solution: This optimization is solved as a generalized eigenvalue problem ($H_C - dH_M$). The resulting eigenvectors define the optimal dimensions for clustering.
- Dimensionality Reduction: High-dimensional data (often containing hundreds of features) is projected onto these new, constraint-driven dimensions.
- Standard DPC Execution: The traditional DPC algorithm is run on the transformed dataset. Because the projection has already grouped similar points and separated dissimilar ones, DPC can identify cluster centers with much higher precision.
Experimental Setup
The researchers evaluated SSDPC against three established semi-supervised algorithms—Cop-kmeans, COSC, and Semi-AP—across 20 diverse datasets:
- 17 Image Datasets: Sourced from the MSRA-MM collection, these datasets (e.g., "Ambulances," "Aquarium") are particularly challenging due to their high dimensionality (nearly 900 features per image).
- 3 UCI Datasets: "Credit approval," "Vertebral column," and "Congressional voting records" provide a benchmark for performance on traditional tabular data.
Key Results and Discussion
SSDPC demonstrated superior performance across nearly all test cases. The algorithm achieved the highest average Micro-averaged Precision (MAP) of 0.5797, notably higher than the next best method, Cop-kmeans (0.5038).
As detailed in the results table, SSDPC was particularly effective on the "Congressional voting records" dataset, reaching an accuracy of 0.8805. Statistical analysis using the Friedman Aligned Rank test yielded a p-value of $1.64 \times 10^{-9}$, confirming that SSDPC’s performance lead is statistically significant.
Beyond accuracy, the method offers two major advantages:
- Flexibility: The global projection approach is robust; it can find a sensible middle ground even if a few provided constraints are noisy or contradictory.
- Efficiency: By relying on standard matrix algebra (eigenvalue decomposition), the algorithm maintains a manageable time complexity of $O(n^2)$.
Conclusion
SSDPC represents a significant step forward for semi-supervised clustering. By using pairwise constraints to "clean up" the data distribution before clustering begins, it bypasses the limitations of traditional DPC on high-dimensional data. Future work will focus on automating the selection of the cutoff distance ($d_c$) parameter to make the algorithm more accessible for general-purpose use.
Summary updated