Standard clustering algorithms like $k$-means and graph-based min-cut are foundational tools in data science. However, they often suffer from a significant limitation: they do not inherently account for cluster balance. In many real-world scenarios, such as digit recognition or facial classification, the underlying data is naturally distributed into groups of roughly equal size. Traditional methods, sensitive to initialization and outliers, frequently produce "lopsided" results—isolating a tiny minority of points into their own clusters while merging others into massive, heterogeneous groups.
Presented at AAAI-18, this research introduces a pragmatic framework for "Balanced Clustering" that leverages the Exclusive Lasso as a regularizer. By introducing a mathematical competition between clusters for data points, the proposed method encourages clusters of equal size, significantly improving accuracy on balanced benchmarks.
The Exclusive Lasso Framework
The core innovation of this work is the application of the Exclusive Lasso ($\ell_{1,2}$-norm) to the clustering indicator matrix. The authors demonstrate that the Exclusive Lasso of a cluster assignment matrix is mathematically equivalent to the sum of the squares of the cluster sizes ($\sum n_k^2$).
According to the Cauchy-Schwarz inequality, this sum is minimized when all cluster sizes ($n_k$) are equal. By adding this term as a regularizer to standard objective functions, the authors create a natural "pressure" that prevents any single cluster from growing disproportionately large. This strategy was applied to two primary clustering paradigms:
- Balanced $k$-means: The Exclusive Lasso term is added to the standard $k$-means objective, penalizing the algorithm as cluster sizes diverge.
- Balanced Min-Cut: The same logic is applied to graph-based clustering, ensuring that partitions are not only low-energy (high connectivity) but also roughly equal in size.
To handle the non-smooth nature of the Exclusive Lasso, the researchers developed two iterative algorithms that update cluster assignments row-by-row, with formal proofs of convergence.
Experimental Evaluation
The researchers evaluated their approach on nine diverse, large-scale benchmarks, including digit datasets (MNIST, USPS), face datasets (YaleB, ORL, CMU-PIE, UMIST), and object datasets (Coil20). These datasets are ideal for testing because they possess clear, balanced ground-truth categories.
Key Results
The "Balanced" versions of the algorithms consistently outperformed traditional counterparts and several state-of-the-art variants across all metrics. As shown in the table below, the accuracy gains are particularly striking on challenging datasets like YaleB, where standard $k$-means achieved only 16.3% accuracy compared to 43.5% for the proposed method.
Beyond centroid-based clustering, the Balanced Min-Cut also showed superior performance. For instance, on the Coil20 object dataset, it achieved 81.6% accuracy, significantly higher than the 70.3% achieved by standard Min-Cut.
Hyperparameter Sensitivity and Discussion
A critical component of the algorithm is the hyperparameter $\gamma$, which controls the strength of the balance constraint. If $\gamma$ is too small, the algorithm reverts to standard unbalanced clustering; if too large, the balance constraint may override the underlying data structure.
As illustrated in the sensitivity plots, there is typically a "sweet spot" for $\gamma$ (usually between $10^{-2}$ and $10^2$) where performance peaks. While the current approach relies on grid-search to find this optimal value, future work aims to develop auto-tuning methods to make the framework more autonomous.
Conclusion
By treating cluster assignment as a competition via the Exclusive Lasso, this paper provides a theoretically elegant and practically effective solution to the cluster balance problem. The plug-and-play nature of this regularization strategy allows it to be easily integrated into existing clustering workflows, offering a robust alternative for datasets where balanced partitions are expected.
Summary updated