Classifier Stacking and Voting for Text Filtering

Rada MihalceaTREC 2002

Introduction

In the early 2000s, the Text Retrieval Conference (TREC) served as a critical benchmark for information retrieval systems. A significant challenge in the TREC 2002 Filtering track was the scalability of sophisticated rule-based classifiers. While effective, these models often struggled with the massive document streams characteristic of real-world filtering tasks.

This paper details the development of TextCat, a system designed by Rada Mihalcea to address these challenges. Rather than relying on a single algorithmic "silver bullet," TextCat employs an ensemble architecture—specifically utilizing classifier stacking and voting—to transform simple statistical methods into a robust, scalable filtering engine.

System Architecture

TextCat’s design is predicated on three core pillars:

1. Ngram-Based Statistical Classification

The foundation of the system is a fast statistical module that identifies unigrams and bigrams. By employing parameters such as correlation coefficients and frequency thresholds, the module selects "keyword" ngrams that serve as primary indicators of document relevance.

2. Classifier Stacking for Scalability

To overcome the computational bottlenecks of complex learners, TextCat uses the ngram classifier as a high-speed "pre-filter." This stage identifies a promising subset of documents, which are then passed to Ripper, a more sophisticated rule-based classifier. This stacking approach ensures that the resource-intensive learner only processes the most relevant candidates, significantly enhancing system throughput.

3. Classifier Voting and Diversity

The authors generated a pool of 13 "base" classifiers by varying the ratio of relevant to irrelevant documents in the training sets. This diversity allows for the creation of "combined" classifiers through a voting scheme. For instance, a "min. 5 votes" configuration requires agreement from at least five base classifiers to label a document as relevant.

Experimental Design

The system was evaluated using the TREC 2002 Filtering track dataset, which utilizes the Reuters Corpus (documents from 1996-1997). The evaluation focused on two primary tasks:

  • Batch Filtering: Binary relevance decisions for a set of documents with pre-defined topics.
  • Routing: Ranking the top 1,000 documents for a specific topic based on predicted relevance.

Performance Analysis

The experimental results across 23 different configurations revealed several key insights into ensemble performance and metric optimization.

Table 1: Performance metrics for base and combined classifiers across different voting thresholds and training distributions.

Metric-Specific Tuning

A critical observation from the study is that the optimal classifier configuration depends heavily on the target metric. As shown in the performance trends, a system optimized for T11SU (Normalized Utility)—which heavily penalizes false positives—requires a different voting threshold than one optimized for the F-measure, which seeks a balance between precision and recall.

Figure 1: Performance scores (Utility, F-beta, Precision, Recall) for base classifiers (left) and combined classifiers (right) as a function of classifier ID and voting threshold.

Key Results

  • Batch Task: TextCat achieved an average normalized utility of 39.02% and an F-measure of 26.37%.
  • Routing Task: The top-performing submission reached an average uninterpolated precision of 14.16%.
  • Base vs. Ensemble: Interestingly, "Base Classifier 13" (trained with the highest volume of irrelevant documents) achieved a utility score of 33.87% on its own. This is only 5% lower than the best-tuned ensemble, suggesting that a well-configured single classifier can offer a high return on investment in terms of simplicity.

Conclusion and Future Work

TextCat demonstrates that ensemble methods can effectively bridge the gap between simple statistical models and complex rule-based learners. While the current iteration relies on surface-level word matching (unigrams and bigrams), it provides a solid "backbone" for future semantic enhancements.

Future research directions include:

  • Semantic Integration: Incorporating knowledge bases like WordNet to recognize synonyms (e.g., "car" and "automobile") and improve filtering accuracy.
  • Extended Ngrams: Investigating whether trigrams or longer sequences offer better discriminative power.
  • Adaptive Filtering: Adapting the system to learn and evolve dynamically as new documents arrive in the stream.

Summary updated

BibTeX
@inproceedings{mihalcea2002classifier,
  author = {Rada Mihalcea},
  title = {{Classifier Stacking and Voting for Text Filtering}},
  booktitle = {TREC},
  year = {2002},
}
Figure