Abstract
Kernel methods are popular in clustering due to their generality and discriminating power. However, we show that many kernel clustering criteria have density biases theoretically explaining some practically significant artifacts empirically observed in the past. For example, we provide conditions and formally prove the density mode isolation bias in kernel K-means for a common class of kernels. We call it Breiman's bias due to its similarity to the histogram mode isolation previously discovered by Breiman in decision tree learning with Gini impurity. We also extend our analysis to other popular kernel clustering methods, e.g., average/normalized cut or dominant sets, where density biases can take different forms. Our findings suggest that a principled solution for density biases in kernel clustering should directly address data inhomogeneity. We show that density equalization can be implicitly achieved using either locally adaptive weights or locally adaptive kernels. Moreover, density equalization makes many popular kernel clustering objectives equivalent. Our synthetic and real data experiments illustrate density biases and proposed solutions.
Introduction: The Challenge of Non-Uniform Density
Kernel clustering is a powerful tool for identifying non-linearly separable structures in data. However, researchers have long noticed that these methods behave strangely when data density isn't perfectly uniform. For instance, kernel K-means often gets "stuck" isolating a small, dense clump of points rather than capturing the actual shape of the cluster. Conversely, Normalized Cut (NC) is known to have the opposite problem: it tends to "split" or isolate sparse, outlier points.
Until now, these behaviors were mostly treated as empirical quirks. This paper provides the first formal theoretical explanation for these biases, linking the behavior of kernel K-means to "Breiman’s bias"—a phenomenon originally discovered in decision trees where the Gini impurity criterion favors isolating the most frequent (dense) values.
Theoretical Analysis and Methods
The authors tackle the problem through a mix of mathematical proofs and algorithmic solutions. They prove that for "r-small" kernels (kernels with a small bandwidth relative to the data range), the kernel K-means objective approximates a continuous version of the Gini clustering criterion. The global optimum of this criterion is achieved by isolating the mode (the densest part) of the data.
To address this, the paper proposes the Density Equalization principle—making the data density appear uniform. They suggest two main ways to achieve this:
- Adaptive Point Weights: Weighting each point inversely to its local density ($w_p \propto 1/\rho_p$).
- Locally Adaptive Kernels: Using kernels that change their bandwidth based on the local neighborhood (like KNN-based kernels).
A striking insight is that once density equalization is applied, the mathematical differences between Normalized Cut, Average Association, and Kernel K-means largely disappear, rendering them conceptually equivalent. Furthermore, using a locally adaptive kernel is mathematically equivalent to transforming the data into a new feature space where the density is uniform.
Experimental Results
The paper validates its findings using synthetic "toy" datasets and real-world benchmarks like the LabelMe and GrabCut datasets. The results highlight that bandwidth is a double-edged sword: small bandwidths lead to Breiman’s bias, while very large bandwidths cause the method to lose its non-linear separation power, reverting to standard K-means.
In image clustering experiments (Figure 6), standard Gaussian kernels often isolated tiny dense groups of pixels (NMI of 0.38), while the proposed KNN-based adaptive kernel correctly identified the categories (NMI of 0.90). In interactive segmentation on the GrabCut dataset, using adaptive KNN kernels reduced the average error from ~20% to ~12%. When combined with standard regularization (MRF), the error dropped as low as 7.1%. The authors also note that KNN kernels are more efficient to implement due to their inherent sparsity.
Conclusion
This research provides a principled solution for density biases in kernel clustering by addressing data inhomogeneity directly. By understanding the theoretical limitations of current methods and implementing density equalization, researchers can achieve more robust and accurate clustering across a broad spectrum of applications. Future work may explore more advanced density estimation techniques to further refine these adaptive kernels.
Summary updated