mlsanityData to 14 Oct 2026

Prompt Diffusion Robustifies Any-Modality Prompt Learning

arXiv 2410.20164 ↗First posted 26 Oct 2024cs.LG cs.CVcited by 2

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

  1. 2023Adding Conditional Control to Text-to-Image Diffusion Models10 Feb
  2. 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models20 Dec

Other references · 72

  1. 2017Attention Is All You Needcited by 60,361
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  4. 2020Denoising Diffusion Probabilistic Modelscited by 21,076
  5. 2014Microsoft COCO: Common Objects in Contextcited by 17,608
  6. 2020Denoising Diffusion Implicit Modelscited by 9,781
  7. 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,255
  8. 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,058
  9. 2022Classifier-Free Diffusion Guidancecited by 5,847
  10. 2022Generative Adversarial Networkscited by 5,627
  11. 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,864
  12. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
38 more
  1. 2021Learning to Prompt for Vision-Language Modelscited by 2,281
  2. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,234
  3. 2019ViLBERT: Pretraining Task-Agnostic Visiolinguistic Representations for Vision-and-Language Taskscited by 2,222
  4. 2015Variational Inference with Normalizing Flowscited by 2,170
  5. 2022DPM-Solver: A Fast ODE Solver for Diffusion Probabilistic Model Sampling in Around 10 Stepscited by 1,979
  6. 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,850
  7. 2022Imagen Video: High Definition Video Generation with Diffusion Modelscited by 1,778
  8. 2013Fine-Grained Visual Classification of Aircraftcited by 1,726
  9. 2022Visual Prompt Tuningcited by 1,681
  10. 2021Align before Fuse: Vision and Language Representation Learning with Momentum Distillationcited by 1,619
  11. 2019LXMERT: Learning Cross-Modality Encoder Representations from Transformerscited by 1,553
  12. 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,515
  13. 2017EuroSAT: A Novel Dataset and Deep Learning Benchmark for Land Use and Land Cover Classificationcited by 1,496
  14. 2022Conditional Prompt Learning for Vision-Language Modelscited by 1,433
  15. 2019Natural Adversarial Examplescited by 1,408
  16. 2021ViLT: Vision-and-Language Transformer Without Convolution or Region Supervisioncited by 1,230
  17. 2021CLIP-Adapter: Better Vision-Language Models with Feature Adapterscited by 1,026
  18. 2019Learning Robust Global Representations by Penalizing Local Predictive Powercited by 1,013
  19. 2019How Can We Know What Language Models Know?cited by 959
  20. 2019VL-BERT: Pre-training of Generic Visual-Linguistic Representationscited by 954
  21. 2021Learning to Prompt for Continual Learningcited by 944
  22. 2021Open-vocabulary Object Detection via Vision and Language Knowledge Distillationcited by 906
  23. 2023Vision-Language Models for Vision Tasks: A Surveycited by 839
  24. 2021GPT Understands, Toocited by 716
  25. 2022MaPLe: Multi-modal Prompt Learningcited by 687
  26. 2022Detecting Twenty-thousand Classes using Image-level Supervisioncited by 614
  27. 2021DenseCLIP: Language-Guided Dense Prediction with Context-Aware Promptingcited by 532
  28. 2021Image Segmentation Using Text and Image Promptscited by 512
  29. 2024YOLO-World: Real-Time Open-Vocabulary Object Detectioncited by 503
  30. 2022DiffuSeq: Sequence to Sequence Text Generation with Diffusion Modelscited by 450
  31. 2021Tip-Adapter: Training-free CLIP-Adapter for Better Vision-Language Modelingcited by 431
  32. 2022Prompt-aligned Gradient for Prompt Tuningcited by 341
  33. 2021Prompting Visual-Language Models for Efficient Video Understandingcited by 310
  34. 2022Exploring Visual Prompts for Adapting Large-Scale Modelscited by 274
  35. 2023Self-regulating Prompts: Foundational Model Adaptation without Forgettingcited by 272
  36. 2022Prompt Distribution Learningcited by 235
  37. 2022Open-Vocabulary DETR with Conditional Matchingcited by 220
  38. 2023HyperDiffusion: Generating Implicit Neural Fields with Weight-Space Diffusioncited by 152

50 most cited of 72 All 72 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 1.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2023Prompting Hard or Hardly Prompting: Prompt Inversion for Text-to-Image Diffusion Models
  2. 2025Diff-Prompt: Diffusion-Driven Prompt Generator with Mask Supervision
  3. 2024On Discrete Prompt Optimization for Diffusion Models
  4. 2023Reverse Stable Diffusion: What prompt was used to generate this image?
  5. 2023In-Context Learning Unlocked for Diffusion Models
  6. 2025Steer Away From Mode Collisions: Improving Composition In Diffusion Models
  7. 2025Beyond Words: Augmenting Discriminative Richness via Diffusions in Unsupervised Prompt Learning
  8. 2025Diffusion Models with Adaptive Negative Sampling Without External Resources