mlsanityData to 7 Oct 2026

Automated Black-box Prompt Engineering for Personalized Text-to-Image Generation

arXiv 2403.19103 ↗First posted 28 Mar 2024cs.CV cs.AI cs.CLcited by 12

Not on the map. Why?

Abstract (arXiv)

Prompt engineering is an effective but labor-intensive way to control text-to-image (T2I) generative models. Its time-intensive nature and complexity have spurred the development of algorithms for automated prompt generation. However, these methods often struggle with transferability across T2I models, require white-box access to the underlying model, or produce non-intuitive prompts. In this work, we introduce PRISM, an algorithm that automatically produces human-interpretable and transferable prompts that can effectively generate desired concepts given only black-box access to T2I models. Inspired by large language model (LLM) jailbreaking, PRISM leverages the in-context learning ability of LLMs to iteratively refine the candidate prompt distribution built upon the reference images. Our experiments demonstrate the versatility and effectiveness of PRISM in generating accurate prompts for objects, styles, and images across multiple T2I models, including Stable Diffusion, DALL-E, and Midjourney.

Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 48 of its 74 references that are in the map. First posted on arXiv 28 Mar 2024.

Builds on

48 of 74 references.

References · 48

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  4. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  5. 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 8,964
  6. 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,764
  7. 2023BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Modelscited by 6,069
  8. 2023Adding Conditional Control to Text-to-Image Diffusion Modelscited by 5,466
  9. 2016Image-to-Image Translation with Conditional Adversarial Networkscited by 4,510
  10. 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,131
  11. 2022DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generationcited by 3,286
  12. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
36 more
  1. 2021Learning to Prompt for Vision-Language Modelscited by 2,269
  2. 2022An Image is Worth One Word: Personalizing Text-to-Image Generation using Textual Inversioncited by 2,231
  3. 2014Conditional Generative Adversarial Netscited by 2,152
  4. 2021SDEdit: Guided Image Synthesis and Editing with Stochastic Differential Equationscited by 1,903
  5. 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,565
  6. 2023IP-Adapter: Text Compatible Image Prompt Adapter for Text-to-Image Diffusion Modelscited by 1,439
  7. 2022Diffusion Posterior Sampling for General Noisy Inverse Problemscited by 1,375
  8. 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,326
  9. 2022Scaling Autoregressive Models for Content-Rich Text-to-Image Generationcited by 1,287
  10. 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,255
  11. 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,122
  12. 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,020
  13. 2023Large Language Models as Optimizerscited by 830
  14. 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Modelscited by 738
  15. 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 628
  16. 2022When and why vision-language models behave like bags-of-words, and what to do about it?cited by 603
  17. 2022Winoground: Probing Vision and Language Models for Visio-Linguistic Compositionalitycited by 523
  18. 2023SmoothLLM: Defending Large Language Models Against Jailbreaking Attackscited by 434
  19. 2022DiffusionDB: A Large-scale Prompt Gallery Dataset for Text-to-Image Generative Modelscited by 376
  20. 2023InstantBooth: Personalized Text-to-Image Generation without Test-Time Finetuningcited by 343
  21. 2023Hard Prompts Made Easy: Gradient-Based Discrete Optimization for Prompt Tuning and Discoverycited by 329
  22. 2021Do Prompt-Based Models Really Understand the Meaning of their Prompts?cited by 324
  23. 2023FreeDoM: Training-Free Energy-Guided Conditional Diffusion Modelcited by 290
  24. 2020AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated Promptscited by 246
  25. 2023Subject-driven Text-to-Image Generation via Apprenticeship Learningcited by 210
  26. 2022Optimizing Prompts for Text-to-Image Generationcited by 204
  27. 2023Solving Linear Inverse Problems Provably via Posterior Sampling with Latent Diffusion Modelscited by 156
  28. 2023Manifold Preserving Guided Diffusioncited by 153
  29. 2024Improving Text-to-Image Consistency via Automatic Prompt Optimizationcited by 88
  30. 2023Quantifying & Modeling Multimodal Interactions: An Information Decomposition Frameworkcited by 81
  31. 2023Prompting Hard or Hardly Prompting: Prompt Inversion for Text-to-Image Diffusion Modelscited by 40
  32. 2023Idea2Img: Iterative Self-Refinement with GPT-4V(ision) for Automatic Image Design and Generationcited by 38
  33. 2023Language Models as Black-Box Optimizers for Vision-Language Modelscited by 36
  34. 2023Localized Text-to-Image Generation for Free via Cross Attention Controlcited by 27
  35. 2023Language models are weak learnerscited by 21
  36. 2023Understanding prompt engineering may not require rethinking generalizationcited by 10

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 4; 2025: 5; 2026: 3.

12 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026PRISM: Prompt Refinement via Image-grounded Self-rewarding Mechanism for Text-to-Image Generation
  2. 2024PromptCharm: Text-to-Image Generation through Multi-modal Prompting and Refinement
  3. 2025T2I-Copilot: A Training-Free Multi-Agent Text-to-Image System for Enhanced Prompt Interpretation and Interactive Generation
  4. 2023Manipulating Embeddings of Stable Diffusion Prompts
  5. 2024Batch-Instructed Gradient for Prompt Evolution:Systematic Prompt Optimization for Enhanced Text-to-Image Synthesis
  6. 2025Test-time Prompt Refinement for Text-to-Image Models
  7. 2025POET: Preference Optimization for Enhanced Text-to-Image Generation
  8. 2023DreamDistribution: Learning Prompt Distribution for Diverse In-distribution Generation