Hierarchical Bayesian Clustering for Automatic Text Classification

Makoto Iwayama, Takenobu TokunagaIJCAI 1995

Introduction

In the field of information retrieval, organizing large text collections efficiently is a persistent challenge. Traditional cluster-based retrieval often employs a two-step process: grouping similar documents into clusters and then searching only the most relevant clusters. However, a significant logical gap has historically existed between the probabilistic models used for retrieval and the distance-based geometric metrics (such as Ward’s method or single-linkage) used for clustering. This paper by Makoto Iwayama and Takenobu Tokunaga introduces Hierarchical Bayesian Clustering (HBC), a framework designed to bridge this gap by applying a consistent probabilistic logic to both clustering and categorization.

The Hierarchical Bayesian Clustering (HBC) Algorithm

The authors propose an agglomerative (bottom-up) approach that maximizes the posterior probability of the cluster structure given the data. The process begins with each document as an individual cluster. At each step, the algorithm identifies and merges the pair of clusters that yields the highest Bayesian posterior probability.

The Hierarchical Bayesian Clustering (HBC) algorithm pseudocode.

To ensure computational feasibility, the authors derived a local update formula. This allows the system to recalculate only the probabilities affected by a specific merge rather than the entire global structure, significantly speeding up the iterative process.

Experimental Evaluation

The effectiveness of HBC was tested using the GK Dictionary (Gendai yogo no Kisotishiki), a collection of contemporary Japanese terms. After preprocessing with the JUMAN morphological analyzer and filtering for noise, the researchers utilized a subset of 1,072 entries distributed across 39 categories. Each entry contained at least 100 terms, and each category comprised at least 20 entries.

Key Results and Performance

HBC was compared against two standard benchmarks: Single-link and Ward’s method. The results demonstrated that HBC consistently outperformed these traditional methods in reconstructing the "ground truth" categories assigned by human editors.

Comparison of averaged accuracy across merge steps for HBC, Ward's, and Single-link methods.

Key findings include:

  • Mutual Information: HBC achieved higher mutual information scores, indicating a stronger alignment with the underlying data distribution.
  • Classification Accuracy: As shown in the performance graphs, HBC maintained a higher accuracy "ceiling" throughout the merging process compared to Ward's and Single-link methods.
  • Retrieval Efficiency: When integrated into Memory-Based Reasoning (MBR) systems, HBC-based clusters allowed for near-peak accuracy while searching only a fraction of the total dataset, particularly excelling when the number of nearest neighbors ($k$) was small.

Conclusion and Future Directions

The primary contribution of this work is the demonstration that consistency between clustering and retrieval models leads to superior performance. By adhering to the Minimum Description Length (MDL) principle, HBC naturally seeks the simplest model that accurately explains the data, enhancing its ability to generalize.

Future research directions include developing automated stopping rules for the hierarchical process using metrics like AIC or MDL, and scaling the initial pairwise probability calculations for even larger, more diverse datasets.

Reference: Iwayama, M., & Tokunaga, T. (1995). Hierarchical Bayesian Clustering for Automatic Text Classification. Proceedings of IJCAI-95.

Summary updated

BibTeX
@inproceedings{iwayama1995hierarchical,
  author = {Makoto Iwayama and Takenobu Tokunaga},
  title = {{Hierarchical Bayesian Clustering for Automatic Text Classification}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1995},
}
Figure