Neural Prioritisation for Web Crawling

Francesca Pezzuti, Sean MacAvaney, Nicola TonellottoarXiv 2025 · DOI

TL;DR

Modern search engines use Large Language Models (LLMs) to understand conversational queries, but the web crawlers feeding them still rely on outdated keyword and link-based metrics. This paper introduces neural crawling policies that use query-agnostic LLMs to prioritize web pages based on semantic quality. This shift yields massive efficiency gains, achieving up to a 1.6× speedup in discovering relevant content for natural language queries without sacrificing traditional keyword search performance.

What Problem Does This Paper Address?

Search behavior has fundamentally shifted. Thanks to conversational AI and voice search, users increasingly submit complex, natural language questions rather than simple keyword strings. While modern search engines use sophisticated neural rankers to handle these queries, the web crawlers responsible for building the document indices are lagging behind.

Traditional crawlers prioritize the "frontier" (the queue of URLs to visit) using graph centrality (like PageRank), popularity metrics (like click-through rates), or basic keyword matching. These heuristics ignore text semantics, meaning crawlers often miss high-quality, semantically rich pages early in the crawl. Furthermore, methods like PageRank require resource-intensive global graph computations ($O(n^2)$ time complexity) and perform poorly on the partial web graphs available during an active crawl.

Methods

The authors propose embedding semantic understanding directly into the crawling process using a query-independent neural quality estimator (specifically, a lightweight QT5-Small model). Because a crawler cannot read a page's content before downloading it, the authors leverage a quality propagation strategy: they assume that high-quality pages tend to link to other high-quality pages.

When the crawler downloads a page, the LLM scores its plaintext quality. This score is then used to prioritize its outgoing links via two novel practical policies:

  • QFirst: Outlinks are inserted into the frontier with a priority equal to the parent page's quality score. This priority is never updated.
  • QMin: If an outlink is already in the frontier, its priority is updated to the minimum of its current priority and the new parent page's score. This aggressively deprioritizes pages associated with low-quality neighborhoods.

These are compared against a standard Breadth-First Search (BFS) baseline and a theoretical QOracle (which knows a page's true quality before downloading it).

Datasets

  • Web Corpus: The English subset of ClueWeb22-B (CW22B-eng), consisting of approximately 29 million head web pages crawled sequentially from 100,000 seed URLs.
  • Query Sets:
  • MS MARCO Web Search (MSM-WS): Represents traditional, short, keyword-based search queries.
  • Researchy Questions (RQ): Represents modern, multi-perspective, natural language questions.
Figure 1: Random sample of 5 queries from MSM-WS and 5 queries from RQ.

Key Insights and Ideas

  • Guilt by Association Works: The QMin policy proved exceptionally powerful for natural language search. Because neural quality estimators are highly accurate at identifying low-quality content, penalizing URLs linked to by low-quality pages successfully prevents the crawler from falling into "rabbit holes" of web spam.
  • Query-Agnostic Scaling: Because the neural quality estimator evaluates pages independently of any specific search query or global corpus graph, its time complexity scales linearly ($O(n)$). Inference can be parallelized across machines or executed during network latency gaps, making it highly practical for production systems.
  • Exploration vs. Exploitation: While QMin is greedy and favors exploitation, the simpler QFirst policy relies on noisier initial estimates. This introduces an element of exploration, allowing the crawler to discover deeply buried valuable pages that might only be reachable through lower-quality local minima.

Key Results

The neural crawling policies demonstrated massive improvements during the early stages of crawling, particularly for natural language queries:

  • Natural Language Queries (RQ): Compared to BFS, the neural policies improved the Harvest Rate (the ratio of relevant pages crawled) by up to +149% and potential search effectiveness (maxNDCG) by up to +152%.
  • Downstream Search Impact: When evaluating a standard BM25 + MonoELECTRA retrieval pipeline, the neural crawlers boosted final search relevance (nDCG@10) by up to +139% for natural language questions.
  • Efficiency Gains: On the RQ dataset, QMin achieved a 1.6× mean speedup over BFS. To collect the same number of relevant pages, a traditional BFS crawler would need to download and store roughly 60% more pages.
  • Keyword Robustness: For traditional keyword queries (MSM-WS), the neural policies remained competitive with or slightly outperformed BFS, proving they do not degrade traditional search performance.
Figure 2: Assessment of neural crawling policies and BFS in terms of Harvest Rate. MSM-WS (left) and RQ (right). Statistically significant differences w.r.t. BFS are denoted with filled circles (𝑝= 0.01).

Limitations and Future Work

  • Simulated Environment: The experiments relied on a single-threaded, sequential simulation. Real-world crawlers are highly distributed and multi-threaded, meaning they must balance these semantic priorities against strict politeness constraints, DNS resolution times, and host-level bottlenecks.
  • Adversarial Vulnerability: The paper does not explore how robust these neural policies are against adversarial SEO manipulation (e.g., spam pages specifically engineered to trick an LLM quality estimator).
  • Model Bias: LLM estimators may introduce systematic biases toward certain types of content or language styles, which could inadvertently homogenize the crawled web index.

Summary updated

BibTeX
@misc{pezzuti2025neural,
  author = {Francesca Pezzuti and Sean MacAvaney and Nicola Tonellotto},
  title = {{Neural Prioritisation for Web Crawling}},
  year = {2025},
  eprint = {2506.16146},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.16146},
}
Figure