NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A Self-Balanced Min-Cut Algorithm for Image Clustering

Xiaojun Chen, Joshua Zhexue Huang, Feiping Nie, Renjie Chen, Qingyao Wu

Abstract

Spectral clustering is a robust unsupervised learning technique, yet it suffers from high computational complexity ($O(n^3)$) and a tendency to produce trivial, imbalanced solutions. This paper presents the Self-Balanced Min-Cut (SBMC) algorithm, which addresses these issues by solving the graph-cutting problem directly in discrete space. By integrating the Exclusive Lasso as a balance regularizer, SBMC achieves state-of-the-art accuracy with linear time complexity $O(n)$, making it suitable for large-scale image datasets.

Introduction

Traditional spectral clustering methods typically involve a two-stage process: solving a continuous relaxation of the min-cut problem via eigendecomposition and then rounding the results using k-means. This approach is not only computationally prohibitive for large datasets but also introduces a "relaxation gap" where the continuous solution deviates from the optimal discrete assignments. Furthermore, standard min-cut objectives often lead to highly imbalanced clusters, where outliers are isolated into tiny groups.

The SBMC Framework

The proposed SBMC algorithm reformulates clustering as a matrix approximation problem. Instead of the standard Laplacian approach, it seeks to minimize the difference between the similarity matrix $A$ and a weighted indicator matrix product $sYY^T$, where $Y$ is the cluster indicator matrix and $s$ is a balance parameter.

Exclusive Lasso for Automatic Balancing

A core innovation of SBMC is the use of the Exclusive Lasso ($\|Y\|_e$) as a regularizer. The authors demonstrate that minimizing this norm is mathematically equivalent to seeking a balanced partition. Unlike previous methods that require manual tuning of balancing hyperparameters, SBMC learns the parameter $s$ dynamically during the optimization process.

Original graph $D_2$ showing imbalanced cluster structures.

Linear Time Complexity

By utilizing the Augmented Lagrangian Multiplier (ALM) and the Alternating Direction Method of Multipliers (ADMM), the authors avoid the $O(n^3)$ eigendecomposition. The resulting optimization process scales linearly with the number of samples ($O(n)$), placing it in the same efficiency class as k-means while maintaining the structural advantages of graph-based clustering.

Experimental Validation

The authors evaluated SBMC against several state-of-the-art methods using both synthetic and real-world image datasets, including Corel-5k, MNIST, and Yale face databases.

Synthetic Benchmarks

Synthetic datasets $D_1$ through $D_6$ were used to test the algorithm's robustness to noise and its ability to handle varying cluster sizes. As shown in the synthetic results, the algorithm successfully learns appropriate balance parameters $s$ for different graph structures.

Learned balance parameters $s$ for synthetic graphs $D_3$ through $D_6$.

Performance on Image Data

On the Yale-64x64 face dataset, SBMC achieved an accuracy of 55.9%, significantly outperforming traditional Normalized Cut (NCut) at 36.5%. Speed tests confirmed that as sample sizes grew, SBMC's execution time remained stable, whereas traditional spectral methods saw exponential increases in computation time. Even under high noise conditions, SBMC maintained superior accuracy compared to Ratio Cut and Normalized Cut.

Conclusion

SBMC represents a significant advancement in spectral clustering by bridging the gap between theoretical graph-cut objectives and practical large-scale application. By learning balance parameters automatically and maintaining linear complexity, it provides a robust and scalable solution for complex image clustering tasks. Future work may explore extending this framework to fuzzy clustering or integrating graph construction directly into the learning loop.

Summary updated

BibTeX
@inproceedings{chen2017self,
  author = {Xiaojun Chen and Joshua Zhexue Huang and Feiping Nie and Renjie Chen and Qingyao Wu},
  title = {{A Self-Balanced Min-Cut Algorithm for Image Clustering}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2017},
  doi = {10.1109/iccv.2017.227},
}
Figure