Manuscript Offprint

arXiv:2610.35256

Octen-WebGR: Scaling Generative Retrieval to 200 Million Web Pages

Guangwei Xu, Wenkai Zhang, Yawen Liu, Dongxu Zhang, Xijie Xu, Kuan Zou

Abstract

Navigational search aims to identify a single target page from hundreds of millions of web pages. Existing approaches face a fundamental trade-off: click tables perform well for queries seen before but cannot generalise to new query formulations, while embedding-based retrievers can generalise across content but often struggle to rank navigational targets accurately. To address this challenge, we introduce Octen-WebGR, a generative retrieval framework that stores web page representations directly in the parameters of a language model. Given a query, the model generates a compact two-token semantic identifier that is constrained to a table of real URLs, enabling direct retrieval of a specific web page. We develop Octen-WebGR-4B, which indexes 201 million web pages, and evaluate it on real-world navigational search traffic from the month following training. Our results show that generative retrieval is particularly effective at handling new ways of expressing requests for familiar pages. For unseen queries targeting pages with substantial historical interaction data, Octen-WebGR ranks the correct page first 30.9% of the time, compared with 17.2% for a dense retriever trained on the same click data (21.4% with a click prior). Conversely, embedding-based methods retain an advantage on rarely visited pages, highlighting the complementary strengths of query-side generalisation in generative retrieval and page-side generalisation in embedding retrieval. Across overall navigational traffic, Octen-WebGR achieves a top-1 accuracy of 59.6%, substantially outperforming a click-enhanced dense retriever (46.5%) and frontier large language models answering from memory (up to 37.5%), which cost at least 40 times as much per query. Beyond effectiveness, Octen-WebGR is practical at web scale. The 4B-parameter model operates with a single GPU and 10 GB of memory, compared with 412 GB required for exact dense retrieval. Scaling experiments with up to 32 million URLs show that, when every query-page pair is seen equally often, the model size needed grows sublinearly with index size, and that retrieval performance is constrained more by page exposure than model capacity. We release both Octen-WebGR-4B and Octen-WebGR-0.6B, together with their identifier tables and inference code, to support further research on web-scale generative retrieval.

Figure

price per million queries (USD, log scale; LLM prices are lower bounds)

Figure 1: Accuracy against price. Navigational hit@1 on September traffic, the share of navigational traffic whose target page a system ranks first, against the price of answering one million queries. Self-hosted systems are priced at $3 per H200 GPU-hour of measured compute, leaving out the 412 GB index that exact dense search keeps in memory. LLMs answer from memory at API list prices, a lower bound, and are scored on a 5,000-query sample, on which Octen-WebGR-4B reaches 59.8%. Details in Tables 12 and 13.

1 Introduction

Many web searches name a destination rather than ask a question. A user who types “nyt connections” wants one particular page, the puzzle at nytimes.com/games/connections, and the search engine serves the query well only if it puts that page first. Broder (2002) called such queries navigational; they were a fifth to a quarter of the queries he analysed. He set them apart from informational queries, which ask for content on a topic, and from transactional queries, which seek a service such as a purchase or a download. Since a service is reached through a page, we count a transactional query as navigational whenever its clicks concentrate on one page (Section 3.1). Navigational search is thus the task of finding one page among the hundreds of millions that a search engine can return, and of ranking it first.

Search engines answer such queries with a click table or a dense retriever, and each covers only part of the traffic. A click table returns the page that past users clicked for the same query, so it has no answer for a query it has never seen; in the traffic we study, a third of navigational clicks come from such queries (Section 6.1). A dense retriever answers any query by comparing its embedding with those of the pages (Section 2), but similarity is not what navigation asks for. For almost a third of navigational traffic, dense retrieval has the target among its first ten results but ranks another URL above it, often another page of the same site (Section 6.3). Large language models (LLMs) asked for the URL from memory are neither accurate nor cheap enough (Section 6.6), and they can name URLs that do not exist (Ziems et al., 2023; Rao et al., 2026).

Generative retrieval (GR) takes a different route (Metzler et al., 2021; Tay et al., 2022): a language model is trained to write the identifier of the page a query leads to, so that the model itself is the index. Navigation suits this design. Each navigational query has one right answer, the answers come from a fixed list of URLs, and past clicks show which page each query led to. From these examples a model can learn which of many similar pages users want, and its output can be restricted to URLs that exist.

GR has not yet been shown to work at web scale, however. It has reached the 8.8M passages of MS MARCO, and going beyond was called “an important and unsolved challenge” (Pradeep et al., 2023). Larger corpora have remained difficult (Zhang et al., 2023; Tang et al., 2024), and recent studies of how GR scales and where it fails still work at that scale or below (Cai et al., 2025; Li et al., 2025; Bracher & Vakulenko, 2026). Generative systems with 100 million to a billion targets exist, but they index videos, products, advertising keywords or whole sites (Chen et al., 2025; Ling et al., 2026; Lian et al., 2019; Tang et al., 2023; Lee et al., 2026), not individual web pages. Web pages raise three problems at once. Every one of hundreds of millions of pages needs a short identifier that names it and no other page (Section 4.1). The model must learn about a billion query–URL pairs of very uneven popularity over tens of thousands of training steps, during which pairs learned early can be forgotten (Section 8). And many pages have been reached by only a few queries, so the model has little to learn them from (Section 8.7).

This report presents Octen-WebGR, to our knowledge the first generative retrievers over hundreds of millions of individual web pages. Each URL is named by a two-token semantic identifier: two numbers between 0 and 65,535, assigned so that similar pages tend to share the first and no two URLs share both. The model is trained on query–URL pairs from a proprietary click dataset to generate the identifier of the clicked page, and a table maps a generated identifier back to its URL. We train on clicks up to August 2026 and evaluate forward in time, on navigational traffic recorded in September. We release two models with their identifier tables and inference code: Octen-WebGR-4B, Qwen3-4B-Base fine-tuned to index 201,231,792 URLs, and Octen-WebGR-0.6B, Qwen3-0.6B-Base fine-tuned to index 31.3M of them (every homepage and the most-clicked other pages). Both run on a single GPU, and the smaller one also on one CPU socket (Section 10.2).

We measure accuracy mainly by hit@1, the share of navigational traffic whose target a system ranks first. Our main findings are three.

  1. GR is the most accurate system we measured, and it holds up as the number of URLs grows. Octen-WebGR-4B ranks the target first for 59.6% of navigational traffic, against 46.5% for a click-enhanced dense retriever and at most 37.5% for frontier LLMs (Sections 6.3 and 6.6). Going from 2 million to 201 million URLs costs it 4.7 points of hit@1 and dense retrieval 22.2 (Section 7.1).

  2. GR generalises to new ways of asking for pages it knows; embeddings generalise to pages with little click history. On new queries for pages with many training queries, GR ranks the target first for 30.9%, against 17.2% for a dense retriever trained on the same click data and 21.4% with a click prior. On rarely clicked pages the order reverses: the two are complementary (Sections 6.3 to 6.5).

  3. GR is limited by exposure, not by capacity. Up to 32 million URLs, what a model retains of a pair depends on how often, and how late in training, it saw the pair, not on how many other pairs it holds (Section 8). Scaling GR is therefore as much a matter of scheduling training as of model size.

Section 2 introduces the preliminaries and Sections 3 to 5 describe the task, the data and the system. Sections 6 to 8 report our experiments: how Octen-WebGR compares with other systems, how it scales and what limits it. Section 9 draws the consequences for larger universes, and Sections 10 to 12 cover the release, related work and limitations.

References (100)

Couldn't load all references. Reload the page to try again.