paper-with-me

홈 › Papers

SA$^2$VP: Spatially Aligned-and-Adapted Visual Prompt

2023-12-16 · Wenjie Pei, Tongqi Xia, Fanglin Chen, Jinsong Li, Jiandong Tian, Guangming Lu

As a prominent parameter-efficient fine-tuning technique in NLP, prompt tuning is being explored its potential in computer vision. Typical methods for visual prompt tuning follow the sequential modeling paradigm stemming from NLP, which represents an input image as a flattened sequence of token embeddings and then learns a set of unordered parameterized tokens prefixed to the sequence representation as the visual prompts for task adaptation of large vision models. While such sequential modeling paradigm of visual prompt has shown great promise, there are two potential limitations. First, the learned visual prompts cannot model the underlying spatial relations in the input image, which is crucial for image encoding. Second, since all prompt tokens play the same role of prompting for all image tokens without distinction, it lacks the fine-grained prompting capability, i.e., individual prompting for different image tokens. In this work, we propose the \mymodel model (\emph{SA$^2$VP}), which learns a two-dimensional prompt token map with equal (or scaled) size to the image token map, thereby being able to spatially align with the image map. Each prompt token is designated to prompt knowledge only for the spatially corresponding image tokens. As a result, our model can conduct individual prompting for different image tokens in a fine-grained manner. Moreover, benefiting from the capability of preserving the spatial structure by the learned prompt token map, our \emph{SA$^2$VP} is able to model the spatial relations in the input image, leading to more effective prompting. Extensive experiments on three challenging benchmarks for image classification demonstrate the superiority of our model over other state-of-the-art methods for visual prompt tuning. Code is available at \emph{https://github.com/tommy-xq/SA2VP}.

📄 PDF Abstract BibTeX arXiv:2312.10376

Code (1)

tommy-xq/sa2vp 공식 구현 pytorch

Tasks

image-classificationImage Classificationparameter-efficient fine-tuningVisual Prompt Tuning

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically
ALIGN In the ALIGN method, visual and language representations are jointly trained from noisy image alt-text data. The image and text encoders are learned via contrastive loss…

Similar Papers 제목 키워드 기반

Video Enriched Retrieval Augmented Generation Using Aligned Video Captions

2024-05-27 · Kevin Dela Rosa

In this work, we propose the use of "aligned visual captions" as a mechanism for integrating information contained within videos into retrieval augmented generation (RAG) based chat assistant systems. These captions are …

Language ModelingLanguage ModellingLarge Language ModelRAG+2

Customized SAM 2 for Referring Remote Sensing Image Segmentation

2025-03-10 · Fu Rong, Meng Lan, Qian Zhang, Lefei Zhang

Referring Remote Sensing Image Segmentation (RRSIS) aims to segment target objects in remote sensing (RS) images based on textual descriptions. Although Segment Anything Model 2 (SAM 2) has shown remarkable performance i…

Image SegmentationSegmentationSemantic Segmentation

Spatially Prompted Visual Trajectory Prediction for Egocentric Manipulation

2026-05-19 · Yifan Li, Xinyu Zhou, Yunhao Ge, Yu Kong arxiv

Robotic manipulation is often specified through language instructions or task identifiers, yet cluttered environments with similar objects are better handled by spatially indicating what to move and where to place it. Ad…

Trajectory Prediction

UniVL: Unified Vision-Language Embedding for Spatially Grounded Contextual Image Generation

2026-05-20 · Jiayun Wang, Yu Wang, Weijie Gan, Zhenting Wang 외 arxiv

We introduce spatially grounded contextual image generation, a controllable image generation task that reframes the conditioning paradigm. Instead of supplying a reference image and a global text prompt through two separ…

Image Generation

Enhancing Prompt Following with Visual Control Through Training-Free Mask-Guided Diffusion

2024-04-23 · Hongyu Chen, Yiqi Gao, Min Zhou, Peng Wang 외

Recently, integrating visual controls into text-to-image~(T2I) models, such as ControlNet method, has received significant attention for finer control capabilities. While various training-free methods make efforts to enh…

AttributeObject