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

基于低秩混合专家的视觉语言模型终身知识编辑

Lifelong Knowledge Editing for Vision Language Models with Low-Rank Mixture-of-Experts

East China Normal University(华东师范大学);Alibaba Cloud Computing(阿里云);Alibaba Group(阿里巴巴集团);Exacity Inc.(Exacity公司);Hefei University of Technology(合肥工业大学)

Qizhou Chen, Chengyu Wang, Dakan Wang, Taolin Zhang, Wangyue Li, Xiaofeng He

AI总结:

针对视觉语言模型难以持续知识编辑的问题,本文提出 LiveEdit,通过低秩编辑专家生成、视觉硬过滤与文本语义软路由实现终身编辑,并构建基准验证其优势。

摘要:

模型编辑旨在纠正不准确的知识、更新过时信息,并在无需重新训练的情况下将新数据纳入大型语言模型(LLM)。在现实应用需要持续应用编辑的终身场景中,这项任务面临挑战。尽管一些编辑器在纯 LLM 的终身编辑中表现出较强鲁棒性,但视觉 LLM(VLLM)额外纳入了视觉模态,无法直接适配现有 LLM 编辑器。本文提出 LiveEdit,一种终身视觉语言模型编辑方法,以弥合终身 LLM 编辑与 VLLM 之间的差距。我们首先训练一个编辑专家生成器,为每个编辑实例独立生成低秩专家,目标是纠正 VLLM 的相关响应。随后,我们设计了硬过滤机制来利用视觉语义知识,从而在编辑后模型的推理阶段针对输入查询粗略剔除与视觉无关的专家。最后,为整合与视觉相关的专家,我们引入基于文本语义相关性的软路由机制,以实现多专家融合。在评估方面,我们构建了一个终身 VLLM 编辑基准。大量实验表明,LiveEdit 在终身 VLLM 编辑场景中具有显著优势。进一步实验验证了 LiveEdit 中各模块设计的合理性与有效性。

英文摘要:

Model editing aims to correct inaccurate knowledge, update outdated information, and incorporate new data into Large Language Models (LLMs) without the need for retraining. This task poses challenges in lifelong scenarios where edits must be continuously applied for real-world applications. While some editors demonstrate strong robustness for lifelong editing in pure LLMs, Vision LLMs (VLLMs), which incorporate an additional vision modality, are not directly adaptable to existing LLM editors. In this paper, we propose LiveEdit, a LIfelong Vision language modEl Edit to bridge the gap between lifelong LLM editing and VLLMs. We begin by training an editing expert generator to independently produce low-rank experts for each editing instance, with the goal of correcting the relevant responses of the VLLM. A hard filtering mechanism is developed to utilize visual semantic knowledge, thereby coarsely eliminating visually irrelevant experts for input queries during the inference stage of the post-edited model. Finally, to integrate visually relevant experts, we introduce a soft routing mechanism based on textual semantic relevance to achieve multi-expert fusion. For evaluation, we establish a benchmark for lifelong VLLM editing. Extensive experiments demonstrate that LiveEdit offers significant advantages in lifelong VLLM editing scenarios. Further experiments validate the rationality and effectiveness of each module design in LiveEdit.

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

↑