Prompt Diffusion Robustifies Any-Modality Prompt Learning
On the map: Diffusion models → Image generation, text-to-image and editing
Abstract (arXiv)
Foundation models enable prompt-based classifiers for zero-shot and few-shot learning. Nonetheless, the conventional method of employing fixed prompts suffers from distributional shifts that negatively impact generalizability to unseen samples. This paper introduces prompt diffusion, which uses a diffusion model to gradually refine the prompts to obtain a customized prompt for each sample. Specifically, we first optimize a collection of prompts to obtain over-fitted prompts per sample. Then, we propose a prompt diffusion model within the prompt space, enabling the training of a generative transition process from a random prompt to its overfitted prompt. As we cannot access the label of a test image during inference, our model gradually generates customized prompts solely from random prompts using our trained, prompt diffusion. Our prompt diffusion is generic, flexible, and modality-agnostic, making it a simple plug-and-play module seamlessly embedded into existing prompt learning methods for textual, visual, or multi-modal prompt learning. Our diffusion model uses a fast ODE-based sampling strategy to optimize test sample prompts in just five steps, offering a good trade-off between performance improvement and computational efficiency. For all prompt learning methods tested, adding prompt diffusion yields more robust results for base-to-new generalization, cross-dataset generalization, and domain generalization in classification tasks tested over 15 diverse datasets.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in Image generation, text-to-image and editing, one of 14 directions in Diffusion models. Builds on 74 of its 91 references that are in the map. First posted on arXiv 26 Oct 2024.
Builds on
74 of 91 references.
Closest ancestors · 2
Same direction, newest first
- 2023Adding Conditional Control to Text-to-Image Diffusion Models10 Feb
- 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models20 Dec
Other references · 72
- 2017Attention Is All You Needcited by 60,361
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2020Denoising Diffusion Probabilistic Modelscited by 21,076
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2020Denoising Diffusion Implicit Modelscited by 9,781
- 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,255
- 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,058
- 2022Classifier-Free Diffusion Guidancecited by 5,847
- 2022Generative Adversarial Networkscited by 5,627
- 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,864
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
38 more
- 2021Learning to Prompt for Vision-Language Modelscited by 2,281
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,234
- 2019ViLBERT: Pretraining Task-Agnostic Visiolinguistic Representations for Vision-and-Language Taskscited by 2,222
- 2015Variational Inference with Normalizing Flowscited by 2,170
- 2022DPM-Solver: A Fast ODE Solver for Diffusion Probabilistic Model Sampling in Around 10 Stepscited by 1,979
- 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,850
- 2022Imagen Video: High Definition Video Generation with Diffusion Modelscited by 1,778
- 2013Fine-Grained Visual Classification of Aircraftcited by 1,726
- 2022Visual Prompt Tuningcited by 1,681
- 2021Align before Fuse: Vision and Language Representation Learning with Momentum Distillationcited by 1,619
- 2019LXMERT: Learning Cross-Modality Encoder Representations from Transformerscited by 1,553
- 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,515
- 2017EuroSAT: A Novel Dataset and Deep Learning Benchmark for Land Use and Land Cover Classificationcited by 1,496
- 2022Conditional Prompt Learning for Vision-Language Modelscited by 1,433
- 2019Natural Adversarial Examplescited by 1,408
- 2021ViLT: Vision-and-Language Transformer Without Convolution or Region Supervisioncited by 1,230
- 2021CLIP-Adapter: Better Vision-Language Models with Feature Adapterscited by 1,026
- 2019Learning Robust Global Representations by Penalizing Local Predictive Powercited by 1,013
- 2019How Can We Know What Language Models Know?cited by 959
- 2019VL-BERT: Pre-training of Generic Visual-Linguistic Representationscited by 954
- 2021Learning to Prompt for Continual Learningcited by 944
- 2021Open-vocabulary Object Detection via Vision and Language Knowledge Distillationcited by 906
- 2023Vision-Language Models for Vision Tasks: A Surveycited by 839
- 2021GPT Understands, Toocited by 716
- 2022MaPLe: Multi-modal Prompt Learningcited by 687
- 2022Detecting Twenty-thousand Classes using Image-level Supervisioncited by 614
- 2021DenseCLIP: Language-Guided Dense Prediction with Context-Aware Promptingcited by 532
- 2021Image Segmentation Using Text and Image Promptscited by 512
- 2024YOLO-World: Real-Time Open-Vocabulary Object Detectioncited by 503
- 2022DiffuSeq: Sequence to Sequence Text Generation with Diffusion Modelscited by 450
- 2021Tip-Adapter: Training-free CLIP-Adapter for Better Vision-Language Modelingcited by 431
- 2022Prompt-aligned Gradient for Prompt Tuningcited by 341
- 2021Prompting Visual-Language Models for Efficient Video Understandingcited by 310
- 2022Exploring Visual Prompts for Adapting Large-Scale Modelscited by 274
- 2023Self-regulating Prompts: Foundational Model Adaptation without Forgettingcited by 272
- 2022Prompt Distribution Learningcited by 235
- 2022Open-Vocabulary DETR with Conditional Matchingcited by 220
- 2023HyperDiffusion: Generating Implicit Neural Fields with Weight-Space Diffusioncited by 152
50 most cited of 72 All 72 (JSON)
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2023Prompting Hard or Hardly Prompting: Prompt Inversion for Text-to-Image Diffusion Models
- 2025Diff-Prompt: Diffusion-Driven Prompt Generator with Mask Supervision
- 2024On Discrete Prompt Optimization for Diffusion Models
- 2023Reverse Stable Diffusion: What prompt was used to generate this image?
- 2023In-Context Learning Unlocked for Diffusion Models
- 2025Steer Away From Mode Collisions: Improving Composition In Diffusion Models
- 2025Beyond Words: Augmenting Discriminative Richness via Diffusions in Unsupervised Prompt Learning
- 2025Diffusion Models with Adaptive Negative Sampling Without External Resources