提出System-2微调方法,让大模型更可靠地吸收新知识并用于后续任务。
$\textit{New News}$: System-2 Fine-tuning for Robust Integration of New Knowledge
- 通过自生成问题和推论数据,将上下文中的新知识内化到模型权重中。
- Self-QA策略显著提升模型对新闻内容的权重学习能力,效果优于传统微调。
- 发现上下文阴影效应:先用上下文训练再用改写数据会破坏学习效果,适合知识更新场景。
人类和智能动物能内化新信息并准确理解其影响以完成下游任务。尽管大语言模型(LLMs)可通过上下文学习(ICL)在信息明确给出时实现这一目标,但通过微调将信息充分融入模型权重仍具挑战性。本文提出New News数据集,包含跨领域的假设性但合理的新闻(如数学、编程、发现、排行榜、事件),并配有依赖于理解新闻的下游评估题。我们首次揭示了朴素微调与上下文学习之间的显著差距(FT-ICL gap)。为缩小该差距,提出一系列自对弈数据生成协议——重述、推论与Self-QA,旨在将模型在上下文处理中获得的知识提炼至权重中,称为System-2微调(Sys2-FT)。我们基于Qwen 2.5系列模型,在多领域和不同规模下系统评估ICL与Sys2-FT性能。结果表明,Self-QA协议显著提升模型对新闻的权重学习能力,同时保持通用能力。此外,发现‘上下文阴影效应’:先在上下文中训练,再用新闻重述或问答数据微调会严重损害知识学习。最后,初步观察到Sys2-FT存在潜在的缩放规律。
原文摘要 · Abstract (English)
Humans and intelligent animals can internalize new information and accurately internalize their implications to perform downstream tasks. While large language models (LLMs) can achieve this through in-context learning (ICL) when the information (news) is explicitly given as context, adequately integrating the information into model weights via fine-tuning remains challenging. In this paper, we introduce New News, a dataset composed of hypothetical yet plausible news spanning multiple domains (mathematics, coding, discoveries, leaderboards, events), accompanied by downstream evaluation questions whose correct answers critically depend on understanding and internalizing the news. First, we demonstrate a substantial gap between naive fine-tuning and in-context learning (FT-ICL gap) on our dataset. To address this gap, we explore a suite of self-play data generation protocols -- paraphrases, implications, and Self-QA -- designed to distill the knowledge processed by the model with context into the weights of the model, which we term System-2 Fine-tuning (Sys2-FT). We systematically evaluate ICL and Sys2-FT performance across data domains and model scales with the Qwen 2.5 family of models. Our results demonstrate that the Self-QA protocol of Sys2-FT significantly improves models' in-weight learning of the news while preserving general capabilities. Furthermore, we discover the contextual shadowing effect, where training with the news in context followed by its rephrases or QAs catastrophically degrades learning of the news. Finally, we show preliminary evidence of an emerging scaling law of Sys2-FT.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。