Two-dimensional Clustering for Text Categorization

Hiroya Takamura, Yuji MatsumotoConll 2002

Introduction

Traditional text categorization (TC) models typically rely on the identically distributed (i.d.) assumption, which posits that all documents within a single human-defined category (e.g., "Finance" or "Politics") are generated from the same underlying statistical distribution. However, this assumption is often flawed. Broad categories frequently contain diverse sub-topics with distinct linguistic patterns. Furthermore, TC faces the challenge of data sparseness, where the high dimensionality of vocabulary makes it difficult to estimate reliable statistics for rare words.

This paper proposes a two-dimensional clustering framework that simultaneously groups similar documents and similar words. By decomposing broad categories into statistically coherent sub-clusters, the authors aim to improve the accuracy of probabilistic classifiers like Naive Bayes and Support Vector Machines (SVM).

The Flaw in the Identically Distributed Assumption

To test the validity of the i.d. assumption, the authors analyzed the "Earn" category within the Reuters-21578 corpus using Kullback-Leibler (KL) divergence. They discovered that sub-clusters within a single category often exhibit greater statistical divergence from each other than they do from entirely different categories.

KL-divergence analysis showing that sub-clusters (B, C, D) within the 'earn' category can be as distinct as entirely different categories.

This "messy category" hypothesis suggests that a single global distribution cannot accurately represent a human-labeled group. By clustering documents first, the model identifies "hidden" sub-categories where word distributions are more stable and predictable.

Methodology

The authors employed an agglomerative (bottom-up) clustering approach based on likelihood reduction, which is mathematically equivalent to minimizing Jensen-Shannon divergence. Two primary strategies were evaluated:

  1. Text-first Clustering: Documents within a category are clustered into sub-groups first to satisfy the i.d. assumption, followed by word clustering to reduce dimensionality.
  2. Greedy Clustering: The algorithm iteratively chooses to merge either word clusters or text clusters based on which operation results in the minimum loss of information.

To prevent over-clustering and determine the optimal number of groups, the authors utilized the Akaike Information Criterion (AIC), balancing model fit against the number of parameters.

Experimental Results

The framework was tested on the Reuters-21578 corpus using the ModApte split. The results demonstrate that addressing the distributional mismatch through document clustering provides a significant performance boost, particularly for Naive Bayes classifiers.

Accuracy comparison between Text-first Clustering and standard Class-Distributional (word-only) clustering across various word compression rates.

As shown in the figure above, Text-first clustering consistently outperformed standard word-only clustering. For Naive Bayes, accuracy improved from a baseline of 0.863 to a peak of approximately 0.88–0.89. SVMs also benefited; while they naturally handle high dimensionality well, text clustering pushed their accuracy from 0.890 to over 0.895. The AIC proved to be an effective heuristic, generally identifying compression rates near the peak accuracy zones.

Conclusion

Two-dimensional clustering offers a powerful solution to the inherent statistical impurity of human-defined text categories. While word clustering mitigates data sparseness, text clustering is essential for correcting the flawed i.d. assumption. Future work includes exploring more computationally efficient divisive clustering methods and "soft" clustering techniques using Expectation-Maximization to allow documents to belong to multiple sub-topics simultaneously.

Summary updated

BibTeX
@inproceedings{takamura2002two,
  author = {Hiroya Takamura and Yuji Matsumoto},
  title = {{Two-dimensional Clustering for Text Categorization}},
  booktitle = {Conll},
  year = {2002},
}
Figure