Effective Clustering on Large Attributed Bipartite Graphs

Renchi Yang, Yidu Wu, Xiaoyang Lin, Qichen Wang, Tsz Nam Chan, Jieming Shi

Abstract

Attributed bipartite graph clustering (ABGC) is a critical task for applications ranging from recommendation systems to social network analysis. However, existing methods struggle to balance clustering accuracy with computational scalability, especially as graph sizes reach millions of nodes. This paper discusses TPO (Three-Phase Optimization), a novel framework that leverages multi-scale attribute affinity approximation and greedy orthogonal non-negative matrix factorization. TPO achieves state-of-the-art performance while providing significant speedups—up to 80x faster than existing methods—on large-scale datasets.

1. Introduction

Bipartite graphs are ubiquitous in modern data science, representing relationships between two distinct sets of entities, such as users and products, authors and papers, or queries and documents. When these nodes are enriched with metadata (attributes), the resulting Attributed Bipartite Graphs (ABGs) offer a wealth of information for clustering. Effective clustering in this context enables more personalized recommendations and deeper insights into community structures.

Despite their utility, clustering large-scale ABGs presents significant hurdles. Traditional spectral and matrix factorization methods often encounter a "memory wall" when dealing with the massive similarity matrices required for high-quality results. Furthermore, capturing the indirect relationships inherent in bipartite structures—where nodes of the same type are only connected via intermediaries—requires modeling multi-hop dependencies, which is computationally intensive.

2. The TPO Framework

To address these challenges, the Three-Phase Optimization (TPO) framework was developed. TPO avoids the explicit construction of large similarity matrices, instead utilizing approximation and iterative optimization to maintain linear complexity.

2.1 Multi-scale Attribute Affinity (MSA) Approximation

The first phase focuses on capturing the "neighbor-of-neighbor" relationships across multiple hops. TPO employs a "random features" approach to approximate complex multi-scale affinities. By projecting high-dimensional attributes into a lower-dimensional space, the framework can estimate affinities using simple dot products. Additionally, an SVD-based dimension reduction step is integrated to denoise the attribute data, ensuring that the clustering process is driven by the most relevant features.

2.2 Greedy Orthogonal Non-negative Matrix Factorization (NMF)

Clustering is formulated as an Orthogonal NMF problem. Standard NMF algorithms often suffer from slow convergence and sensitivity to initialization. TPO mitigates this by using a "greedy seeding" strategy based on randomized SVD. This provides a high-quality initial state, allowing the optimization process to converge rapidly in significantly fewer iterations than traditional approaches.

2.3 Normalized Cluster Indicator (NCI) Generation

In the final phase, the continuous representations derived from the NMF process are transformed into a discrete Normalized Cluster Indicator (NCI) matrix. This step yields the final cluster assignments for each node, ensuring that the output is interpretable and ready for downstream applications.

3. Experimental Evaluation

The researchers benchmarked TPO against 19 baseline methods, including state-of-the-art Graph Neural Networks (GNNs) and traditional spectral clustering algorithms.

3.1 Datasets

The evaluation spanned five diverse real-world datasets:

  • CiteSeer & Cora: Citation networks adapted for bipartite analysis.
  • MovieLens: A standard benchmark for user-item interactions.
  • Google: A dataset of user reviews for businesses.
  • Amazon: A massive dataset containing over 10 million nodes and 22 million edges, representing a true web-scale challenge.

3.2 Performance and Efficiency

TPO demonstrated superior or competitive performance across all standard metrics, including Clustering Accuracy (ACC), Normalized Mutual Information (NMI), and Adjusted Rand Index (ARI).

The most striking result was TPO's efficiency. On the 10-million-node Amazon dataset, TPO completed the clustering task in under 3 minutes. In comparison, the most competitive state-of-the-art baseline required over 4 hours. This represents a speedup of approximately 80x, highlighting TPO's suitability for production-scale environments.

4. Discussion and Key Insights

The success of TPO reveals several important insights into bipartite graph clustering:

  • Multi-Hop Importance: Capturing affinities beyond the immediate neighbor is crucial for accurately grouping nodes in bipartite structures.
  • Denoising via SVD: Reducing attribute dimensionality does more than save time; it improves accuracy by filtering out the noise inherent in raw metadata.
  • Linear Scalability: By maintaining linear complexity relative to the number of nodes and edges, TPO effectively bypasses the memory and computational bottlenecks that plague other methods.

5. Conclusion and Future Work

TPO represents a significant advancement in the field of large-scale graph clustering. While highly effective, the authors identify several avenues for future research. These include automating the selection of hyperparameters (such as the balance coefficient $\alpha$ and hop-count $\gamma$), extending the framework to support overlapping clusters, and adapting the algorithm for dynamic or streaming graph data.

Summary updated

BibTeX
@inproceedings{yang2024effective,
  author = {Renchi Yang and Yidu Wu and Xiaoyang Lin and Qichen Wang and Tsz Nam Chan and Jieming Shi},
  title = {{Effective Clustering on Large Attributed Bipartite Graphs}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2024},
  doi = {10.1145/3637528.3671764},
}
Figure