Manipulating Embeddings of Stable Diffusion Prompts
On the map: Diffusion models → Image generation, text-to-image and editing
Abstract (arXiv)
Prompt engineering is still the primary way for users of generative text-to-image models to manipulate generated images in a targeted way. Based on treating the model as a continuous function and by passing gradients between the image space and the prompt embedding space, we propose and analyze a new method to directly manipulate the embedding of a prompt instead of the prompt text. We then derive three practical interaction tools to support users with image generation: (1) Optimization of a metric defined in the image space that measures, for example, the image style. (2) Supporting a user in creative tasks by allowing them to navigate in the image space along a selection of directions of "near" prompt embeddings. (3) Changing the embedding of the prompt to include information that a user has seen in a particular seed but has difficulty describing in the prompt. Compared to prompt engineering, user-driven prompt embedding manipulation enables a more fine-grained, targeted control that integrates a user's intentions. Our user study shows that our methods are considered less tedious and that the resulting images are often preferred.
Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Placed in Image generation, text-to-image and editing, one of 14 directions in Diffusion models. Builds on 31 of its 37 references that are in the map. First posted on arXiv 23 Aug 2023.
Builds on
31 of 37 references.
Closest ancestors · 14
Same direction, newest first
- 2023FABRIC: Personalizing Diffusion Models with Iterative Feedback19 Jul
- 2023Norm-guided latent space exploration for text-to-image generation14 Jun
- 2023StyleDiffusion: Prompt-Embedding Inversion for Text-Based Editing28 Mar
- 2023SVDiff: Compact Parameter Space for Diffusion Fine-Tuning20 Mar
- 2023Adding Conditional Control to Text-to-Image Diffusion Models10 Feb
- 2022The Infinite Index: Information Retrieval on Generative Text-To-Image Models14 Dec
- 2022Investigating Prompt Engineering in Diffusion Models21 Nov
- 2022Null-text Inversion for Editing Real Images using Guided Diffusion Models17 Nov
- 2022eDiff-I: Text-to-Image Diffusion Models with an Ensemble of Expert Denoisers2 Nov
- 2022DiffusionDB: A Large-scale Prompt Gallery Dataset for Text-to-Image Generative Models26 Oct
- 2022DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generation25 Aug
- 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding23 May
2 more
Other references · 17
- 2017Attention Is All You Needcited by 59,932
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,005
- 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,290
- 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,131
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
- 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,409
- 2022An Image is Worth One Word: Personalizing Text-to-Image Generation using Textual Inversioncited by 2,231
- 2023Training Diffusion Models with Reinforcement Learningcited by 939
- 2021GPT Understands, Toocited by 715
5 more
- 2023Muse: Text-To-Image Generation via Masked Generative Transformerscited by 640
- 2022RLPrompt: Optimizing Discrete Text Prompts with Reinforcement Learningcited by 361
- 2023Hard Prompts Made Easy: Gradient-Based Discrete Optimization for Prompt Tuning and Discoverycited by 329
- 2022Optimizing Prompts for Text-to-Image Generationcited by 204
- 2022Underspecification in Scene Description-to-Depiction Taskscited by 30
Built on by
Citing papers per year: 2024: 3; 2025: 3; 2026: 2.
8 papers.
- 2024DyMO: Training-Free Diffusion Model Alignment with Dynamic Multi-Objective Schedulingcited by 27
- 2024TexSliders: Diffusion-Based Texture Editing in CLIP Spacecited by 23
- 2024Prompt Refinement with Image Pivot for Text-to-Image Generationcited by 11
- 2025What's Producible May Not Be Reachable: Measuring the Steerability of Generative Modelscited by 5
- 2025Progressive Prompt Detailing for Improved Alignment in Text-to-Image Generative Modelscited by 4
- 2026HyperAlign: Hypernetwork for Efficient Test-Time Alignment of Diffusion Modelscited by 4
- 2025CritiFusion: Semantic Critique and Spectral Alignment for Faithful Text-to-Image Generationcited by 0
- 2026SwiftExplorer: Training-free Diffusion Model Alignment with Swift Diversity Explorationcited by 0
- 2026SwiftExplorer: Training-free Diffusion Model Alignment with Swift Diversity Exploration6 Sep 2026
- 2026HyperAlign: Hypernetwork for Efficient Test-Time Alignment of Diffusion Models22 Jan 2026
- 2025CritiFusion: Semantic Critique and Spectral Alignment for Faithful Text-to-Image Generation27 Dec 2025
- 2025Progressive Prompt Detailing for Improved Alignment in Text-to-Image Generative Models22 Mar 2025
- 2025What's Producible May Not Be Reachable: Measuring the Steerability of Generative Models21 Mar 2025
- 2024DyMO: Training-Free Diffusion Model Alignment with Dynamic Multi-Objective Scheduling1 Dec 2024
- 2024Prompt Refinement with Image Pivot for Text-to-Image Generation28 Jun 2024
- 2024TexSliders: Diffusion-Based Texture Editing in CLIP Space1 May 2024
Similar, not cited
Close in wording, no citation either way
- 2024PromptCharm: Text-to-Image Generation through Multi-modal Prompting and Refinement
- 2023Prompting Hard or Hardly Prompting: Prompt Inversion for Text-to-Image Diffusion Models
- 2023User-friendly Image Editing with Minimal Text Input: Leveraging Captioning and Injection Techniques
- 2024Prompt-Softbox-Prompt: A Free-Text Embedding Control for Image Editing
- 2025PromptEnhancer: A Simple Approach to Enhance Text-to-Image Models via Chain-of-Thought Prompt Rewriting
- 2023ProSpect: Prompt Spectrum for Attribute-Aware Personalization of Diffusion Models
- 2023Prompt-Free Diffusion: Taking "Text" out of Text-to-Image Diffusion Models
- 2026Text-to-Image Models Need Less from Text Encoders Than You Think