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

ControlMLLM:面向多模态大语言模型的免训练视觉提示学习

ControlMLLM: Training-Free Visual Prompt Learning for Multimodal Large Language Models

Xiamen University(厦门大学);National University of Singapore(新加坡国立大学);CATL(宁德时代新能源科技股份有限公司)

Mingrui Wu, Xinyue Cai, Jiayi Ji, Jiale Li, Oucheng Huang, Gen Luo, Hao Fei, Guannan Jiang, Xiaoshuai Sun, Rongrong Ji

AI总结:

本文提出 ControlMLLM,通过测试时基于能量函数优化潜在变量来调整视觉 token 与注意力,无需训练即可让 MLLM 支持多种区域指称、描述与推理。

摘要:

在本工作中,我们提出一种免训练方法,通过在测试时优化一个可学习的潜在变量,将视觉提示注入多模态大语言模型(MLLMs)。我们观察到,注意力作为 MLLMs 的核心模块,连接文本提示 token 与视觉 token,并最终决定最终结果。我们的方法包括在测试时调整来自 MLP 输出的视觉 token,控制注意力响应,以确保文本提示 token 关注指称区域中的视觉 token。我们基于能量函数优化一个可学习的潜在变量,增强注意力图中指称区域的强度。这使得模型无需大量训练成本或重新训练模型,即可进行详细的区域描述和推理。我们的方法为将指称能力集成到 MLLMs 中提供了一个有前景的方向,并支持使用框、掩码、涂鸦和点进行指称。结果表明,我们的方法表现出域外泛化能力和可解释性。

英文摘要:

In this work, we propose a training-free method to inject visual prompts into Multimodal Large Language Models (MLLMs) through test-time optimization of a learnable latent variable. We observe that attention, as the core module of MLLMs, connects text prompt tokens and visual tokens, ultimately determining the final results. Our approach involves adjusting visual tokens from the MLP output at test time, controlling the attention response to ensure text prompt tokens attend to visual tokens in referring regions. We optimize a learnable latent variable based on an energy function, enhancing the strength of referring regions in the attention map. This enables detailed region description and reasoning without the need for substantial training costs or model retraining. Our method offers a promising direction for integrating referring abilities into MLLMs, and supports referring with box, mask, scribble and point. The results demonstrate that our method exhibits out-of-domain generalization and interpretability.

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

↑