English

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

Computer Vision and Pattern Recognition 2025-01-08 v6

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.

Keywords

Cite

@article{arxiv.2407.21534,
  title  = {ControlMLLM: Training-Free Visual Prompt Learning for Multimodal Large Language Models},
  author = {Mingrui Wu and Xinyue Cai and Jiayi Ji and Jiale Li and Oucheng Huang and Gen Luo and Hao Fei and Guannan Jiang and Xiaoshuai Sun and Rongrong Ji},
  journal= {arXiv preprint arXiv:2407.21534},
  year   = {2025}
}

Comments

Accepted to NeurIPS 2024; Code:https://github.com/mrwu-mac/ControlMLLM

R2 v1 2026-06-28T17:59:14.315Z