arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.26809cs.CLcs.AIcs.LG
收藏

从一开始搜索:面向语言模型的原生搜索预训练

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

EPFL(洛桑联邦理工学院);University of Toronto(多伦多大学)

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

AI总结:

该研究提出原生搜索预训练方法,通过扩充语料库让语言模型(QueryLM)在预训练阶段掌握搜索能力,14亿参数的QueryLM性能优于或匹配计算量相当的33亿参数基线模型,为开发基础搜索能力提供了实用路径。

摘要:

现代语言模型(LMs)在推理阶段越来越多地结合搜索工具使用,但预训练仍主要聚焦于预测静态文本,搜索能力通常在后续训练阶段引入。我们提出原生搜索预训练,作为从普通文本语料库预训练阶段就教授搜索能力的实用路径。具体而言,我们大规模地用网络搜索查询扩充预训练语料库,并通过本地索引检索网络响应;在该扩充语料库上训练,可让模型生成搜索调用并在语言建模过程中融入检索到的证据。在维基百科、DCLM-Edu语料库及3.6亿至33亿参数规模的实验中,经搜索预训练的模型(QueryLM)在知识密集型任务上表现更优,且对检索证据的可控性更高。关键的是,在对搜索预训练模型和传统预训练模型均进行监督微调后,其优势依然存在,这表明所测试的后续训练流程无法完全恢复预训练阶段开发出的能力。实验中,我们发现14亿参数的QueryLM在所有知识密集型任务上,始终优于或匹配计算量相当的33亿参数基线模型。这些结果确立了搜索预训练是在预训练阶段开发基础搜索能力的实用方法,我们将发布训练产物,包括模型检查点和数据。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑