TRANSMISSION // 2611.26809v1
Can language models learn to search before fine-tuning?
Source published
A preprint tests whether adding search demonstrations to pretraining helps language models find and use evidence. Results are promising on knowledge tasks, but limited to specific models, data and evaluations.

Most language models learn to continue text before they learn to use tools. This study asks whether teaching search during that earlier training can make models better at answering knowledge-heavy questions—and whether later fine-tuning can catch up.
A language model may know many facts, but its memory is incomplete and can become outdated. Giving it access to search at answer time can help, provided it knows when and what to search for—and how to use what it finds. Most models are first trained to predict text, with tool use added later. In this preprint, Kaustubh Ponkshe and colleagues ask whether search should be part of pretraining from the start.
Their approach, called Search-Native Pretraining, adds search queries and retrieved passages to ordinary training documents. The researchers used a model to identify places where a search might help predict the document’s continuation, then generated queries and retrieved responses from a local text index. Models trained on these augmented documents learned to produce search calls and condition later text on the retrieved information.
An important detail: the models were trained to predict the original document text and the search queries, but not to reproduce the retrieved passages themselves. The responses served as context. This design aims to teach models how to use evidence without simply teaching them to copy search results.
The team trained models from scratch on Wikipedia and DCLM-Edu, a larger, more varied text corpus, at sizes ranging from roughly 360 million to 3.3 billion parameters. They compared each search-trained model, called QueryLM, with a conventionally pretrained model using approximately matched training compute. The researchers tested factual and multi-step question answering, as well as whether models followed information supplied in retrieved passages. They also fine-tuned models after pretraining, using a less search-focused standard mixture and a separate mixture with a much higher proportion of search demonstrations. Even the standard mixture included some search data and added search traces; it was not search-free.
What the tests found
When allowed to search, QueryLM generally performed better than compute-matched conventional models on the study’s knowledge-intensive question-answering tasks. The advantage appeared across several model sizes and both training corpora. In one comparison highlighted by the authors, a 1.4-billion-parameter QueryLM matched or exceeded a compute-matched 3.3-billion-parameter baseline across the tested knowledge-intensive tasks. That is a result within this study’s setup, not a general rule that smaller models will outperform larger ones.
The researchers also tested how models responded to evidence that supported a correct answer—or deliberately supported a plausible but false one. QueryLM shifted its answers more strongly toward whichever claim the supplied evidence supported. This suggests it was more responsive to retrieved context. It does not mean the model could reliably tell good evidence from misleading evidence: in the counterfactual test, the supplied false evidence was designed to favor the wrong answer.
The advantage did not disappear after fine-tuning. The conventional models improved with search-focused training, but in these experiments did not fully match QueryLM on the knowledge tasks. After the less search-focused standard fine-tuning, QueryLM also retained advantages on those tasks. However, this pattern was not universal across abilities: on closed-book language-understanding and commonsense benchmarks, search pretraining did not provide consistent gains, and some QueryLM results were lower than the baselines.
What remains uncertain
These findings support the idea that pretraining can shape how a model uses tools, not just what facts it stores. But the evidence is bounded. The experiments involve particular datasets, model architectures, search indexes, training recipes and question-answering benchmarks. Performance also depends on the retrieval source: the authors report different results when using their local BM25 indexes versus an external search service. A system with weak or misleading search results may not behave like one tested with more useful evidence.
The study’s comparisons also involve choices that matter, including how search points and queries are generated, which retrieved passages are included, and how answers are scored. Some evaluations use an AI model as a judge. The paper reports confidence intervals for many results, but benchmark scores cannot establish how reliable a deployed system would be across unfamiliar topics or changing real-world information. Search use also adds preparation, training and inference costs; the authors investigate ways to reduce the added data and computation, with some loss of performance.
Finally, this is an arXiv preprint: a public research paper that, in the supplied source, is not identified as peer reviewed. Its results should be read as evidence from one set of experiments, not settled proof that search-native pretraining is best for every model or application. The authors say training artifacts are available, which could help others check and extend the work. The central question for follow-up research is whether these benefits hold with different models, search systems and tasks—and whether models can use evidence carefully when the evidence itself is unreliable.
- language models
- AI pretraining
- search tools
- retrieval-augmented generation
- QueryLM
- evidence grounding
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.
A financial AI benchmark separates good answers from well-supported facts
Source published
Shared keywords: evidence grounding
GraphRail checks the evidence behind search agents’ reasoning
Source published
Shared keywords: evidence grounding
V-STORM tests whether video AI can connect the evidence it finds
Source published
Shared keywords: evidence grounding
When an AI agent remembers more—but has it learned?
Source published
Shared keywords: evidence grounding
AI’s Algorithmic Efficiency Gains Depend on How Much Compute You Have
Source published
Shared keywords: language models