Computer Science > Computer Vision and Pattern Recognition
[Submitted on 31 Jul 2024 (v1), last revised 7 Jan 2025 (this version, v6)]
Title:ControlMLLM: Training-Free Visual Prompt Learning for Multimodal Large Language Models
View PDF HTML (experimental)Abstract: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.
Submission history
From: Mingrui Wu [view email][v1] Wed, 31 Jul 2024 11:40:29 UTC (1,968 KB)
[v2] Sun, 29 Sep 2024 12:12:06 UTC (1,865 KB)
[v3] Mon, 11 Nov 2024 05:12:01 UTC (5,697 KB)
[v4] Wed, 18 Dec 2024 13:12:29 UTC (6,202 KB)
[v5] Mon, 23 Dec 2024 04:03:44 UTC (6,202 KB)
[v6] Tue, 7 Jan 2025 02:54:18 UTC (6,202 KB)
References & Citations
Bibliographic and Citation Tools
Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)
Code, Data and Media Associated with this Article
alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)
Demos
Recommenders and Search Tools
Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.