Co-clustering Vertices and Hyperedges via Spectral Hypergraph Partitioning

Yu Zhu, Boning Li, Santiago Segarra

Abstract

We propose a novel method to co-cluster the vertices and hyperedges of hypergraphs with edge-dependent vertex weights (EDVWs). In this hypergraph model, the contribution of every vertex to each of its incident hyperedges is represented through an edge-dependent weight, conferring the model higher expressivity than the classical hypergraph. In our method, we leverage random walks with EDVWs to construct a hypergraph Laplacian and use its spectral properties to embed vertices and hyperedges in a common space. We then cluster these embeddings to obtain our proposed co-clustering method, of particular relevance in applications requiring the simultaneous clustering of data entities and features. Numerical experiments using real-world data demonstrate the effectiveness of our proposed approach in comparison with state-of-the-art alternatives.

Introduction

Traditional graph models are often limited to representing pairwise relationships, which can be insufficient for modeling complex multi-way interactions found in real-world data. Hypergraphs address this by allowing hyperedges to connect any number of vertices. However, standard hypergraph models typically treat all vertices within a hyperedge as equally important, failing to capture the varying degrees of participation or contribution.

This paper addresses these limitations by utilizing hypergraphs with edge-dependent vertex weights (EDVWs). These weights, such as tf-idf scores in text mining, provide a more expressive representation of the relationship between vertices and hyperedges. Furthermore, the authors propose a co-clustering framework that simultaneously groups both vertices (data entities) and hyperedges (features), a task particularly valuable for high-dimensional, sparse datasets where exploiting the duality between entities and features is crucial.

Methodology

The proposed spectral hypergraph co-clustering algorithm follows a multi-step process:

  1. Star Expansion and Random Walks: The hypergraph is projected into a directed bipartite graph (star expansion) where both original vertices and hyperedges are represented as nodes. A "lazy" random walk is defined on this structure, with transition probabilities derived from EDVWs and hyperedge weights.
  2. Laplacian Construction: Combinatorial and normalized Laplacians are defined based on the stationary distribution of the random walk.
  3. Computational Efficiency: A key contribution is the mathematical proof that the eigenvectors of the large hypergraph Laplacian can be reconstructed from the Singular Value Decomposition (SVD) of a significantly smaller matrix. This bypasses the heavy computational cost of direct eigendecomposition.
  4. Joint Embedding and Clustering: The top $k$ singular vectors form a joint embedding space. The algorithm s-spec-2 applies row normalization to these embeddings before final $k$-means clustering. Notably, the clustering results are independent of the "lazy" walk parameter $\alpha$.

Experimental Results

The method was evaluated on text mining tasks using subsets of the 20 Newsgroups and RCV1 datasets. Documents were modeled as vertices, words as hyperedges, and EDVWs were calculated using tf-idf values.

t-SNE visualization showing the joint embedding of documents (vertices) and words (hyperedges) in a shared space.

Qualitative analysis via t-SNE (Figure 5) confirms that the joint embedding space effectively groups semantically related words with their corresponding document classes. For instance, words are embedded near the document clusters they most frequently characterize, demonstrating the success of the co-clustering approach.

Clustering accuracy of words across various metrics, demonstrating the effectiveness of the proposed co-clustering approach.

Quantitatively, the normalized method (s-spec-2) consistently outperformed unnormalized variants. While achieving document clustering accuracy comparable to state-of-the-art clique expansion methods, the proposed approach showed a marked improvement in clustering words (Figure 1). The method also demonstrated high robustness, with minimal standard deviation across multiple runs, indicating low sensitivity to $k$-means initialization.

Conclusion

This work introduces a robust and computationally efficient spectral method for hypergraph co-clustering using EDVWs. By leveraging a bipartite random walk and an SVD-based shortcut, the approach provides high-quality joint embeddings for both entities and features. Future research directions include exploring alternative clustering techniques like non-negative matrix tri-factorization and extending the framework to tasks such as embedding-based hypergraph alignment.

Summary updated

BibTeX
@inproceedings{zhu2021co,
  author = {Yu Zhu and Boning Li and Santiago Segarra},
  title = {{Co-clustering Vertices and Hyperedges via Spectral Hypergraph Partitioning}},
  booktitle = {EUSIPCO},
  year = {2021},
  url = {https://openreview.net/forum?id=42WhHJOuv2},
}
Figure