Improving Website Hyperlink Structure Using Server Logs

Ashwin Paranjape, Robert West, Leila Zia, Jure Leskovec

TL;DR

This paper introduces a data-driven approach to improve website navigability by automatically identifying and placing high-value hyperlinks. By mining passively collected server logs for implicit signals—like users taking indirect paths or searching for a target page while on a specific source—the authors can predict the future utility of non-existent links and optimize their placement under a human-in-the-loop budget.

What Problem Does This Paper Address?

Maintaining a high-quality hyperlink structure is a massive challenge for large, dynamic websites like Wikipedia. Human editors often struggle to identify which pairs of pages should be linked, and manual link insertion is expensive and slow.

More importantly, human intuition doesn't always align with user behavior. The authors found that 66% of links added by Wikipedia editors in a single month were never clicked even once in the following month.

Figure 1: Most links added by humans receive zero clicks.

There is a clear need for an automated system that suggests a manageable "budget" of links that are actually likely to be used, thereby improving the overall navigability of the site.

Methods

The authors propose a two-step framework: Estimation and Optimization.

1. Estimating Clickthrough Rate (CTR)

To find useful missing links, the system must estimate the CTR ($p_{st}$) of a link that doesn't exist yet. They propose four methods using server logs:

  • Search Proportion: How often do users on page $s$ use the search box to go to page $t$?
  • Path Proportion: How often do users navigate from $s$ to $t$ via an indirect path?
  • Path-and-Search: A combination of the above.
  • Random-Walk Model: A way to estimate path proportions using only the pairwise transition matrix (useful when full logs are unavailable due to privacy).

Given a set of candidates, which $K$ links should be added? The authors define the problem as maximizing an objective function $f(A)$ subject to a budget $|A| \le K$. They explore three objective functions:

  • Link-centric ($f_1$): Simply sums the expected clicks.
  • Page-centric ($f_2$): Focuses on the probability of at least one new link being clicked per page.
  • Single-tab ($f_3$): A Markov model where new links compete with existing ones for a single click.

Crucially, $f_2$ and $f_3$ exhibit diminishing returns (submodularity). This prevents the algorithm from "over-optimizing" by putting all $K$ links on a single popular page, instead spreading them across the site where they provide the most marginal value. Because of the independent nature of source pages, a simple greedy algorithm is shown to be globally optimal for this task.

Datasets

  • English Wikipedia: A massive dataset including 3 months of server logs (approx. 3 billion navigation trees per month) and the complete revision history to establish a ground truth of when links were added.
  • Simtk.org: A smaller, specialized website for biomedical researchers. This was used to demonstrate that the method generalizes to different site structures and scales.

Key Insights and Ideas

  • Passive Logs as a Gold Mine: You don't need explicit user feedback to find missing links. Users "vote" for missing links every time they take a detour or use a search box to find a related concept.
  • The Competition for Attention: A key finding is that adding more links to a page does not significantly increase the total number of clicks coming from that page. Instead, links compete for a fixed "attention budget."
  • Structural vs. Navigational Degree: While pages with more links (structural degree) generally see more clicks, the authors proved that this is due to the inherent "interestingness" of the topic, not the links themselves. Adding 100 links to a page only increases the navigational degree (average clicks per visit) by a tiny 0.3%.
Figure 4: Structural degree vs. Navigational degree. Adding links has a minuscule effect on total clicks from a page.

Key Results

  • CTR Prediction: The "Path-and-Search" method was the most accurate, but the Random-Walk model performed surprisingly well, achieving a Spearman correlation of 0.59. This is a win for privacy, as it suggests good results are possible without access to raw, user-identifiable logs.
  • Link Prediction: The system is highly effective at identifying links that editors will eventually add. For the top 2,000 suggestions, the precision was 50%.
  • Real-World Impact: The top 1,000 links suggested by the $f_3$ objective received a total of 95,000 clicks in a single month. This stands in stark contrast to the majority of human-added links that go untouched.
Figure 3: CTR decreases as the source page becomes more "crowded" with existing links.

Limitations and Future Work

  • Content Agnostic: The current model ignores the actual text on the page. Combining these behavioral signals with NLP (e.g., finding appropriate anchor text) would make the system even more practical for editors.
  • The "Scenic Route": The model assumes indirect paths are always "errors" that need a shortcut. However, some users might enjoy exploratory browsing. Distinguishing between "frustrated" detours and "exploratory" ones is an open research question.
  • Cross-Site Linking: The authors suggest extending this to identify useful links between different websites, which could help map the broader web more effectively.

Summary updated

BibTeX
@inproceedings{paranjape2016improving,
  author = {Ashwin Paranjape and Robert West and Leila Zia and Jure Leskovec},
  title = {{Improving Website Hyperlink Structure Using Server Logs}},
  booktitle = {WSDM},
  year = {2016},
  doi = {10.1145/2835776.2835832},
}
Figure