Introduction
Standard search engines typically present results in a ranked "flat list," which often forces users to manually sift through numerous snippets to find specific sub-topics. While clustering offers a way to group similar results, generating human-readable and intuitive labels remains a significant challenge. Automated labels derived from word frequency often lack semantic meaning. This paper introduces a Label Language Model (LLM) that leverages the human-curated taxonomy of Dmoz (the Open Directory Project) to generate intuitive, high-quality labels for search result clusters in real-time.
Methodology: The LLM Pipeline
The proposed system functions as a meta-search engine through a four-phase process:
- Search Result Fetching: The system retrieves snippets for a user query from existing search engines.
- Candidate Label Generation: Potential labels are extracted as n-grams (up to $n=3$) from these snippets, followed by stemming and stopword removal.
- Label Scoring via LLM: The core innovation involves calculating a score for each candidate label using language models built from Dmoz's 460,000 human-edited categories. The score represents the maximum probability that any Dmoz category would generate that specific label. To handle data sparsity, the authors employ smoothing techniques like Jelinek-Mercer and Dirichlet Priors.
- Post-processing: The system filters out labels containing only the original query terms and prioritizes more specific, longer labels over redundant shorter ones (e.g., preferring "Apple Macintosh" over "Apple").
Experimental Setup
The model was evaluated using:
- Dmoz Knowledge Base: Over 3.5 million sites across nearly half a million categories.
- Test Queries: A set of 50 queries, including 2005 Google top queries and established research sets.
- WordNet: Used to recognize synonyms and hypernyms during evaluation, ensuring semantic accuracy.
Results and Discussion
The LLM approach proved highly effective, particularly for top-tier labels. Precision for the top 5 labels (P@5) reached approximately 82%, while P@10 remained high at 80%. However, precision declines as the number of labels increases, dropping to 60% at P@20.
The Impact of Smoothing
The choice of smoothing parameters is critical for performance. Experimental results for Dirichlet smoothing show that smaller values of the parameter $\mu$—indicating less reliance on the global background model—generally yield higher precision across different metrics.
Coverage and Limitations
Despite high precision, a notable limitation is "coverage." The top-ranked labels often only account for a portion of the total search results. On average, the top labels cover about 60% of the results, leaving a significant percentage unclustered.
Conclusion
The Label Language Model successfully bridges the gap between automated clustering and human-understandable categorization by leveraging external human knowledge. While the system excels at generating high-precision labels from snippets, future work will focus on improving coverage and integrating internal document statistics to handle niche topics not well-represented in the Dmoz taxonomy.
Summary updated