Diff-Prompt: Diffusion-Driven Prompt Generator with Mask Supervision

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Yan, Weicai, Lin, Wang, Guo, Zirun, Wang, Ye, Feng, Fangming, Yang, Xiaoda, Wang, Zehan, Jin, Tao
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866915267323363328
author Yan, Weicai
Lin, Wang
Guo, Zirun
Wang, Ye
Feng, Fangming
Yang, Xiaoda
Wang, Zehan
Jin, Tao
author_facet Yan, Weicai
Lin, Wang
Guo, Zirun
Wang, Ye
Feng, Fangming
Yang, Xiaoda
Wang, Zehan
Jin, Tao
contents Prompt learning has demonstrated promising results in fine-tuning pre-trained multimodal models. However, the performance improvement is limited when applied to more complex and fine-grained tasks. The reason is that most existing methods directly optimize the parameters involved in the prompt generation process through loss backpropagation, which constrains the richness and specificity of the prompt representations. In this paper, we propose Diffusion-Driven Prompt Generator (Diff-Prompt), aiming to use the diffusion model to generate rich and fine-grained prompt information for complex downstream tasks. Specifically, our approach consists of three stages. In the first stage, we train a Mask-VAE to compress the masks into latent space. In the second stage, we leverage an improved Diffusion Transformer (DiT) to train a prompt generator in the latent space, using the masks for supervision. In the third stage, we align the denoising process of the prompt generator with the pre-trained model in the semantic space, and use the generated prompts to fine-tune the model. We conduct experiments on a complex pixel-level downstream task, referring expression comprehension, and compare our method with various parameter-efficient fine-tuning approaches. Diff-Prompt achieves a maximum improvement of 8.87 in R@1 and 14.05 in R@5 compared to the foundation model and also outperforms other state-of-the-art methods across multiple metrics. The experimental results validate the effectiveness of our approach and highlight the potential of using generative models for prompt generation. Code is available at https://github.com/Kelvin-ywc/diff-prompt.
format Preprint
id arxiv_https___arxiv_org_abs_2504_21423
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Diff-Prompt: Diffusion-Driven Prompt Generator with Mask Supervision
Yan, Weicai
Lin, Wang
Guo, Zirun
Wang, Ye
Feng, Fangming
Yang, Xiaoda
Wang, Zehan
Jin, Tao
Computer Vision and Pattern Recognition
Prompt learning has demonstrated promising results in fine-tuning pre-trained multimodal models. However, the performance improvement is limited when applied to more complex and fine-grained tasks. The reason is that most existing methods directly optimize the parameters involved in the prompt generation process through loss backpropagation, which constrains the richness and specificity of the prompt representations. In this paper, we propose Diffusion-Driven Prompt Generator (Diff-Prompt), aiming to use the diffusion model to generate rich and fine-grained prompt information for complex downstream tasks. Specifically, our approach consists of three stages. In the first stage, we train a Mask-VAE to compress the masks into latent space. In the second stage, we leverage an improved Diffusion Transformer (DiT) to train a prompt generator in the latent space, using the masks for supervision. In the third stage, we align the denoising process of the prompt generator with the pre-trained model in the semantic space, and use the generated prompts to fine-tune the model. We conduct experiments on a complex pixel-level downstream task, referring expression comprehension, and compare our method with various parameter-efficient fine-tuning approaches. Diff-Prompt achieves a maximum improvement of 8.87 in R@1 and 14.05 in R@5 compared to the foundation model and also outperforms other state-of-the-art methods across multiple metrics. The experimental results validate the effectiveness of our approach and highlight the potential of using generative models for prompt generation. Code is available at https://github.com/Kelvin-ywc/diff-prompt.
title Diff-Prompt: Diffusion-Driven Prompt Generator with Mask Supervision
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2504.21423