arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2410.22330cs.CVcs.CLcs.LG
收藏

视觉-语言模型创建跨模态任务表示

Vision-Language Models Create Cross-Modal Task Representations

University of California, Berkeley, USA(加州大学伯克利分校)

Grace Luo, Trevor Darrell, Amir Bar

AI总结:

本文发现视觉-语言模型将跨模态等价输入对齐到共享任务向量,并通过跨模态迁移实验证明该压缩向量优于完整提示,且可从指令导出并在模型间迁移。

摘要:

自回归视觉-语言模型(VLMs)能够在单一模型中处理许多任务,但支撑这种能力的表示仍然不透明。我们发现,VLMs 将概念上等价的输入对齐到一个共享的任务向量中,该向量对模态(文本、图像)和格式(示例、指令)具有不变性,并且可能简化 VLM 的处理过程。我们通过跨模态迁移来测量这种对齐——即在一个模态中导出的任务向量触发另一个模态中正确生成的能力——并在一系列任务和模型架构上进行了验证。尽管任务向量高度压缩,我们发现这一单一向量优于用完整任务信息提示模型,这是该跨模态情形所独有的。此外,我们表明任务向量可以从基础语言模型迁移到其微调后的视觉-语言对应模型,并且它们可以仅从指令中导出,而无需示例。综上所述,我们的发现揭示了 VLMs 如何在内部处理任务信息,以及它们如何将不同模态映射到共同的语义表示中。项目页面:https://vlm-cross-modal-reps.github.io。

英文摘要:

Autoregressive vision-language models (VLMs) can handle many tasks within a single model, yet the representations that enable this capability remain opaque. We find that VLMs align conceptually equivalent inputs into a shared task vector, which is invariant to modality (text, image) and format (examples, instruction), and may simplify VLM processing. We measure this alignment via cross-modal transfer -- the ability of a task vector derived in one modality to trigger the correct generation in another -- on a range of tasks and model architectures. Although the task vector is highly compressed, we find that this single vector outperforms prompting the model with the full task information, unique to this cross-modal case. Furthermore, we show that task vectors can be transferred from a base language model to its fine-tuned vision-language counterpart, and that they can be derived solely from instructions without the need for examples. Taken together, our findings shed light on how VLMs internally process task information, and how they map different modalities into common semantic representations. Project page: https://vlm-cross-modal-reps.github.io.

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

↑