预训练数据的词汇印记

·

研究论文 · 2026/10/28

本文研究预训练语料与基准目标之间的词级对齐在多大程度上决定了零样本基准准确率。作者采用与分词器无关、无需模型的词级一元交叉熵(UCE)来度量参考语料与目标基准之间的词汇对齐。通过控制从零开始的预训练实验(固定训练配方,改变语料身份),覆盖10个零样本基准、4个预训练语料和3种模型规模,发现语料-基准词汇对齐(UCE)始终与每个基准上的零样本准确率相关:对齐度更高(UCE更低)的语料获得更高准确率。该信号从测量延伸到控制:在文档层面,选择与基准词汇对齐最大的训练文档可产生机制预测的准确率提升;在提示层面,将每个提示路由到其领域语料与提示词汇对齐最紧密的草稿模型,相比通用草稿基线可带来可测量的吞吐量增益。综上,预训练语料对基础模型的零样本行为留下可测量的词汇印记,UCE提供了一种无需模型的词汇对齐探测方法。

该研究首次系统量化了预训练语料与基准之间的词汇对齐对零样本性能的影响,提出的UCE指标简单有效,且从测量到控制(文档选择、提示路由)展示了实际应用价值,对理解预训练数据效应和优化数据选择具有启发意义。

How much of zero-shot benchmark accuracy is captured by word-level alignment between a pre-training corpus and the benchmark target? We study this question through word-level unigram cross-entropy (UCE), a tokenizer-agnostic, model-free measure of lexical alignment between a reference corpus and a target benchmark. Likelihood training shapes the model's predictive distribution from the pre-training corpus, and zero-shot scores under likelihood-based evaluation depend in part on the lexical alignment between that corpus and the benchmark target. Cleanly tracing how the lexical imprint of pre-training data scales with corpus--benchmark alignment requires controlled from-scratch pre-training that varies corpus identity while holding the training recipe fixed. Across this controlled sweep, spanning 10 zero-shot benchmarks, 4 pre-training corpora, and 3 model scales, we find that corpus--benchmark lexical alignment, UCE, consistently tracks zero-shot accuracy on every benchmark, with corpora more aligned with the benchmark (lower UCE) achieving higher accuracy. The same signal extends from measurement to control at finer scopes. At the document level, strengthening the imprint by selecting training documents to maximize lexical alignment with the benchmark produces the accuracy gains predicted by the mechanism. At the prompt level, matching the imprint per prompt by routing each prompt to the drafter whose domain corpus is most lexically aligned with it produces measurable throughput gains over a generalist-drafter baseline. Taken together, pre-training corpora leave a measurable lexical imprint on base-model zero-shot behavior, and UCE provides a model-free probe of lexical alignment between reference and target data.

阅读原文

参与讨论