持续学习机制组合用于长时程记忆
研究论文 · 2026/09/16
语言模型可能需要内化随时间到达的信息,并在多次后续更新中保留这些信息。为了研究这一挑战,我们引入了长时程记忆,即模型通过持续监督微调学习100个查询-答案任务,且不保留早期训练样本或在推理时接收任务标识符。顺序更新会导致灾难性遗忘,我们评估的任何单一持续学习机制在此长时程下都无法保持强保留。我们假设,针对互补遗忘来源的机制组合起来会更有效。我们沿两个设计维度组织这些组合。数据、函数和权重锚点指定每次更新应保留哪些先验信息,而低秩分配规则决定后续更新保留在何处。为了系统测试这一假设,我们构建了三个不同的100任务记忆数据集。我们引入任务级逐次减半来搜索组合设计空间,并使用析因实验测量个体和交互效应。我们最佳的方法结合了所有三个锚点与合并LoRA,在所有数据集中排名前3,并将平均最终保留率从朴素顺序微调的1.2%提高到34.9%,提升了28倍。数据锚点和合并LoRA提供了最大的平均增益,并在所有三个数据集上超加性交互。总之,这些结果表明,组合互补机制显著改善了长时程记忆,超越了任何单一机制所能达到的效果。
该研究系统探索了持续学习机制的组合,在长时程记忆任务中实现了28倍的保留率提升,为缓解灾难性遗忘提供了可复用的设计框架和实证结论。
Language models may need to internalize information that arrives over time and retain it through many subsequent updates. To study this challenge, we introduce long-horizon memorization, a setting in which a model learns 100 query-answer tasks through continual supervised fine-tuning without retaining earlier training examples or receiving task identifiers at inference. Sequential updates cause catastrophic forgetting, and no single continual learning mechanism we evaluate maintains strong retention at this horizon. We hypothesize that mechanisms addressing complementary sources of forgetting will be more effective when composed. We organize these compositions along two design dimensions. Data, function, and weight anchors specify what prior information each update should preserve, while low-rank allocation rules determine where successive updates are retained. To test this hypothesis systematically, we construct three distinct 100-task memorization datasets. We introduce task-level successive halving to search the combinatorial design space and use a factorial experiment to measure individual and interaction effects. Our best method combines all three anchors with merged LoRA, ranks among the top 3 methods in all datasets, and raises average final retention from 1.2% under naive sequential fine-tuning to 34.9%, a 28-fold improvement. The data anchor and merged LoRA provide the largest average gains and interact super-additively on all three datasets. Together, these results show that composing complementary mechanisms substantially improves long-horizon memorization beyond what any individual mechanism achieves.