Abstract
This research presents a novel framework for discovering high-quality semantic classes from large-scale, noisy web data. By mapping raw semantic classes to documents and items to words, we utilize topic models (LDA and pLSI) to address the multi-membership problem, where items belong to multiple semantic categories. A query-based local modeling approach ensures computational efficiency. Experimental results on a massive web crawl demonstrate that topic modeling significantly outperforms traditional clustering techniques in both precision and recall.
Introduction
In Natural Language Processing, a semantic class is a group of items sharing a sibling relationship (e.g., {gold, silver, copper}). These classes are essential for tasks like information extraction and question answering. Researchers often discover these by scanning the web for patterns like "items such as A, B, and C" or analyzing HTML structures. However, these "Raw Semantic Classes" (RASCs) are notoriously noisy and incomplete.
A critical challenge is the multi-membership problem. Many words are polysemous; for instance, "Apple" can refer to a fruit or a technology company. Traditional clustering-based approaches often force an item into a single group or fail to separate these distinct identities effectively.
Methodology
The proposed framework treats semantic class discovery as a topic modeling problem. The core innovation lies in the mapping:
- Words in the topic model correspond to Items (words or phrases) in the dataset.
- Documents correspond to Raw Semantic Classes (RASCs) extracted from the web.
- Topics represent the final, refined Semantic Classes.
Because running a topic model on millions of web-extracted lists is computationally expensive, we use a "query-based" approach. Instead of modeling the entire web at once, we isolate all RASCs containing a specific query item $q$ and build a local topic model for that subset.
The workflow includes three main stages:
- Preprocessing: Discarding low-frequency items to remove noise and accelerate computation.
- Topic Modeling: Applying LDA or pLSI with a fixed number of topics ($k=5$).
- Postprocessing: Merging topics that are too similar and ranking items within each class based on their importance to the topic and similarity to the query.
Experimental Results
We evaluated the approach using a dataset of 2.7 million unique RASCs extracted from 40 million web pages. Performance was measured using MnDCG (Modified Normalized Discounted Cumulative Gain) across 55 queries.
As shown in the results, both LDA and pLSI significantly outperformed alternative clustering methods (K-Medoids and DBSCAN). The probabilistic nature of topic models allows an item to have high probability in multiple topics, effectively capturing polysemy. Qualitatively, for the query "gold," the system successfully separated it into distinct classes: chemical elements, colors, and jewelry. Furthermore, the query-specific approach reduced the average processing time to approximately 0.27 seconds per query.
Conclusion
This work demonstrates that topic models are superior to traditional clustering for semantic class discovery due to their ability to handle multi-membership. By focusing on local, query-specific models, we achieve high-quality results with low latency. Future work will explore non-parametric Bayesian models to automatically determine the number of topics and methods for automatically labeling the discovered classes.
Summary updated