arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.15677cs.AI
收藏

基于超网络的持续学习中的知识交互:冲突与组合

Knowledge Interaction in Hypernetwork-based Continual Learning: Conflict and Composition

Peking University(北京大学);Norizon AI(诺瑞松人工智能)

Jiaqi Zheng, Yi Hu, Yadong Mu, Muhan Zhang

AI总结:

该研究针对基于超网络的持续学习,分析了知识冲突下模型优先遵循上下文的特性,以及多跳推理中知识组合失效的问题,推导了控制模型知识来源的引导向量。

摘要:

持续学习旨在将预训练的大语言模型(LLMs)适配于不断演变的数据,同时保留其预训练的能力。一个核心挑战是灾难性遗忘:对新数据的适配可能会损害模型在先前学习知识上的性能。由于持续学习通常会改变模型参数,模型的预测可能会利用来自基础模型、参数更新和输入上下文的知识。理解这些来源如何交互至关重要:冲突揭示了新知识是否可以覆盖过时知识,而多跳推理则测试新知识是否可以与现有知识组合以支持泛化。我们在基于超网络的适配框架中研究这些交互,其中共享网络从上下文生成适配器,使冻结的基础模型无需特定任务更新即可进行适配。我们发现,在知识冲突下,模型优先遵循上下文,且它们的选择更多取决于知识的呈现位置而非其内容。我们还表明,上下文和适配器知识会沿与基础模型干净隐藏状态正交的方向扰动其表示,这使我们能够推导控制模型遵循哪个来源的引导向量。在多跳推理中,我们发现模型无法可靠地组合来自三个来源的知识,关键的故障源于超网络与基础模型及上下文的交互。代码和复现材料:this https URL

英文摘要:

Continual learning aims to adapt pretrained large language models (LLMs) to evolving data while preserving their pretrained capabilities. A central challenge is catastrophic forgetting: adaptation to new data can impair performance on previously learned knowledge. Since continual learning commonly changes model parameters, the model's predictions may draw on knowledge from the base model, the parameter update, and the input context. Understanding how these sources interact is essential: conflicts reveal whether new knowledge can override outdated knowledge, while multi-hop reasoning tests whether new knowledge can be composed with existing knowledge to support generalization. We study these interactions in a hypernetwork-based adaptation framework, where a shared network generates adapters from context, allowing a frozen base model to adapt without task-specific updates. We find that, under knowledge conflict, models preferentially follow the context, and their choices depend more on where knowledge is presented than on its content. We also show that context and adapter knowledge perturb the base model's representations along directions orthogonal to its clean hidden states, enabling us to derive steering vectors that control which source the model follows. In multi-hop reasoning, we find that models fail to reliably compose knowledge across the three sources, with the key breakdown arising from the interaction of the hypernetwork with both the base model and the context. Code and reproduction materials: https://github.com/missswiftie/Knowledge-Interaction-in-CL

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

↑