Cross-domain Text Classification using Wikipedia

Pu Wang, Carlotta Domeniconi, Jian HuIEEE Intell. Informatics Bull 2008

Abstract

Cross-domain text classification faces a significant challenge known as the vocabulary mismatch problem, where labeled source data and unlabeled target data share few common features. This paper presents a novel approach that utilizes Wikipedia as an external knowledge base to provide "semantic glue." By mapping documents to a rich network of Wikipedia concepts—including synonyms, hyponyms, and associative links—the proposed method enables effective knowledge transfer across disparate domains. Experimental results on benchmark datasets demonstrate that this semantic enrichment significantly improves classification accuracy over traditional bag-of-words models.

Introduction

Standard text classifiers are inherently "brittle," typically requiring a large volume of labeled training data from the exact domain they are intended to classify. When a model trained on one domain (e.g., "Politics") is applied to another (e.g., "Legal"), it often fails due to the vocabulary mismatch problem. While transfer learning aims to leverage labeled data from a source domain ($D_i$) to assist in a target domain ($D_o$), most existing methods rely on shared words. Traditional "Bag of Words" (BOW) models fail to recognize relationships between different synonyms (e.g., "puma" vs. "cougar") or related concepts, treating them as entirely unrelated features.

Methodology

The authors address this limitation by extending the Co-clustering based Classification (CoCC) algorithm. Standard CoCC propagates labels from the source to the target domain by simultaneously clustering words and documents.

The Co-clustering Procedure

The process begins with an initialization phase where document clusters are seeded using a Naive Bayes classifier on the source domain, and word clusters are initialized using tools like CLUTO. The algorithm then iteratively refines these clusters, allowing information to flow between the two domains.

Overview of the initialization and iterative co-clustering procedure.

Semantic Enrichment via Wikipedia

The core innovation of this research is the Semantic Enrichment of document representations using Wikipedia. Rather than relying solely on raw word counts, the authors treat Wikipedia as a massive network of concepts to bridge the vocabulary gap.

  1. Wikipedia as a Semantic Network: The system extracts three types of relationships: equivalence (synonyms), hierarchical (hyponyms), and associative (related topics). This creates a dense "bridge" for labels to travel across domains.
  2. Concept-Based Kernels: Documents are transformed using a proximity matrix ($P$). If a document mentions "puma," the kernel automatically assigns weight to related terms like "cougar" or "feline" based on Wikipedia's structure.
  3. Word Sense Disambiguation (WSD): To handle polysemy, the system compares document context to Wikipedia article text, ensuring that a term like "stock" is correctly mapped to either finance or culinary concepts.
Example of Wikipedia's concept hierarchy and associative links used for semantic mapping.

Experimental Evaluation

The approach was evaluated on two major benchmarks: 20 Newsgroups (using ten cross-domain scenarios) and SRAA (Simulated/Real/Aviation/Auto).

The "CoCC with enrichment" approach consistently outperformed both standard Naive Bayes and the original CoCC algorithm:

  • Accuracy Improvement: On a challenging 4-category newsgroup task (rec vs talk vs sci vs comp), semantic enrichment achieved 71.3% accuracy, a 17.5% improvement over a standard Naive Bayes classifier.
  • Robustness to Vocabulary Mismatch: In scenarios with minimal word overlap between domains, the Wikipedia-enriched model maintained high precision (often exceeding 98% for binary tasks), whereas non-enriched models suffered significant performance degradation.
  • Efficiency: The iterative process typically converged to a stable, high-precision state within 5 to 10 iterations.

Key Insights

  • Explicit Latent Relationships: By using external background knowledge (Wikipedia), the model makes relationships explicit rather than trying to infer them from sparse data.
  • Structural Depth: Utilizing hyponyms and associative links provides a much more robust connection between domains than simple synonym matching.
  • Preserving Multi-word Concepts: By treating Wikipedia titles as single features (e.g., "Machine Learning"), the model preserves specific meanings that are lost when words are tokenized individually.

Conclusion and Future Work

While the feature generation process introduces computational overhead due to the scale of Wikipedia, the gains in cross-domain accuracy are substantial. Future research directions include addressing noise in Wikipedia links and extending the framework to cross-language text classification, using Wikipedia as a multilingual bridge to classify documents across different languages.

Summary updated

BibTeX
@article{wang2008cross,
  author = {Pu Wang and Carlotta Domeniconi and Jian Hu},
  title = {{Cross-domain Text Classification using Wikipedia}},
  journal = {IEEE Intell. Informatics Bull},
  year = {2008},
}
Figure