Text mining using nonnegative matrix factorization and latent semantic analysis

Ali Hassani, Amir Iranmanesh, Najme MansouriNeural Computing and Applications 2019

TL;DR

This paper introduces a novel text clustering approach that leverages Nonnegative Matrix Factorization (NMF) to create a more suitable feature space for clustering. By deterministically initializing K-Means, the method achieves improved performance and significantly enhanced stability compared to existing techniques.

What Problem Does This Paper Address?

Text mining, particularly text clustering, is crucial for organizing the vast amount of unstructured text data available today. However, a major hurdle is the "curse of dimensionality": text data, after tokenization, results in extremely large and sparse term-document matrices. Traditional machine learning algorithms struggle with this, and while methods like Latent Semantic Analysis (LSA) help reduce dimensionality, they can lack stability. This paper aims to address both the high dimensionality and the stability issues in text clustering.

Methods

The proposed method combines several techniques:

  • Nonnegative Matrix Factorization (NMF) for Feature Extraction: NMF is used to decompose the term-document matrix into components. Crucially, instead of directly using these components, the authors group terms based on their NMF weights. These groups are then "agglomerated" into new, more robust feature vectors. This process creates a new feature space that is more distinct from the original and better suited for clustering.
  • Singular Value Decomposition (SVD) for NMF Initialization: To ensure stability and robustness in the NMF process, SVD is used as an initialization method.
  • Latent Semantic Analysis (LSA) for Optional Dimensionality Reduction: LSA can be optionally applied to the newly generated feature space to further reduce dimensionality if needed.
  • Deterministic K-Means Initialization: A novel, deterministic initialization strategy for spherical K-Means is proposed. This method constructs a nearest-neighbors graph on the feature space and selects the most connected records as initial centroids, avoiding the stochastic nature of traditional K-Means++ initialization.

Datasets

The authors evaluated their method on a variety of publicly available datasets, including:

  • 20 Newsgroups (various subsets: Computer, Politics, Miscellaneous, Religion, Science)
  • AG News
  • BBC Sport
  • BBC News
  • DMOZ
  • SMS
  • WebKB
  • WebAce

These datasets cover diverse domains and vary in size and number of classes, allowing for a comprehensive evaluation.

Key Insights and Ideas

  • Feature Space Transformation is Key: The core idea is that simply reducing dimensionality (like LSA) isn't enough. Creating a fundamentally different feature space by grouping and agglomerating terms (via NMF) leads to better clustering.
  • NMF for Grouping, Not Just Reduction: The paper cleverly uses NMF not just for its decomposition properties but to identify and group semantically related terms, which then form new, more meaningful features.
  • Determinism for Stability: The reliance on deterministic steps (SVD for NMF init, nearest-neighbors graph for K-Means init) is crucial for achieving highly stable and reproducible clustering results, a common weakness in many existing methods.
  • Agglomeration Creates a "More Different" Space: Unlike LSA, which projects data into a similar space, the NMF-based agglomeration creates a significantly altered feature space that is more amenable to separation into clusters.

Key Results

  • Improved Clustering Performance: The proposed method (NMF-FR) consistently outperformed or matched other state-of-the-art clustering methods (GAKM, KM, SCPSO, SKM) across multiple metrics (Accuracy, NMI, ARI) on various datasets. For instance, on the BBCSP dataset, NMF-FR achieved an accuracy of 0.965612, significantly higher than others.
  • Exceptional Stability: The most striking result is the method's stability. The proposed approach achieved a standard deviation of zero for accuracy and NMI on most datasets, a stark contrast to other methods which showed considerable variation. This is attributed to the deterministic nature of the NMF initialization and K-Means seeding.
  • Effective Dimensionality Reduction: The NMF-based feature agglomeration effectively reduces dimensionality while creating a more discriminative feature space, as visualized in the paper.

Limitations and Future Work

  • Optional LSA: While LSA can be used for further dimensionality reduction, its application is optional and its benefit is dataset-dependent.
  • Future Work: The authors suggest exploring other clustering measures, alternative agglomeration norms (beyond L2), and different matrix factorization methods (instead of NMF) or NMF initializers (beyond SVD) to further enhance the approach. They also mention the potential for exploring other deterministic K-Means initialization strategies.

Summary updated

BibTeX
@misc{hassani2019text,
  author = {Ali Hassani and Amir Iranmanesh and Najme Mansouri},
  title = {{Text mining using nonnegative matrix factorization and latent semantic analysis}},
  year = {2019},
  eprint = {1911.04705},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1911.04705},
}
Figure