arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.09916cs.CVcs.CL
收藏

归因分析遇上模型编辑:利用VisEdit推进视觉语言模型中的知识校正

Attribution Analysis Meets Model Editing: Advancing Knowledge Correction in Vision Language Models with VisEdit

East China Normal University(华东师范大学);Alibaba Group(阿里巴巴集团);Alibaba Cloud Computing(阿里云计算);Exacity Inc.(Exacity公司)

Qizhou Chen, Taolin Zhang, Chengyu Wang, Xiaofeng He, Dakan Wang, Tingting Liu

AI总结:

本文提出VisEdit,一种针对视觉语言模型的模型编辑器,通过归因分析识别与提示相关的中间视觉表示,并编辑这些表示以有效纠正知识,实验证明其优于现有LLM编辑器改编的基线。

摘要:

模型编辑旨在无需昂贵重训练的情况下纠正大型模型中的过时或错误知识。近期研究发现,提示中主题最终标记的中间层表示对事实预测有强烈影响,并基于此观察开发了大型语言模型(LLM)编辑技术。然而,对于视觉-LLM(VLLM),视觉表示如何影响仅解码器语言模型的预测在很大程度上仍未探索。据我们所知,VLLM的模型编辑在文献中尚未被广泛研究。在这项工作中,我们采用贡献分配和噪声扰动方法来衡量视觉表示对标记预测的贡献。我们的归因分析表明,与提示高度相关的中间至后层中的视觉表示对预测有显著贡献。基于这些见解,我们提出了VisEdit,一种新颖的VLLM模型编辑器,通过编辑与编辑提示重要区域相关的中间视觉表示来有效纠正知识。我们使用多种VLLM骨干网络和公开的VLLM编辑基准数据集评估了VisEdit。结果表明,VisEdit优于从现有最先进的LLM编辑器改编而来的强基线。

英文摘要:

Model editing aims to correct outdated or erroneous knowledge in large models without costly retraining. Recent research discovered that the mid-layer representation of the subject's final token in a prompt has a strong influence on factual predictions, and developed Large Language Model (LLM) editing techniques based on this observation. However, for Vision-LLMs (VLLMs), how visual representations impact the predictions from a decoder-only language model remains largely unexplored. To the best of our knowledge, model editing for VLLMs has not been extensively studied in the literature. In this work, we employ the contribution allocation and noise perturbation methods to measure the contributions of visual representations for token predictions. Our attribution analysis shows that visual representations in mid-to-later layers that are highly relevant to the prompt contribute significantly to predictions. Based on these insights, we propose VisEdit, a novel model editor for VLLMs that effectively corrects knowledge by editing intermediate visual representations in regions important to the edit prompt. We evaluated VisEdit using multiple VLLM backbones and public VLLM editing benchmark datasets. The results show the superiority of VisEdit over the strong baselines adapted from existing state-of-the-art editors for LLMs.

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

↑