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

分析微调表示偏移以引导多模态LLMs

Analyzing Finetuning Representation Shift for Multimodal LLMs Steering

ISIR, Sorbonne Université(ISIR,索邦大学)

Pegah Khayatan, Mustafa Shukor, Jayneel Parekh, Arnaud Dapogny, Matthieu Cord

AI总结:

本文提出一种无需训练的框架,通过将MLLM隐藏状态映射为可解释概念并利用偏移向量捕捉微调引发的概念变化,揭示模型动态偏移与潜在偏差,从而实现模型去偏与安全控制。

摘要:

多模态LLMs(MLLMs)在理解多模态输入方面已达到卓越水平。然而,理解和解释此类复杂模型的行为是一项挑战,更不用说微调期间可能发生的动态偏移,或数据集间的协变量偏移。在这项工作中,我们应用概念级分析来理解MLLM。具体而言,我们提出将隐藏状态映射到可解释的视觉和文本概念。这使我们能更高效地比较特定语义动态,如原始模型与微调模型间的偏移,揭示微调期间发生的概念改变和潜在偏差。我们还展示了使用偏移向量来捕捉这些概念变化。这些偏移向量允许我们在原始模型中应用简单、计算成本低的加性概念偏移来恢复微调后的概念。最后,我们的发现也直接应用于MLLM引导,可用于模型去偏以及在MLLM输出中强制执行安全性。总而言之,我们提出了一个新颖的、无需训练、即插即用的MLLM行为可解释性与控制框架。我们的实现已公开。

英文摘要:

Multimodal LLMs (MLLMs) have reached remarkable levels of proficiency in understanding multimodal inputs. However, understanding and interpreting the behavior of such complex models is a challenging task, not to mention the dynamic shifts that may occur during fine-tuning, or due to covariate shift between datasets. In this work, we apply concept-level analysis towards MLLM understanding. More specifically, we propose to map hidden states to interpretable visual and textual concepts. This enables us to more efficiently compare certain semantic dynamics, such as the shift from an original and fine-tuned model, revealing concept alteration and potential biases that may occur during fine-tuning. We also demonstrate the use of shift vectors to capture these concepts changes. These shift vectors allow us to recover fine-tuned concepts by applying simple, computationally inexpensive additive concept shifts in the original model. Finally, our findings also have direct applications for MLLM steering, which can be used for model debiasing as well as enforcing safety in MLLM output. All in all, we propose a novel, training-free, ready-to-use framework for MLLM behavior interpretability and control. Our implementation is publicly available.

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

↑