Search From the Start: Search-Native Pretraining for Language Models

Kaustubh Ponkshe, Gyung Hyun Je, Stefan Taga, Colin Raffel, Martin Jaggi

EPFL · University of Toronto

Published November 19, 2026 · on the feed November 23, 2026 · ▲ 6 · arXiv 2611.26809

The abstract

Modern language models (LMs) are increasingly deployed with access to search tools at inference. Yet pretraining remains predominantly focused on predicting static text, with search capabilities typically introduced during post-training. We propose Search-Native Pretraining as a practical route to teach search capability during pretraining from ordinary text corpora. Specifically, we augment pretraining corpus at scale with web-search queries and retrieve web response using a local index. Training on this augmented corpus teaches models to generate search calls and incorporate retrieved evidence during language modeling. Across Wikipedia and DCLM-Edu corpora and 360M to 3.3B parameter scales, search-pretrained models ("QueryLM") show improved performance on knowledge-intensive tasks and higher steerability toward the retrieved evidence. Crucially, their advantage persists after supervised fine-tuning of both search-pretrained and conventionally pretrained models, indicating that the tested post-training procedures do not fully recover the capabilities developed during pretraining. Throughout our experiments, we find that a 1.4B QueryLM consistently beats or matches the performance of a FLOP-matched 3.3B baseline model across all knowledge intensive tasks. These results establish search-pretraining as a practical way to develop foundational search capabilities during pretraining. We release the training artifacts, including model checkpoints and data.

The Brief

2:06

A short podcast summary of the paper. Written and voiced by AI.

Transcript

Search From the Start. Search-Native Pretraining for Language Models. By Kaustubh Ponkshe and four others, from EPFL and the University of Toronto. Published on the nineteenth of November.

Language models are increasingly deployed with access to search tools at inference time. Their pretraining, though, is still mostly about predicting static text. The ability to search is usually bolted on afterwards, during post-training. There is a mismatch here: the model spends the whole of pretraining never once seeing what a search call looks like, or how retrieved evidence should feed into what it writes next.

Search-Native Pretraining proposes moving that lesson earlier. Teach search during pretraining itself, and do it from ordinary text corpora, so that no special dataset is required. The model learns to search as part of learning language, rather than as a skill layered on top.

The recipe works on the corpus. At scale, the pretraining text is augmented with web-search queries, and a web response is retrieved for each query from a local index. The model then trains on this augmented corpus. In doing so it learns two things together: to generate search calls, and to incorporate the retrieved evidence while it models language. The resulting search-pretrained models are called QueryLM.

Experiments cover Wikipedia and DCLM-Edu corpora, at scales from three hundred and sixty million parameters up to three point three billion parameters. QueryLM models perform better on knowledge-intensive tasks, and they are more steerable toward the evidence they retrieve.

The key result concerns post-training. After supervised fine-tuning is applied to both the search-pretrained models and conventionally pretrained ones, the advantage persists. The tested post-training procedures, in other words, do not fully recover what was built during pretraining. And across every knowledge-intensive task, a QueryLM of one point four billion parameters consistently beats or matches a FLOP-matched baseline of three point three billion parameters. Model checkpoints and data are released.

The usual story puts tool use at the end of training, as a finishing skill. This work argues the order matters. A capability learned while the foundations are being laid is not something later fine-tuning simply hands back, and a model less than half the size can hold its own because of when it learned to look things up.

More with an account

Listen to every day’s papers

Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.

Join free
KipQuest: the day’s AI research, as podcasts and quests. All papers Android app Privacy Contact Episodes are written and voiced by AI from each paper. Summaries can contain mistakes: the paper is the source.