自持续语言模型:从上下文持续整合知识
Self-Consolidating Language Models: Continual Knowledge Incorporation from Context
AI总结:
本文提出自持续语言模型(SCoL),通过在训练后框架中利用上下文生成更新指令,实现持续知识整合,优于多种基线方法。
摘要:
大型语言模型(LLMs)越来越多地接收信息作为段落、对话和长上下文工作流的流。虽然更长的上下文窗口暴露了更多的证据,但并不能保证有用信息被保留和重用。我们研究持续上下文整合:在模型权重中写入当前上下文,同时限制对之前整合信息的干扰。我们提出了自持续语言模型(SCoL),一种训练后框架,其中给定当前上下文,LLM学习生成文本更新指令,指定其自身Transformer层中哪些应更新。因为承诺的更新会改变后来生成未来选择的模型,我们通过元强化学习训练SCoL,以不断演变的模型状态为对象。我们用监督QA奖励在SQuAD知识整合和基于内在似然的奖励在LongBench v2长上下文整合上实例化SCoL。在两种设置中,SCoL在获取和保留方面优于提示、摘要、批量测试时间训练和顺序微调基线。对学习选择模式的分析显示,SCoL促使LLM生成稀疏更新位置,这些位置与高Fisher信息层对齐,表明模型学会将可塑性路由到损失敏感区域,同时限制干扰。此外,SCoL从较短的元训练流转移到更长的LongBench v2流进行评估,表明我们的框架支持可扩展的流整合。
英文摘要:
Large language models (LLMs) increasingly receive information as streams of passages, conversations, and long-context workflows. While longer context windows expose more evidence, they do not ensure that useful information is preserved and reused. We study continual context consolidation: writing current context into model weights while limiting interference with previously consolidated information. We propose \textbf{S}elf-\textbf{Co}nsolidating \textbf{L}anguage Models (SCoL), a post-training framework in which, given current context, an LLM learns to generate textual update instructions specifying which of its own Transformer layers should be updated. Because committed updates change the model that later generates future selections, we train SCoL with meta-reinforcement learning over an evolving model state. We instantiate SCoL with supervised QA rewards on SQuAD knowledge incorporation and intrinsic likelihood-based rewards for LongBench v2 long-context consolidation. Across both settings, SCoL improves acquisition and retention over prompting, summarization, batch test-time training, and sequential finetuning baselines. Analysis of learned selection patterns shows that SCoL encourages the LLM to generate sparse update locations that align with layers of high Fisher information, suggesting that the model learns to route plasticity toward loss-sensitive regions while limiting interference. Moreover, SCoL transfers from shorter meta-training streams to longer LongBench v2 streams at evaluation, suggesting that our framework supports scalable streaming consolidation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。