Annotating URLs with Query Terms: What Factors Predict Reliable Annotations?

Suzan Verberne, Max Hinne, Maarten van der Heijden, Eva D'hondt, Wessel Kraaij, Theo P. van der WeideUIIR @ SIGIR 2009

Introduction

Search engines often aim to provide users with a concise summary or "tag cloud" of a website's content before they click. One promising method for generating these annotations involves leveraging query logs—the actual search terms users entered that led them to a specific URL. However, previous research indicates that using these terms to categorize websites (e.g., into "Sports" or "Travel") yields an accuracy of only about 45% due to the inherent noise in query data. This study investigates whether specific domain properties can predict the reliability of query-based annotations, allowing search engines to selectively display high-quality descriptors.

Methodology

The researchers approached the problem of "reliability" as a classification task. A set of query terms was considered a reliable descriptor if it enabled an algorithm to correctly categorize a URL into its corresponding human-curated DMOZ category. The study utilized a dataset of approximately 14 million queries from the Microsoft 2006 RFP Dataset, focusing on 245,742 URLs that intersected with the DMOZ directory across 15 top-level categories.

To identify predictors of reliability, several domain properties were extracted:

  • Number of Clicks (NC): A measure of domain popularity.
  • Number of Unique Queries (NUQ): The variety of search terms leading to the site.
  • Token-wise Entropy (TWE): The complexity of the domain name itself.
  • Kullback-Leibler Divergence (KLD): The deviation of the site's query distribution from the average.
  • Proportion of Navigational Queries (PN): The frequency of queries that are simply substrings of the URL.

Initial attempts to use a Logistic Regression Model (LRM) failed to show strong linear correlations. Consequently, the researchers employed a binning analysis to uncover non-linear trends between these factors and classification accuracy.

Results and Discussion

The analysis revealed that simple linear correlations are insufficient for predicting annotation success. Notably, higher traffic does not linearly translate to better labels. Instead, the data suggests a "Goldilocks" principle for both click volume and query diversity.

The Impact of Click Volume

Accuracy initially increases with the number of clicks but eventually declines as domains become more popular and diverse. Large "portal" sites like Amazon or eBay suffer from a "heterogeneity trap," where a massive volume of varied search terms creates a "semantic soup" that obscures the site's primary category.

Figure 1: Classification accuracy peaks at a moderate number of clicks (33-64) before declining for high-traffic, heterogeneous domains.

As shown in Figure 1, the highest accuracy (58%) was observed for domains with 33–64 clicks. Beyond this range, the increasing diversity of content within the domain leads to a drop in annotation reliability.

The "Goldilocks" Zone for Unique Queries

A similar non-linear trend was observed for the number of unique query terms. Very few unique queries (1–2) provide insufficient data for accurate classification, while too many unique queries (over 128) introduce excessive noise.

Figure 3: Accuracy follows a "Goldilocks" trend, peaking when a domain is associated with 17-32 unique query terms.

Figure 3 illustrates that the "sweet spot" for accuracy occurs between 17 and 32 unique query terms, reaching approximately 60%. This confirms that moderate data density provides the most reliable semantic signal.

Other factors, such as Token-wise Entropy (TWE) and Kullback-Leibler Divergence (KLD), showed minimal impact on predicting annotation reliability. Additionally, navigational queries were found to act primarily as noise, offering little semantic value for describing site content.

Conclusion

This research demonstrates that query logs are valuable but sensitive sources for URL annotation. Reliability is highest for domains with moderate traffic and query diversity. The primary limitation of this study is its focus on domain-level aggregation, which loses the specific nuances of individual pages within large, diverse sites.

Future work should explore URL-level analysis to mitigate the heterogeneity problem. Additionally, combining query-based terms with on-page content and developing noise filters for navigational queries could lead to more robust and accurate automated website descriptors.

Summary updated

BibTeX
@inproceedings{verberne2009annotating,
  author = {Suzan Verberne and Max Hinne and Maarten van der Heijden and Eva D'hondt and Wessel Kraaij and Theo P. van der Weide},
  title = {{Annotating URLs with Query Terms: What Factors Predict Reliable Annotations?}},
  booktitle = {UIIR @ SIGIR},
  year = {2009},
  url = {https://openreview.net/forum?id=rk-biSWObr},
}
Figure