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

重放预训练数据提高微调

Replaying pre-training data improves fine-tuning

Stanford University(斯坦福大学)

Suhas Kotha, Percy Liang

AI总结:

通过重放预训练数据提升微调效果,提高目标任务性能

摘要:

为了获得针对目标领域(例如数学)的语言模型,当前范式是先在大量通用网络文本上进行预训练,然后在相对有限的目标数据上进行微调。通常,通用数据只在微调过程中混合,以防止对通用领域产生灾难性遗忘。我们意外发现,在微调过程中重放通用数据实际上可以提高对(不相关)目标任务的性能。具体而言,在一个受控的预训练环境中,使用4M目标标记、4B总标记和150M参数模型,通用数据的重放使微调的目标数据效率提高了高达1.87倍,中等训练阶段提高了2.06倍。我们进一步分析了在预训练中引入目标数据的数据调度,并发现当预训练中目标数据较少时,重放效果更佳。我们展示了在实际中重放对微调8B参数模型的成功性,提高了智能网络导航的成功率4.5%,以及巴斯克语问答的准确性2%。

英文摘要:

To obtain a language model for a target domain (e.g. math), the current paradigm is to pre-train on a vast amount of generic web text and then fine-tune on the relatively limited amount of target data. Typically, generic data is only mixed in during fine-tuning to prevent catastrophic forgetting of the generic domain. We surprisingly find that replaying the generic data during fine-tuning can actually improve performance on the (less related) target task. Concretely, in a controlled pre-training environment with 4M target tokens, 4B total tokens, and 150M parameter models, generic replay increases target data efficiency by up to $1.87\times$ for fine-tuning and $2.06\times$ for mid-training. We further analyze data schedules that introduce target data during pre-training and find that replay helps more when there is less target data present in pre-training. We demonstrate the success of replay in practice for fine-tuning 8B parameter models, improving agentic web navigation success by $4.5\%$ and Basque question-answering accuracy by $2\%$.

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

↑