paper-with-me

홈 › Papers

Attention Prompting on Image for Large Vision-Language Models

2024-09-25 · Runpeng Yu, Weihao Yu, Xinchao Wang

Compared with Large Language Models (LLMs), Large Vision-Language Models (LVLMs) can also accept images as input, thus showcasing more interesting emergent capabilities and demonstrating impressive performance on various vision-language tasks. Motivated by text prompting in LLMs, visual prompting has been explored to enhance LVLMs' capabilities of perceiving visual information. However, previous visual prompting techniques solely process visual inputs without considering text queries, limiting the models' ability to follow text instructions to complete tasks. To fill this gap, in this work, we propose a new prompting technique named Attention Prompting on Image, which just simply overlays a text-query-guided attention heatmap on the original input image and effectively enhances LVLM on various tasks. Specifically, we generate an attention heatmap for the input image dependent on the text query with an auxiliary model like CLIP. Then the heatmap simply multiplies the pixel values of the original image to obtain the actual input image for the LVLM. Extensive experiments on various vison-language benchmarks verify the effectiveness of our technique. For example, Attention Prompting on Image improves LLaVA-1.5 by 3.8% and 2.9% on MM-Vet and LLaVA-Wild benchmarks, respectively.

📄 PDF Abstract BibTeX arXiv:2409.17143

Code (1)

yu-rp/apiprompting 공식 구현 jax

Tasks

MM-VetVisual Prompting

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음
Heatmap 설명 없음
CLIP Contrastive Language-Image Pre-training (CLIP), consisting of a simplified version of ConVIRT trained from scratch, is an efficient method of image representation learning…

Similar Papers 제목 키워드 기반

The Role of Background Information in Reducing Object Hallucination in Vision-Language Models: Insights from Cutoff API Prompting

2025-02-21 · Masayo Tomita, Katsuhiko Hayashi, Tomoyuki Kaneko

Vision-Language Models (VLMs) occasionally generate outputs that contradict input images, constraining their reliability in real-world applications. While visual prompting is reported to suppress hallucinations by augmen…

HallucinationObjectObject HallucinationVisual Prompting

What does CLIP know about a red circle? Visual prompt engineering for VLMs

2023-04-13 · ICCV 2023 1 · Aleksandar Shtedritski, Christian Rupprecht, Andrea Vedaldi

Large-scale Vision-Language Models, such as CLIP, learn powerful image-text representations that have found numerous applications, from zero-shot classification to text-to-image generation. Despite that, their capabiliti…

Image GenerationPrompt EngineeringText to Image GenerationText-to-Image Generation+2

VLPrompt: Vision-Language Prompting for Panoptic Scene Graph Generation

2023-11-27 · Zijian Zhou, Miaojing Shi, Holger Caesar

Panoptic Scene Graph Generation (PSG) aims at achieving a comprehensive image understanding by simultaneously segmenting objects and predicting relations among objects. However, the long-tail problem among relations lead…

Graph GenerationPanoptic Scene Graph GenerationRelationRelation Prediction+1

Unifying Image Processing as Visual Prompting Question Answering

2023-10-16 · Yihao Liu, Xiangyu Chen, Xianzheng Ma, Xintao Wang 외

Image processing is a fundamental task in computer vision, which aims at enhancing image quality and extracting essential features for subsequent vision applications. Traditionally, task-specific models are developed for…

Image EnhancementImage RestorationIn-Context LearningQuestion Answering+2

Tune-An-Ellipse: CLIP Has Potential to Find What You Want

2024-01-01 · CVPR 2024 1 · Jinheng Xie, Songhe Deng, Bing Li, Haozhe Liu 외

Visual prompting of large vision language models such as CLIP exhibits intriguing zero-shot capabilities. A manually drawn red circle commonly used for highlighting can guide CLIP's attention to the surrounding regio…

ObjectReferring ExpressionReferring Expression ComprehensionVisual Prompting