Bilateral k-Means Algorithm for Fast Co-Clustering

Junwei Han, Kun Song, Feiping Nie, Xuelong Li

Abstract

With the development of information technology, the volume of data—including text, images, and video—has increased rapidly, making efficient clustering of large-scale datasets a significant challenge. This paper proposes a novel co-clustering method named the Bilateral k-Means Algorithm (BKM) for fast co-clustering. Unlike traditional k-means, BKM solves for two indicator matrices, $P$ and $Q$, and a diagonal matrix $S$, representing cluster memberships for samples and features and co-cluster centers, respectively. This allows for simultaneous clustering of samples and features. We introduce an effective optimization approach with reduced computational complexity. Extensive experiments demonstrate that BKM not only offers faster computational speeds but also achieves promising clustering results compared to state-of-the-art methods.

Introduction

In the era of big data, researchers frequently encounter massive matrices, such as document-term matrices, where it is beneficial to cluster both rows (samples) and columns (features) simultaneously. This process, known as co-clustering, is essential for discovering latent structures in high-dimensional data.

However, existing co-clustering methods face two major hurdles. First, computational complexity is often prohibitive; for instance, Bipartite Spectral Graph Partitioning (BSGP) relies on Singular Value Decomposition (SVD), which is expensive for massive datasets. Second, a "relaxation gap" exists in spectral methods that solve a continuous version of the problem before discretizing results, often leading to sub-optimal clusters. Furthermore, many models assume a "checkerboard" structure, whereas for sparse data like text, a diagonal co-cluster model is often more robust against noise.

Methodology: The Bilateral k-Means (BKM) Algorithm

The proposed BKM algorithm reimagines co-clustering as a discrete matrix decomposition problem. Unlike standard k-means, BKM optimizes three components:

  • Matrix $P$: An indicator matrix for feature clusters.
  • Matrix $Q$: An indicator matrix for sample clusters.
  • Matrix $S$: A diagonal matrix representing the co-cluster centers.

Instead of relying on SVD, BKM treats the objective as a form of Non-negative Matrix Factorization (NMF) with discrete constraints. The optimization is performed iteratively across three sub-problems:

  1. Solving for centers ($S$) while fixing $P$ and $Q$.
  2. Solving for feature clusters ($P$) while fixing $S$ and $Q$.
  3. Solving for sample clusters ($Q$) while fixing $S$ and $P$.

By operating directly in the discrete indicator space and minimizing matrix multiplications, BKM achieves rapid convergence.

Experimental Evaluation

The researchers evaluated BKM against several benchmarks:

  • Real-World Data: WebKB4 (webpages), WebACE (news), and CSTR (technical reports).
  • Scalability Testing: The RCV1 dataset, containing over 193,000 samples and nearly 3,000 features.
  • Robustness Testing: Synthetic block-diagonal matrices with noise levels ranging from 5% to 15%.

Key Results and Insights

BKM demonstrates superior performance in both efficiency and accuracy.

Computational Efficiency

On the large-scale RCV1 dataset, BKM significantly outperformed competitors. While methods like MDSLF required thousands of seconds, BKM converged in a fraction of that time. Its computational complexity is $O(ndct)$ (where $n$ is samples, $d$ is features, $c$ is clusters, and $t$ is iterations), making it as efficient as standard one-way k-means.

Accuracy and Robustness

BKM consistently outperformed BSGP and NMF-based methods in Accuracy, Normalized Mutual Information (NMI), and Purity. For example, on WebKB4, BKM reached an accuracy of 0.786, surpassing standard k-means (0.598). Synthetic tests further confirmed that BKM maintains high accuracy even as noise levels increase, thanks to its diagonal co-cluster assumption which ignores noise in non-cluster regions.

Conclusion

The Bilateral k-Means algorithm provides a fast and effective solution for co-clustering large-scale datasets. By avoiding continuous relaxation and focusing on a diagonal structure, it achieves state-of-the-art results with minimal computational overhead. Future work may address the requirement for a predefined number of clusters and explore initialization strategies to further enhance global optimality.

Summary updated

BibTeX
@inproceedings{han2017bilateral,
  author = {Junwei Han and Kun Song and Feiping Nie and Xuelong Li},
  title = {{Bilateral k-Means Algorithm for Fast Co-Clustering}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2017},
  doi = {10.1609/aaai.v31i1.10860},
}
Figure