Implicit Priors Editing in Stable Diffusion via Targeted Token Adjustment
On the map: Diffusion models → Image generation, text-to-image and editing
Abstract (arXiv)
Implicit assumptions and priors are often necessary in text-to-image generation tasks, especially when textual prompts lack sufficient context. However, these assumptions can sometimes reflect outdated concepts, inaccuracies, or societal bias embedded in the training data. We present Embedding-only Editing (Embedit), a method designed to efficiently adjust implict assumptions and priors in the model without affecting its interpretation of unrelated objects or overall performance. Given a "source" prompt (e.g., "rose") that elicits an implicit assumption (e.g., rose is red) and a "destination" prompt that specifies the desired attribute (e.g., "blue rose"), Embedit fine-tunes only the word token embedding (WTE) of the target object ("rose") to optimize the last hidden state of text encoder in Stable Diffusion, a SOTA text-to-image model. This targeted adjustment prevents unintended effects on other objects in the model's knowledge base, as the WTEs for unrelated objects and the model weights remain unchanged. Consequently, when a prompt does not contain the edited object, all representations, and the model outputs are identical to those of the original, unedited model. Our method is highly efficient, modifying only 768 parameters for Stable Diffusion 1.4 and 2048 for XL in a single edit, matching the WTE dimension of each respective model. This minimal scope, combined with rapid execution, makes Embedit highly practical for real-world applications. Additionally, changes are easily reversible by restoring the original WTE layers. Our experimental results demonstrate that Embedit consistently outperforms previous methods across various models, tasks, and editing scenarios (both single and sequential multiple edits), achieving at least a 6.01% improvement (from 87.17% to 93.18%).
Key facts. Cited by 1 paper 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 46 of its 58 references that are in the map. First posted on arXiv 4 Dec 2024.
Builds on
46 of 58 references.
Closest ancestors · 6
Same direction, newest first
- 2024Editing Massive Concepts in Text-to-Image Diffusion Models20 Mar
- 2023Localizing and Editing Knowledge in Text-to-Image Generative Models20 Oct
- 2023Diverse Diffusion: Enhancing Image Diversity in Text-to-Image Generation19 Oct
- 2023Editing Implicit Assumptions in Text-to-Image Diffusion Models14 Mar
- 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding23 May
- 2022Hierarchical Text-Conditional Image Generation with CLIP Latents13 Apr
Other references · 40
- 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
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,005
- 2022Locating and Editing Factual Associations in GPTcited by 2,609
- 2021CLIPScore: A Reference-free Evaluation Metric for Image Captioningcited by 2,388
- 2016Man is to Computer Programmer as Woman is to Homemaker? Debiasing Word Embeddingscited by 1,304
- 2022Mass-Editing Memory in a Transformercited by 976
- 2020Language (Technology) is Power: A Critical Survey of "Bias" in NLPcited by 951
- 2023Bias and Fairness in Large Language Models: A Surveycited by 626
- 2021Fast Model Editing at Scalecited by 491
28 more
- 2018What you can cram into a single vector: Probing sentence embeddings for linguistic propertiescited by 452
- 2019On Measuring Social Biases in Sentence Encoderscited by 397
- 2023Unified Concept Editing in Diffusion Modelscited by 377
- 2021Persistent Anti-Muslim Bias in Large Language Modelscited by 376
- 2024MACE: Mass Concept Erasure in Diffusion Modelscited by 298
- 2013Direct and Indirect Effectscited by 276
- 2022Aging with GRACE: Lifelong Model Editing with Discrete Key-Value Adaptorscited by 267
- 2022Easily Accessible Text-to-Image Generation Amplifies Demographic Stereotypes at Large Scalecited by 262
- 2019Gender Bias in Contextualized Word Embeddingscited by 203
- 2023"Kelly is a Warm Person, Joseph is a Role Model": Gender Biases in LLM-Generated Reference Letterscited by 196
- 2024Do Large Language Models Latently Perform Multi-Hop Reasoning?cited by 165
- 2019Do NLP Models Know Numbers? Probing Numeracy in Embeddingscited by 157
- 2021Mitigating Political Bias in Language Models Through Reinforced Calibrationcited by 73
- 2022Theories of "Gender" in NLP Bias Researchcited by 62
- 2023Massive Editing for Large Language Models via Meta Learningcited by 62
- 2022Perturbation Augmentation for Fairer NLPcited by 51
- 2023Nationality Bias in Text Generationcited by 50
- 2024What's in a Name? Auditing Large Language Models for Race and Gender Biascited by 50
- 2023ReFACT: Updating Text-to-Image Models by Editing the Text Encodercited by 32
- 2023Probing Explicit and Implicit Gender Bias through LLM Conditional Text Generationcited by 31
- 2018What are the biases in my word embedding?cited by 30
- 2023A Friendly Face: Do Text-to-Image Systems Rely on Stereotypes when the Input is Under-Specified?cited by 25
- 2019LINSPECTOR: Multilingual Probing Tasks for Word Representationscited by 22
- 2022Deep Learning on a Healthy Data Diet: Finding Important Examples for Fairnesscited by 21
- 2022Gender Biases and Where to Find Them: Exploring Gender Bias in Pre-Trained Transformer-based Language Models Using Movement Pruningcited by 20
- 2024Ask LLMs Directly, "What shapes your bias?": Measuring Social Bias in Large Language Modelscited by 14
- 2024Analyzing Quality, Bias, and Performance in Text-to-Image Generative Modelscited by 9
- 2020How to Probe Sentence Embeddings in Low-Resource Languages: On Structural Design Choices for Probing Task Evaluationcited by 7
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2024Text Embedding is Not All You Need: Attention Control for Text-to-Image Semantic Alignment with Text Self-Attention Maps
- 2024Prompt-Softbox-Prompt: A Free-Text Embedding Control for Image Editing
- 2023Learning to Follow Object-Centric Image Editing Instructions Faithfully
- 2024Contrastive Prompts Improve Disentanglement in Text-to-Image Diffusion Models
- 2023Prompt Tuning Inversion for Text-Driven Image Editing Using Diffusion Models
- 2025Instructing Text-to-Image Diffusion Models via Classifier-Guided Semantic Optimization
- 2024Magnet: We Never Know How Text-to-Image Diffusion Models Work, Until We Learn How Vision-Language Models Function
- 2025EDITOR: Effective and Interpretable Prompt Inversion for Text-to-Image Diffusion Models