학술논문
ControlMLLM: Training-Free Visual Prompt Learning for Multimodal Large Language Models
Document Type
Working Paper
Author
Source
Subject
Language
Abstract
In this work, we propose a training-free method to inject visual referring into Multimodal Large Language Models (MLLMs) through learnable visual token optimization. We observe the relationship between text prompt tokens and visual tokens in MLLMs, where attention layers model the connection between them. Our approach involves adjusting visual tokens from the MLP output during inference, controlling which text prompt tokens attend to which visual tokens. We optimize a learnable visual token based on an energy function, enhancing the strength of referential 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 referential abilities into MLLMs. Our method support referring with box, mask, scribble and point. The results demonstrate that our method exhibits controllability and interpretability.
Comment: Accepted to NeurIPS 2024; Code:https://github.com/mrwu-mac/ControlMLLM
Comment: Accepted to NeurIPS 2024; Code:https://github.com/mrwu-mac/ControlMLLM