Ensemble document clustering using weighted hypergraph generated by NMF

Hiroyuki Shinnou, Minoru SasakiACL 2007

Abstract

Document clustering is a critical task for organizing large-scale text datasets, yet it is often hampered by high dimensionality and algorithmic instability. This paper proposes a novel ensemble clustering approach that combines Non-negative Matrix Factorization (NMF) with weighted hypergraph integration. By utilizing the "soft" membership degrees produced by NMF to weight hypergraph edges, the method preserves nuanced document-topic relationships often lost in binary clustering. Evaluation on 18 benchmark datasets shows that this approach significantly improves clustering stability and accuracy, achieving lower average entropy than standard NMF and traditional ensemble methods.

Introduction

Document clustering faces two primary challenges: the high dimensionality of unique word features and the sensitivity of algorithms to initial parameters. Non-negative Matrix Factorization (NMF) has emerged as a powerful technique for dimensionality reduction, as it decomposes document-term matrices into interpretable "topics." However, NMF is an iterative process prone to converging on local optima, leading to inconsistent results depending on random initialization.

While a common strategy is to select the "best" NMF run based on an objective function, this does not always guarantee the highest clustering accuracy. This paper addresses these limitations through an ensemble learning framework that integrates multiple NMF runs into a single, more reliable clustering result.

Methodology

The proposed method consists of two main phases: generation and integration.

Generation Phase

To overcome the instability of a single NMF run, the authors execute NMF 20 times with different random initializations. This creates a diverse ensemble of candidate clusterings, capturing various potential structures within the data.

Integration Phase: The Weighted Hypergraph

The core innovation lies in how these diverse runs are combined. Traditional ensemble methods typically use a "hard" binary hypergraph, where an edge value is 1 if a document belongs to a cluster and 0 otherwise.

In contrast, the authors leverage the fact that NMF naturally produces a matrix ($V$) of membership degrees—real numbers representing the strength of a document's association with a topic. By replacing binary values with these real-valued weights, the integration phase (conducted using the CLUTO toolkit) can make more informed decisions.

Figure 1: Comparison of Standard vs. Weighted Hypergraph generation from NMF results.

This "soft" information preservation ensures that the algorithm's confidence in a document's placement is factored into the final consensus clustering.

Experimental Evaluation

The method was rigorously tested on 18 diverse document datasets, including classic collections like cacmcisi and cranmed, as well as news and web data such as the Los Angeles Times (la1, la2) and Reuters (re0, re1). These datasets varied in scale from 204 to 4,663 documents and contained between 2 and 25 classes, providing a comprehensive benchmark for the algorithm's performance.

Results and Discussion

Performance was measured using Entropy, where lower values indicate higher cluster purity. The weighted hypergraph method demonstrated superior performance across nearly all test cases.

Figure 3: Performance comparison (Entropy) across 18 datasets, showing the weighted hypergraph's superior average performance.

As shown in the results table, the proposed Weighted Hypergraph method achieved the lowest average entropy of 0.397. This outperformed k-means (0.436), the best of 20 standard NMF runs (0.464), and the standard binary hypergraph ensemble (0.434).

An ablation study, labeled "Hypergraph V," tested a version where even the zero-values in the hypergraph were replaced with real NMF values. This version performed worse (0.416) than the proposed method, suggesting that maintaining sparsity through "hard" zeros is beneficial for the graph-based integration process.

Conclusion

By integrating NMF with a weighted hypergraph ensemble, the authors provide a robust solution to the instability of document clustering. While the computational cost of multiple NMF runs is higher than a single execution, the significant gains in accuracy and stability make it a compelling choice for high-stakes text analysis. Future work will focus on incorporating cluster labeling techniques and exploring spectral clustering methods to further refine the handling of sparse hypergraphs.

Summary updated

BibTeX
@inproceedings{shinnou2007ensemble,
  author = {Hiroyuki Shinnou and Minoru Sasaki},
  title = {{Ensemble document clustering using weighted hypergraph generated by NMF}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2007},
}
Figure