为什么 LLaVA 视觉-语言模型会用英语回复图像?
Why do LLaVA Vision-Language Models Reply to Images in English?
AI总结:
本文研究 LLaVA 风格 VLM 因图像输入而偏向英语回复的问题,通过设计消融与内部表征机制分析定位到语言建模组件,并证明双语主干和注意力层干预可缓解偏见。
摘要:
我们揭示了一类流行的多模态视觉-语言模型(VLM)中出现的一种令人惊讶的多语言偏见。在对 LLaVA 风格 VLM 的查询中加入图像,会显著提高模型返回英语回复的可能性,而无论查询使用何种语言。本文通过一种双管齐下的方法调查这一语言能力丧失的原因,该方法结合了对设计空间的广泛消融实验,以及对模型内部图像和文本输入表征的机制分析。两种方法都表明,该问题源于 LLaVA 模型的语言建模组件。在统计层面,我们发现将语言主干更换为双语语言模型,对减少这一错误具有最强效果。在机制层面,我们提供了有力证据,表明视觉输入并未被映射到与文本输入相似的空间,而对中间注意力层进行干预可以减轻这种偏见。我们的发现为寻求理解多模态空间与多语言空间交叉问题的研究人员和工程师提供了重要洞见,并有助于实现为非英语环境开发强大且具包容性的 VLM 的目标。
英文摘要:
We uncover a surprising multilingual bias occurring in a popular class of multimodal vision-language models (VLMs). Including an image in the query to a LLaVA-style VLM significantly increases the likelihood of the model returning an English response, regardless of the language of the query. This paper investigates the causes of this loss with a two-pronged approach that combines extensive ablation of the design space with a mechanistic analysis of the models' internal representations of image and text inputs. Both approaches indicate that the issue stems in the language modelling component of the LLaVA model. Statistically, we find that switching the language backbone for a bilingual language model has the strongest effect on reducing this error. Mechanistically, we provide compelling evidence that visual inputs are not mapped to a similar space as text ones, and that intervening on intermediary attention layers can reduce this bias. Our findings provide important insights to researchers and engineers seeking to understand the crossover between multimodal and multilingual spaces, and contribute to the goal of developing capable and inclusive VLMs for non-English contexts.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。