用网页链接提升大模型训练效率,长提示下效果更明显
URLs Help, Topics Guide: Understanding Metadata Utility in LLM Training
- 用网址作为辅助输入,加速模型训练过程
- 长提示推理时,网址引导使下游任务表现更好
- 话题和格式信息可控制生成内容,适合需要可控输出的场景
大语言模型通常在无上下文元数据(如来源、质量、主题)的文本语料上预训练,形成上下文无关的学习范式。尽管近期研究发现将网址等元数据作为上下文(非损失计算使用)可提升训练效率和下游性能,但对哪些元数据真正有效及其适用条件仍缺乏理解。本文系统评估发现:仅网址上下文能加速训练,而质量评分与主题/格式领域信息未带来明显收益。此外,网址引导带来的下游性能提升仅在推理时使用较长提示时显现。我们还证明,基于上下文感知的预训练支持更可控的生成,采用无需分类器的引导方式。虽然主题和格式元数据不加速训练,但能有效引导输出,提供人类可解释的生成控制。
原文摘要 · Abstract (English)
Large Language Models (LLMs) are commonly pretrained on vast corpora of text without utilizing contextual metadata such as source, quality, or topic, leading to a context-free learning paradigm. While recent studies suggest that adding metadata like URL information as context (i.e., auxiliary inputs not used in the loss calculation) can improve training efficiency and downstream performance, they offer limited understanding of which types of metadata are truly effective and under what conditions. In this work, we conduct a systematic evaluation and find that not all metadata types contribute equally. Only URL context speeds up training, whereas quality scores and topic/format domain information offer no clear benefit. Furthermore, the improved downstream performances of URL conditioning emerge only when longer prompts are used at inference time. In addition, we demonstrate that context-aware pretraining enables more controllable generation than context-free pretraining, in a classifier-free guidance fashion. Although topic and format metadata do not accelerate training, they are effective for steering outputs, offering human-interpretable control over generation.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。