Modeling Topic Dependencies in Hierarchical Text Categorization

Alessandro Moschitti, Qi Ju, Richard JohanssonACL 2012

Abstract

Hierarchical text categorization often struggles to leverage the semantic relationships between parent and child categories effectively. This paper proposes a two-stage reranking framework that employs structural kernels to capture complex, long-range dependencies within category hierarchies. By representing classification hypotheses as trees and applying flexible kernels like the Partial Tree Kernel (PTK), the model achieves significant improvements in Micro-F1 scores on the RCV1 dataset, particularly in "child-free" settings where traditional parent-child document overlaps are removed.

Introduction

This research addresses the limitations of traditional "flat" text categorization (TC) schemes, such as one-vs-all, which treat labels as independent entities. While category hierarchies (e.g., Markets > Equity Markets) intuitively contain valuable semantic information, previous hierarchical models often failed to outperform flat baselines. The authors argue that this is due to the computational difficulty of modeling all possible dependencies or the oversimplification of assuming only immediate parent-child relationships, which misses critical long-range dependencies.

The Reranking Framework

The authors introduce a two-stage process to better capture hierarchical structure:

  1. Hypothesis Generation: Local binary classifiers generate the top-$k$ most likely classification hypotheses for a given document.
  2. Preference Reranking: An SVM-based reranker compares pairs of these hypotheses to select the optimal classification.
Example of a classification hypothesis represented as a tree structure for kernel-based reranking.

The framework's strength lies in its use of Structural Kernels to represent hypotheses as trees. Three types of kernels are evaluated: String Kernels (SK), Syntactic Tree Kernels (STK), and Partial Tree Kernels (PTK). PTK is particularly effective as it can match any subset of connected nodes, allowing the model to discover non-obvious dependencies. To ensure practical scalability, the authors utilize a Compact Representation that focuses on positive node assignments, significantly reducing the tree size and processing time.

Experimental Setup

The model was evaluated using the Reuters Corpus Volume 1 (RCV1) benchmark on two hierarchies: TOPICS (103 nodes) and INDUSTRIAL (365 nodes). The study also examined a "child-free" setting, where documents common to both parent and child categories were removed to test the model's ability to identify semantic links without relying on explicit word overlap.

Results and Discussion

The reranking approach consistently outperformed baseline models. In the challenging "child-free" setting, the model using probability vectors ($K_P$) achieved absolute improvements in Micro-F1 scores ranging from 7.1 to 9.9 percentage points.

Micro-F1 performance comparison between baseline (BL) and reranking (RR/FRR) models across different training data sizes in the child-free setting.

On the standard Lewis split of the RCV1 dataset, the model showed a 3.3% absolute improvement over previous state-of-the-art flat models. Furthermore, the compact representation strategy enabled the reranker to process data up to eight times faster than full-hierarchy representations, proving its viability for real-world applications.

Conclusion

By explicitly modeling hierarchical dependencies through structural kernels and a two-stage reranking process, this approach provides a significant boost to text categorization accuracy. The flexibility of the Partial Tree Kernel and the efficiency of the compact representation make this framework both powerful and scalable. Future research may explore the application of these techniques to diverse domains such as medical coding or web directory management.

Summary updated

BibTeX
@inproceedings{moschitti2012modeling,
  author = {Alessandro Moschitti and Qi Ju and Richard Johansson},
  title = {{Modeling Topic Dependencies in Hierarchical Text Categorization}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2012},
}
Figure